Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ e: ietf-system-from-csv.sid
ietf-sid-file.yangtree: ietf-sid-file.yang
pyang ${PYANGPATH} -f tree --tree-print-structures --tree-line-length=70 ietf-sid-file.yang > ietf-sid-file.yangtree

# please install the correct version of PYANG
# pip install git+https://github.com/core-wg/pyang.git@choice-case
.PHONY: pyang-sid
pyang-sid: ietf-system.yang
git checkout c95b9ca29665c9d1d4704edf59efe54a14a4a417 ./ietf-system.sid
# should work with python installed using pip, not pipx
# if you installed pyang using pipx, you may fallback to simply:
# $ pyang --sid-update-fiel ietf-system.sid ietf-system.yang
python -m pyang --sid-update-file ietf-system.sid ietf-system.yang
cp ietf-system@2014-08-06.sid ietf-system.sid

# gem install sid-csv to get the tool

ietf-system.csv: ietf-system.sid
Expand Down
41 changes: 41 additions & 0 deletions code/ietf-system.sid
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"ietf-sid-file:sid-file": {
"module-name": "ietf-system",
"module-revision": "2014-08-06",
"sid-file-version": "1",
"description": "Example sid file",
"dependency-revision": [
{
Expand Down Expand Up @@ -407,6 +408,46 @@
"namespace": "data",
"identifier": "/ietf-system:system/radius/server/udp/shared-secret",
"sid": "1774"
},
{
"namespace": "data",
"identifier": "/ietf-system:set-current-datetime/output",
"status": "unstable",
"sid": "1716"
},
{
"namespace": "data",
"identifier": "/ietf-system:set-current-datetime/input",
"sid": "1775"
},
{
"namespace": "data",
"identifier": "/ietf-system:set-current-datetime/input/current-datetime",
"sid": "1776"
},
{
"namespace": "data",
"identifier": "/ietf-system:system-restart/input",
"status": "unstable",
"sid": "1777"
},
{
"namespace": "data",
"identifier": "/ietf-system:system-restart/output",
"status": "unstable",
"sid": "1778"
},
{
"namespace": "data",
"identifier": "/ietf-system:system-shutdown/input",
"status": "unstable",
"sid": "1779"
},
{
"namespace": "data",
"identifier": "/ietf-system:system-shutdown/output",
"status": "unstable",
"sid": "1780"
}
]
}
Expand Down
Loading