def delete_router_lport(cluster, lrouter_uuid, lport_uuid):
 path = _build_uri_path(LROUTERPORT_RESOURCE, lport_uuid, lrouter_uuid)
 try:
  do_single_request(HTTP_DELETE, path, cluster=cluster)
 except NvpApiClient.ResourceNotFound as e:
  LOG.error(_('Logical router not found, Error: %s'), str(e))
  raise
 LOG.debug(_('Delete logical router port %(lport_uuid)s on logical router %(lrouter_uuid)s'), {'lport_uuid': lport_uuid, 'lrouter_uuid': lrouter_uuid})

def delete_router_lport ( cluster , lrouter_uuid , lport_uuid ) : path = _build_uri_path ( LROUTERPORT_RESOURCE , lport_uuid , lrouter_uuid ) try : do_single_request ( HTTP_DELETE , path , cluster = cluster ) except NvpApiClient . ResourceNotFound as e : LOG . error ( _ ( 'Logical router not found, Error: %s' ) , str ( e ) ) raise LOG . debug ( _ ( 'Delete logical router port %(lport_uuid)s on logical router %(lrouter_uuid)s' ) , { 'lport_uuid' : lport_uuid , 'lrouter_uuid' : lrouter_uuid } )
creates a logical port on the assigned logical router .