Fixing nxos_facts (#22783)

This commit is contained in:
Gabriele 2017-03-20 06:54:15 -07:00 committed by Peter Sprygada
parent 1799376ab7
commit 8a563047e6

View file

@ -292,11 +292,11 @@ class Interfaces(FactsBase):
data = self.run('show ipv6 inteface', 'json')
if data:
self.parse_ipv6_interfaces(out)
self.parse_ipv6_interfaces(data)
data = self.run('show lldp neighbors')
data = self.run('show lldp neighbors', 'json')
if data:
self.facts['neighbors'] = self.populate_neighbors(out)
self.facts['neighbors'] = self.populate_neighbors(data)
def populate_interfaces(self, data):
interfaces = dict()