Howdy,
I had a quick question regarding NXOS, is there any way to run a command and have it output numerically only?
Like instead of:
"eth_link_flapped": "5week(s) 1day(s)"
In sh int eth1/45 | json
It would show a normal easily parsed number? For instance the number of seconds since the last time the link flapped?
If not are there any helper libraries for python that you guys have found that can handle these sorts of things before I create one?
Thanks,
-Drew
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
I had a quick question regarding NXOS, is there any way to run a command and have it output numerically only?
Like instead of:
"eth_link_flapped": "5week(s) 1day(s)"
In sh int eth1/45 | json
It would show a normal easily parsed number? For instance the number of seconds since the last time the link flapped?
If not are there any helper libraries for python that you guys have found that can handle these sorts of things before I create one?
Thanks,
-Drew
_______________________________________________
cisco-nsp mailing list cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/