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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623103c32a8c4a47e0f528701ae22fac61f03f74ab62a2090212daa0a1bf9747 |
|
MD5 | 0f23c0f19b77748dd650ea20bda31d8f |
|
BLAKE2b-256 | bf3b1d018dec184f38b0156890024f6184a0b120fe6e8f504c4b50eff4a740f2 |
Hashes for pyats_genie_command_parse-1.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280dd9f23ed11f79cc9322175a5cd4f984ba587c3ea59f1bb57d08211bc2da10 |
|
MD5 | 5c42029245e5c346d5def76bc92202ca |
|
BLAKE2b-256 | b0a561fb408036e28571d6758eb8dd5260f96c73ddd4fb132d0930bd3d2a425a |