cisco.ios
cisco.ios copied to clipboard
Return VRF data in ios_facts module
SUMMARY
- Create a VRFs model in the returned facts to list the configured VRFs on a device
- Include VRF forwarding in
ios_facts
interfaces model
ISSUE TYPE
- Feature Idea
COMPONENT NAME
ios_facts
ADDITIONAL INFORMATION
In the ios_facts module, it does not currently collect the forwarding vrf of the interfaces. In our environment, we leverage VRF heavily, so we have to gather vrf information from the configuration returned by the module, because it is not available within the JSON interface models.
- name: "GATHER IOS FACTS"
ios_facts:
gather_subset:
- !all
- !min
gather_network_resources:
- interfaces
I have the same issue. Being unable to parse VRF information from ios_facts poses a significant issue for us.
Same, I'm surprised there is no way to interrogate tunnel endpoints or crypto maps.
Also, ios_facts doesn't recognise several interface types it's supposed to, like Loopback
@brandomando VRF resource module is in our roadmap. Once it is available, it should fix this issue.
Any updates on this issue and when vrf info will make it into ios_facts? Screen-scraping is not so nice and ability to glean vrf for a given interface would save tonnes of time
@eyehearttech please follow our roadmap for the required details, https://github.com/ansible/community/wiki/Network:2021-Till-Dec-Roadmap also, the vrf facts would be considered with a resource module for it.