Container that includes YANG Tools: pyang (with xpath plugin) and libyang.
227
This container include YANG tools: pyang and libyang. It can be used to learn and teach YANG.
examples of use:
$ docker run --rm -it -v $(pwd)/.:/app/ martimy/yangtools:latest pyang -f tree pc-components.yang
Or
$ docker run --rm -it -v $(pwd)/.:/app/ martimy/yangtools:latest
/app# pyang -f tree pc-components.yang
module: pc-components
+--rw pc
+--rw cpu
| +--rw brand? string
| +--rw model? string
| +--rw cores? uint16
| +--rw speed? decimal64
+--rw memory
| +--rw size? uint64
| +--rw type? string
| +--rw speed? uint32
+--rw storage
| +--rw type? enumeration
| +--rw capacity? uint64
+--rw peripherals
+--rw device* [name]
+--rw name string
+--rw type? enumeration
/app#
For more information at github
Content type
Image
Digest
sha256:dfb3cff2b…
Size
80 MB
Last updated
over 2 years ago
docker pull martimy/yangtools