From: Brad Hall Date: Wed, 26 Oct 2011 19:28:37 +0000 (-0700) Subject: Change the ovs plugin create_*() calls to take the kwargs param X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=91b5c06b51ad8d2d1060989e21ec37aa72d18688;p=openstack-build%2Fneutron-build.git Change the ovs plugin create_*() calls to take the kwargs param Change-Id: I16fe3386a172f007573eac2c2de6d23b29a348ad --- diff --git a/quantum/plugins/openvswitch/ovs_quantum_plugin.py b/quantum/plugins/openvswitch/ovs_quantum_plugin.py index 928e16464..f25893e7f 100644 --- a/quantum/plugins/openvswitch/ovs_quantum_plugin.py +++ b/quantum/plugins/openvswitch/ovs_quantum_plugin.py @@ -121,7 +121,7 @@ class OVSQuantumPlugin(QuantumPluginBase): res['net-ports'] = ports return res - def create_network(self, tenant_id, net_name): + def create_network(self, tenant_id, net_name, **kwargs): net = db.network_create(tenant_id, net_name) LOG.debug("Created network: %s" % net) vlan_id = self.vmap.acquire(str(net.uuid)) @@ -165,7 +165,7 @@ class OVSQuantumPlugin(QuantumPluginBase): ids.append(d) return ids - def create_port(self, tenant_id, net_id, port_state=None): + def create_port(self, tenant_id, net_id, port_state=None, **kwargs): LOG.debug("Creating port with network_id: %s" % net_id) port = db.port_create(net_id, port_state) return self._make_port_dict(str(port.uuid), port.state,