Workaround for unicast RPF check (#24519)

pull/21856/merge
Nathaniel Case 8 years ago committed by GitHub
parent d07f18fbb9
commit ea2569db92

@ -239,6 +239,8 @@ class Interfaces(FactsBase):
def populate_ipv6_interfaces(self, data): def populate_ipv6_interfaces(self, data):
for key, value in iteritems(data): for key, value in iteritems(data):
if key in ['No', 'RPF'] or key.startswith('IP'):
continue
self.facts['interfaces'][key]['ipv6'] = list() self.facts['interfaces'][key]['ipv6'] = list()
addresses = re.findall(r'\s+(.+), subnet', value, re.M) addresses = re.findall(r'\s+(.+), subnet', value, re.M)
subnets = re.findall(r', subnet is (.+)$', value, re.M) subnets = re.findall(r', subnet is (.+)$', value, re.M)

Loading…
Cancel
Save