@require_context
@pick_context_manager_writer
def virtual_interface_delete(context, id):
 _virtual_interface_query(context).filter_by(id=id).soft_delete()

@ require_context @ pick_context_manager_writer def virtual_interface_delete ( context , id ) : _virtual_interface_query ( context ) . filter_by ( id = id ) . soft_delete ( )
delete virtual interface by id .