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)