:returns: port dictionary
"""
LOG.debug(_("Get port: %s"), id)
- port = super(N1kvNeutronPluginV2, self).get_port(context, id, fields)
+ port = super(N1kvNeutronPluginV2, self).get_port(context, id, None)
self._extend_port_dict_profile(context, port)
return self._fields(port, fields)
"""
LOG.debug(_("Get ports"))
ports = super(N1kvNeutronPluginV2, self).get_ports(context, filters,
- fields)
+ None)
for port in ports:
self._extend_port_dict_profile(context, port)
"""
LOG.debug(_("Get subnet: %s"), id)
subnet = super(N1kvNeutronPluginV2, self).get_subnet(context, id,
- fields)
+ None)
return self._fields(subnet, fields)
def get_subnets(self, context, filters=None, fields=None):
LOG.debug(_("Get subnets"))
subnets = super(N1kvNeutronPluginV2, self).get_subnets(context,
filters,
- fields)
+ None)
return [self._fields(subnet, fields) for subnet in subnets]
def create_network_profile(self, context, network_profile):