Run genie parsers directly.
Project description
BRANCH | STATUS |
---|---|
master | |
develop |
pyats-genie-command-parse
This is a library to be able to parse NOS command output using the available Genie parsers, it seperates out needing to create a testbed.yml, and allows you to just get the output, and parse the output with Genie parsers. You can find the Genie Parse Source here
Line 55 in pyats_genie_command_parse.py
supported_nos = {'aireos',
'apic',
'asa',
'bigip',
'cheetah',
'comware',
'dnac',
'gaia',
'ios',
'iosxe',
'iosxr',
'ironware',
'junos',
'linux',
'nxos',
'sros',
'viptela'}
Some options to get the data
-
You could use netmiko to get the command output from devices and then parse using the string parser.
-
You could use Cisco Network Services Orchestrator "NSO" to get the command output from devices and then parse using the string parser.
-
Use your imagination, as long as you can get the output data in a string format the string parser will work.
-
If you prefer you could store the data in a text file, and then using the file parser, you can also parse the output data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyats-genie-command-parse-1.3.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67c57d6213c386edd6dcec76e43ecf3cb2140859272670310a76722e9d096f42 |
|
MD5 | 14a8636dc950bdbda857aa6ce1e3e1bc |
|
BLAKE2b-256 | 97415739e6b17ce194977f7c64688dd096096bc60c888c3e30427a7ba958ff46 |
Hashes for pyats_genie_command_parse-1.3.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bc0cf0e2fd3766c3bba9e24d35746515dec9d15d1ea9f0cbf0339875069ea70 |
|
MD5 | a3e9646cdd89eacb29086b3127a8d49a |
|
BLAKE2b-256 | 8b07e34894488eb3bc17814a9bf471e2d4bbcf2d220537c472ac956010626383 |