From ea2569db92300d98fc000293f356acb9a32e6e78 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Tue, 16 May 2017 10:11:52 -0400 Subject: [PATCH] Workaround for unicast RPF check (#24519) --- lib/ansible/modules/network/iosxr/iosxr_facts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/network/iosxr/iosxr_facts.py b/lib/ansible/modules/network/iosxr/iosxr_facts.py index 7e6d625820f..19c4c521d7c 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_facts.py +++ b/lib/ansible/modules/network/iosxr/iosxr_facts.py @@ -239,6 +239,8 @@ class Interfaces(FactsBase): def populate_ipv6_interfaces(self, data): for key, value in iteritems(data): + if key in ['No', 'RPF'] or key.startswith('IP'): + continue self.facts['interfaces'][key]['ipv6'] = list() addresses = re.findall(r'\s+(.+), subnet', value, re.M) subnets = re.findall(r', subnet is (.+)$', value, re.M)