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.2.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cbb72372840d1ed6e147779007cdb43a80645f5d56da5858cf25a4d3cb06a08 |
|
MD5 | cacd9f7090f0ddfc2dc7ac37503cd4fc |
|
BLAKE2b-256 | 84ac6639ecf8c9d5bab870a2674c119746e355c6f04e3f3c40d2b87c67e8926f |
Hashes for pyats_genie_command_parse-1.2.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4e2044ec5ff9ce2443a21d0846a4a75c58fda5e47d90840343e7771a6fdfb3 |
|
MD5 | d9979d8e865cda57bd45a88e026ee8d0 |
|
BLAKE2b-256 | 46562720ced60b5456a221c2475b477a57161b5cec4c5eadee134bf2616d90ff |