mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-29 06:53:04 +00:00
Don't require allowed_address_pairs for port
Port can miss allowed_address_pairs parameter. Story: 2009192 Task: 43246 Resolves: rhbz#2021810 Change-Id: I8fcc19889eaaec6342c8d7910a55f06e98dbd368
This commit is contained in:
@@ -340,11 +340,11 @@ class NetworkPortModule(OpenStackModule):
|
||||
|
||||
for key in compare_list_dict:
|
||||
if not self.params[key]:
|
||||
if port[key]:
|
||||
if port.get(key):
|
||||
return True
|
||||
|
||||
if self.params[key]:
|
||||
if not port[key]:
|
||||
if not port.get(key):
|
||||
return True
|
||||
|
||||
# sort dicts in list
|
||||
|
||||
Reference in New Issue
Block a user