Skip to content
Snippets Groups Projects
Commit 61309b61 authored by Saket Agrahari's avatar Saket Agrahari
Browse files

adding comments

parent dfbc6fad
No related branches found
No related tags found
No related merge requests found
...@@ -388,6 +388,7 @@ def get_node_locations(ds: IMS): ...@@ -388,6 +388,7 @@ def get_node_locations(ds: IMS):
pass # no alias - ignore silently pass # no alias - ignore silently
for node in site['nodes']: for node in site['nodes']:
#[LG-46]
if node['inventorystatusid'] != InventoryStatus.IN_SERVICE.value: if node['inventorystatusid'] != InventoryStatus.IN_SERVICE.value:
continue continue
...@@ -464,6 +465,7 @@ def lookup_lg_routers(ds: IMS): ...@@ -464,6 +465,7 @@ def lookup_lg_routers(ds: IMS):
for node in nodes: for node in nodes:
if not _matching_node(node): if not _matching_node(node):
continue continue
# [LG - 46]
if node['inventorystatusid'] != InventoryStatus.IN_SERVICE.value: if node['inventorystatusid'] != InventoryStatus.IN_SERVICE.value:
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment