mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
nxos_facts fix and integration tests (#36796)
* fix nxos_facts ipv6 error * time_range not supported for N35
This commit is contained in:
parent
8d49bb6eee
commit
db43fe6a76
4 changed files with 6 additions and 4 deletions
|
@ -409,7 +409,11 @@ class Interfaces(FactsBase):
|
|||
name = item['ROW_intf']['intf-name']
|
||||
intf = self.facts['interfaces'][name]
|
||||
intf['ipv6'] = self.transform_dict(item, self.INTERFACE_IPV6_MAP)
|
||||
self.facts['all_ipv6_addresses'].append(item['ROW_intf']['addr'])
|
||||
try:
|
||||
addr = item['ROW_intf']['addr']
|
||||
except KeyError:
|
||||
addr = item['ROW_intf']['TABLE_addr']['ROW_addr']['addr']
|
||||
self.facts['all_ipv6_addresses'].append(addr)
|
||||
else:
|
||||
return ""
|
||||
except TypeError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue