Exemplo n.º 1
0
 def get_port_from_device(device):
     port = ndb.get_port_from_device(device)
     if port:
         port['device'] = device
     LOG.debug(_("NECPluginV2RPCCallbacks.get_port_from_device() called, "
                 "device=%(device)s => %(ret)s."),
               {'device': device, 'ret': port})
     return port
Exemplo n.º 2
0
 def get_port_from_device(device):
     port = ndb.get_port_from_device(device)
     if port:
         port['device'] = device
     LOG.debug(_("NECPluginV2RPCCallbacks.get_port_from_device() called, "
                 "device=%(device)s => %(ret)s."),
               {'device': device, 'ret': port})
     return port
Exemplo n.º 3
0
 def get_port_from_device(device):
     port = ndb.get_port_from_device(device)
     if port:
         port["device"] = device
     LOG.debug(
         _("NECPluginV2RPCCallbacks.get_port_from_device() called, " "device=%(device)s => %(ret)s."),
         {"device": device, "ret": port},
     )
     return port