mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-01 22:09:08 -07: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'
|
'network:ha_router_replicated_interface'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
def _router_internal_interfaces(cloud, router):
|
def _router_internal_interfaces(cloud, router):
|
||||||
for port in cloud.list_router_interfaces(router, 'internal'):
|
for port in cloud.list_router_interfaces(router, 'internal'):
|
||||||
if port['device_owner'] in ROUTER_INTERFACE_OWNERS:
|
if port['device_owner'] in ROUTER_INTERFACE_OWNERS:
|
||||||
yield port
|
yield port
|
||||||
|
|
||||||
|
|
||||||
def _needs_update(cloud, module, router, network, internal_subnet_ids):
|
def _needs_update(cloud, module, router, network, internal_subnet_ids):
|
||||||
"""Decide if the given router needs an update.
|
"""Decide if the given router needs an update.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue