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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyats_genie_command_parse-1.4.6-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyats_genie_command_parse-1.4.6.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyats_genie_command_parse-1.4.6.tar.gz
Algorithm Hash digest
SHA256 f22e9d109361906b777174279a745c8da8e1a8178b6cb32a6d676d54367c1153
MD5 c21e28c7c83376ed5c052d11081adef0
BLAKE2b-256 9522d6de1bf88318a2b29c38b41fc800b80cc5c56e49ea2c89e07cbfd6ff1b2c

See more details on using hashes here.

File details

Details for the file pyats_genie_command_parse-1.4.6-py3-none-any.whl.

File metadata

  • Download URL: pyats_genie_command_parse-1.4.6-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyats_genie_command_parse-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d71601e43bd604eb84842accb17fbb2f275642a43d40b8f99f3f5658ef99ffac
MD5 2e1a0047249c6473257e71122f7c6e5c
BLAKE2b-256 bb4bbb105854b8b24c92de61c69e39e32ce045370aedc8384902a32fc5905805

See more details on using hashes here.

Supported by

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