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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0fc141dcd3d2496735d1e9945fa4224b2cefa1cf0bb5dee0953310e65e930d |
|
MD5 | c5834becec503d45ddc80f161b416430 |
|
BLAKE2b-256 | c87b171088ed0e047732909a7b80cbc2305dc2e5d5a23c6dc3ec9c36b7a73ef5 |
Hashes for pyats_genie_command_parse-1.3.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba231ba7c4aec6161b19c1c25f55eab7f14696146ddd6eb5c9861ad0a4559f89 |
|
MD5 | e1979dea90ce633a86a87231be1840a1 |
|
BLAKE2b-256 | 86d4f4d35d926838107eca3f02cd6c188b1e9451d349a0fc43d334657b075412 |