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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edac06633174f0fc322f6b21af1844123cfec12b82459c8945c723597a0bd120 |
|
MD5 | 0bd49c4a967e1c8d6e3c7c8f1898ba38 |
|
BLAKE2b-256 | c047f5b23f8707bc126ce8902f4b3caac9e907762efd9598e8a785898f876307 |
Hashes for pyats_genie_command_parse-1.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4763c3b5e95b9879798e31341b881ad15f384e35a4bcb2ee0118be88738199d0 |
|
MD5 | 2101269822cace9ba689a412659c361e |
|
BLAKE2b-256 | a354b97ddf974d77867fab2e64f6bd7f9054d368341ef8f979a90be46e07a271 |