@classmethod
def create_trunk(cls, port=None, subports=None, client=None, **kwargs):
    """Create network trunk

        :param port: dictionary containing parent port ID (port['id'])
        :param client: client to be used for connecting to networking service
        :param **kwargs: extra parameters to be forwarded to network service

        :returns: dictionary containing created trunk details
        """
    client = client or cls.client
    if port:
        kwargs['port_id'] = port['id']
    trunk = client.create_trunk(subports=subports, **kwargs)['trunk']
    trunk['client'] = client
    cls.trunks.append(trunk)
    return trunk
