Skip to main content

A pyang plugin to validate Cisco native models

Project description

# A pyang plugin to validate Cisco native YANG models.

This pyang plugin validates Cisco device specific YANG modules per the naming conventions established within Cisco.

` $ pyang --cisco Cisco-IOS-XR-ipv4-acl-cfg.yang /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:14: error: module "Cisco-IOS-XR-types" not found in search path /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:14: warning: imported module Cisco-IOS-XR-types not used /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:16: error: module "Cisco-IOS-XR-ipv4-acl-datatypes" not found in search path /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:18: error: module "Cisco-IOS-XR-ipv4-ace-cfg" not found in search path /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:48: error: RFC 6087: 4.7: statement "revision" must have a "reference" substatement /Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:79: error: grouping "IPV4-ACE" not found in module Cisco-IOS-XR-ipv4-acl-cfg `

Project details


Download files

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

Files for pyang-cisco-plugin, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size pyang-cisco-plugin-0.3.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page