/ntcsuck

Netdisco macsuck with Ansible & ntc-templates

"ntcsuck"

Ansible playbook proof-of-concept to fetch mac address tables, parse them with ntc-templates/textfsm, and store in Netdisco using the new API from PR netdisco/netdisco#942

How to install & run

python3 -m venv venv
. venv/bin/activate
python3 -m pip install ansible textfsm ansible-pylibssh 
ansible-galaxy collection install ansible.netcommon cisco.ios cisco.nxos
ansible-galaxy role install ansible-network.network-engine
netdisco-do getapikey -e admin > api_key.txt

ansible-playbook  -k -i inventory  -l "192.168.*"  pb.yml