mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix PEP 8 issues.
This commit is contained in:
parent
46b80bc18e
commit
15be0e91e8
1 changed files with 2 additions and 0 deletions
|
@ -186,11 +186,13 @@ ROUTER_INTERFACE_OWNERS = set([
|
|||
'network:ha_router_replicated_interface'
|
||||
])
|
||||
|
||||
|
||||
def _router_internal_interfaces(cloud, router):
|
||||
for port in cloud.list_router_interfaces(router, 'internal'):
|
||||
if port['device_owner'] in ROUTER_INTERFACE_OWNERS:
|
||||
yield port
|
||||
|
||||
|
||||
def _needs_update(cloud, module, router, network, internal_subnet_ids):
|
||||
"""Decide if the given router needs an update.
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue