Fix indentation

Minor cleanup. No code changes

Change-Id: Id0fb9dbe60490c8be8ec7b580a72a8ac73770a12
This commit is contained in:
Akash Gangil 2015-11-02 10:19:19 -08:00
parent 58e4471372
commit 6f7015fe2a
3 changed files with 13 additions and 17 deletions

View File

@ -69,10 +69,9 @@ def list_missing_dhcp_bindings(resource, event, trigger, **kwargs):
neutron_db.context.session):
LOG.info(_LI("%s"), "=" * 60)
LOG.info(_LI("For edge: %s"), edge_id)
nsx_dhcp_static_bindings = nsx_get_static_bindings_by_edge(
edge_id)
neutron_dhcp_static_bindings = neutron_get_static_bindings_by_edge(
edge_id)
nsx_dhcp_static_bindings = nsx_get_static_bindings_by_edge(edge_id)
neutron_dhcp_static_bindings = \
neutron_get_static_bindings_by_edge(edge_id)
LOG.info(_LI("# of DHCP bindings in Neutron DB: %s"),
len(neutron_dhcp_static_bindings))
LOG.info(_LI("# of DHCP bindings on NSXv backend: %s"),

View File

@ -40,8 +40,7 @@ def get_nsxv_edges():
def nsx_list_edges(resource, event, trigger, **kwargs):
"""List edges from NSXv backend"""
edges = get_nsxv_edges()
LOG.info(formatters.output_formatter(
constants.EDGES, edges,
LOG.info(formatters.output_formatter(constants.EDGES, edges,
['id']))
@ -54,8 +53,8 @@ def get_router_edge_bindings():
def neutron_list_router_edge_bindings(resource, event, trigger, **kwargs):
"""List NSXv edges from Neutron DB"""
edges = get_router_edge_bindings()
LOG.info(formatters.output_formatter(
constants.EDGES, edges, ['edge_id', 'router_id']))
LOG.info(formatters.output_formatter(constants.EDGES, edges,
['edge_id', 'router_id']))
def get_orphaned_edges():

View File

@ -38,8 +38,7 @@ def get_spoofguard_policies():
def nsx_list_spoofguard_policies(resource, event, trigger, **kwargs):
"""List spoofguard policies from NSXv backend"""
policies = get_spoofguard_policies()
LOG.info(formatters.output_formatter(
constants.SPOOFGUARD_POLICY, policies,
LOG.info(formatters.output_formatter(constants.SPOOFGUARD_POLICY, policies,
['policyId', 'name']))
@ -53,8 +52,7 @@ def get_spoofguard_policy_network_mappings():
def neutron_list_spoofguard_policy_mappings(resource, event, trigger,
**kwargs):
mappings = get_spoofguard_policy_network_mappings()
LOG.info(formatters.output_formatter(
constants.SPOOFGUARD_POLICY, mappings,
LOG.info(formatters.output_formatter(constants.SPOOFGUARD_POLICY, mappings,
['network_id', 'policy_id']))