Fixing nxos_facts (#22783)
This commit is contained in:
parent
1799376ab7
commit
8a563047e6
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue