From 91b5c06b51ad8d2d1060989e21ec37aa72d18688 Mon Sep 17 00:00:00 2001 From: Brad Hall Date: Wed, 26 Oct 2011 12:28:37 -0700 Subject: [PATCH] Change the ovs plugin create_*() calls to take the kwargs param Change-Id: I16fe3386a172f007573eac2c2de6d23b29a348ad --- quantum/plugins/openvswitch/ovs_quantum_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.45.2