update ce_facts (#57187)

pull/55396/merge
xuxiaowei0512 6 years ago committed by Nathaniel Case
parent 9c3ae4c1f4
commit 229d20b6d9

@ -324,7 +324,10 @@ class Interfaces(FactsBase):
tmp_neighbors = neighbors[2:]
for item in tmp_neighbors:
tmp_item = item.split()
if len(tmp_item) > 3:
neighbors_dict[tmp_item[0]] = tmp_item[3]
else:
neighbors_dict[tmp_item[0]] = None
self.facts['neighbors'] = neighbors_dict

Loading…
Cancel
Save