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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyats_genie_command_parse-1.4.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.7.tar.gz
Algorithm Hash digest
SHA256 b74417e1ce75495fb102f39c62c4d9e324c183210e87e7aa317f37c8124face6
MD5 df582c507b4dd9d822f39d5d2d7ff0c4
BLAKE2b-256 82c47511159cd1e3dbe7eee992a21df80a390f04d135f878cff960947fb1e2c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyats_genie_command_parse-1.4.7-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cfe60fd600bb49e362b00a06ee46a0d92ca9c633f6fcf412ed1fc4d72951bb8b
MD5 a1edf17eb9ce867aab2d98a5614f081d
BLAKE2b-256 fe38fe41d3d1ad9b8aa66774b7ec6294df66f8999be08ffec8b29f7cdf4ed04a

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