This is a command parser for Ansible network-engine.
It issues the Cisco IOS command 'show interfaces' and parses the output.
The file show_interfaces.yml is a playbook using the parser. It can be used as an example and should be self-explanatory.
Inspiration came from this great blog: https://termlen0.github.io/2018/06/26/observations/
Here is an example of how the output might look like:
"TenGigabitEthernet1/1/7": {
"config": {
"bia": "a03d.6f80.0000",
"description": "server 1",
"mac": "a03d.6f80.0000",
"mtu": "1500",
"name": "TenGigabitEthernet1/1/7",
"type": "Ten Gigabit Ethernet Port"
}
},
Licensed under the Apache License Version 2.0
Written by [email protected]
http://www.joubbi.se/monitoring.html
https://github.com/network-automation/cisco_ios_command_parsers