A port with the same name as the bridge is implicitly created for every
bridge, but it doesn't show in in `ovs-vsctl list-ports BRIDGE`.
pull/18777/head
David Stygstra 8 years ago committed by Matt Clay
parent 7d8d830aee
commit 5454c562e9

@ -159,7 +159,7 @@ class OVSPort(object):
if rtc != 0:
self.module.fail_json(msg=err)
return any(port.rstrip() == self.port for port in out.split('\n'))
return any(port.rstrip() == self.port for port in out.split('\n')) or self.port == self.bridge
def set(self, set_opt):
""" Set attributes on a port. """

Loading…
Cancel
Save