@require_context
def virtual_interface_get_by_uuid(context, vif_uuid):
 vif_ref = _virtual_interface_query(context).filter_by(uuid=vif_uuid).first()
 return vif_ref

@ require_context def virtual_interface_get_by_uuid ( context , vif_uuid ) : vif_ref = _virtual_interface_query ( context ) . filter_by ( uuid = vif_uuid ) . first ( ) return vif_ref
gets a virtual interface from the table filtering on vif uuid .