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
File details
Details for the file pyats_genie_command_parse-1.3.11.tar.gz
.
File metadata
- Download URL: pyats_genie_command_parse-1.3.11.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053df0ba1d5b4519f065f54b3453e3aa6b5f180739038686770f6ddec8adf365 |
|
MD5 | 08d8620a1863bea56f4bd85f599ca4df |
|
BLAKE2b-256 | 7e4a895241142ffebf113ceb7e37ea1d05cae41ed1e71e33168e4114177fe773 |
File details
Details for the file pyats_genie_command_parse-1.3.11-py2.py3-none-any.whl
.
File metadata
- Download URL: pyats_genie_command_parse-1.3.11-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37fcde807b89967a24d843aefb7581e403617f99186ea5b5d1763f62c2953ee7 |
|
MD5 | 240d32d6ee1c65a25d9356acef5349db |
|
BLAKE2b-256 | 8ebd0042d53a3d98eb56c22f801f1b7cb35487d66734ee6046b87c826515dfc2 |