Skip to main content
# A pyang plugin to extract OpenConfig module catalog data from YANG modules

This pyang plugin extracts module metadata from YANG files according to [draft-openconfig-netmod-model-catalog](https://tools.ietf.org/html/draft-openconfig-netmod-model-catalog-01). The output (in JSON or XML) can be fed right back into a NETCONF or RESTCONF server that have the module catalog YANG module (openconfig-module-catalog.yang) loaded.

```
$ pyang -f module-catalog ietf-interfaces\@2014-05-08.yang
{
"module": {
"prefix": "if",
"dependencies": {
"required-module": [
{
"module-revision": "unknown",
"module-name": "ietf-yang-types"
}
]
},
"namespace": "urn:ietf:params:xml:ns:yang:ietf-interfaces",
"name": "ietf-interfaces",
"revision": "2014-05-08"
}
}
```

Metadata

Release files for pyang-module-catalog-plugin 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyang-module-catalog-plugin 0.2
File Size Uploaded
pyang-module-catalog-plugin-0.2.tar.gz 2.5 kB Details

Release files / pyang-module-catalog-plugin-0.2.tar.gz

Download URL pyang-module-catalog-plugin-0.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6c1475cd3f80e863083f6b988476d84b456086d5183104b4f151ca651f6cdccf
BLAKE2b-256 checksum
How to use checksums
bacda6c71b1fc8f8f3b5bdbc87f185afc60572134ee54778b6604de5370b5d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page