Lines Matching refs:bridge
68 add it as a port of OVS bridge.
128 network=None, bridge=None, namespace=None, prefix=None,
136 if bridge is None:
137 bridge = self.conf.ovs_integration_bridge
139 # check if bridge exists
140 ovs = ovs_lib.OVSBridge(bridge)
141 if not ovs.bridge_exists(bridge):
142 raise exceptions.BridgeDoesNotExist(bridge=bridge)
155 # For integration bridge the ovs agent will take care of
157 if bridge != self.conf.ovs_integration_bridge:
159 # need to determine the bridge mapping
164 bridge, err)
215 def unplug(self, datalink_name, bridge=None, namespace=None, prefix=None):
225 if bridge is None:
226 bridge = self.conf.ovs_integration_bridge
228 # check if bridge exists
229 ovs = ovs_lib.OVSBridge(bridge)
230 if not ovs.bridge_exists(bridge):
231 raise exceptions.BridgeDoesNotExist(bridge=bridge)