Skip to main content

Run genie parsers directly.

Project description

BRANCH STATUS
master Unit-Testing, Coverage, Linting
develop Unit-Testing, Coverage, Linting

Downloads Supported Versions

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

  1. You could use netmiko to get the command output from devices and then parse using the string parser.

  2. You could use Cisco Network Services Orchestrator "NSO" to get the command output from devices and then parse using the string parser.

  3. Use your imagination, as long as you can get the output data in a string format the string parser will work.

  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyats-genie-command-parse-1.3.10.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

pyats_genie_command_parse-1.3.10-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page