mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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`.
This commit is contained in:
parent
7d8d830aee
commit
5454c562e9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue