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.8.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.8-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyats_genie_command_parse-1.4.8.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.8.tar.gz
Algorithm Hash digest
SHA256 914a1647df418669c52648903c65d2353faf2b3ed4a6231e912367660c777061
MD5 2acff23154046ad063ab315963a6fc76
BLAKE2b-256 3b3410bc500cbf31857296d621b5db775737e5ef15d4ff4bc5af45a2d78c6056

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyats_genie_command_parse-1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 752c95079a521e4e3f999a8d5fe0d7d7a7cb5d468536fe5ae5efc30e5ea4de91
MD5 2780fbf6251deb9c0f7a9f06981915db
BLAKE2b-256 d8ed9801899827ffed393c2c2e571090a0ac8cf252cfe8c752fdef255c86fe81

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