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.11.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

pyats_genie_command_parse-1.3.11-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyats_genie_command_parse-1.3.11.tar.gz.

File metadata

File hashes

Hashes for pyats_genie_command_parse-1.3.11.tar.gz
Algorithm Hash digest
SHA256 053df0ba1d5b4519f065f54b3453e3aa6b5f180739038686770f6ddec8adf365
MD5 08d8620a1863bea56f4bd85f599ca4df
BLAKE2b-256 7e4a895241142ffebf113ceb7e37ea1d05cae41ed1e71e33168e4114177fe773

See more details on using hashes here.

File details

Details for the file pyats_genie_command_parse-1.3.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pyats_genie_command_parse-1.3.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 37fcde807b89967a24d843aefb7581e403617f99186ea5b5d1763f62c2953ee7
MD5 240d32d6ee1c65a25d9356acef5349db
BLAKE2b-256 8ebd0042d53a3d98eb56c22f801f1b7cb35487d66734ee6046b87c826515dfc2

See more details on using hashes here.

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