def trunk_by_port_provider(resource, port_id, context, **kwargs):
 return trunk_objects.Trunk.get_object(context, port_id=port_id)

def trunk_by_port_provider ( resource , port_id , context , ** kwargs ) : return trunk_objects . Trunk . get_object ( context , port_id = port_id )
provider callback to supply trunk information by parent port .