mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
530 stars 342 forks source link

SID not generated for RFC8791 structures #835

Open mcr opened 1 year ago

mcr commented 1 year ago

Hi, if you haven't seen my thread on how ANIMA can do extensions for YANG
modules, then please go read:
https://mailarchive.ietf.org/arch/msg/netmod/1z7qo_6kZ0aTZmXeU4ELuwt-Rxo/

Maybe I've found a solution at the YANG level, but at the SID level, it's
worse.
a) No SID values get allocated to any leaves.
b) A module SID value for B,C,D are created, and the old ones removed, which is wrong.
c) New SID files are being created, despite having specified the --sid-update-file.

The test data is at: https://github.com/mcr/yang-augment-test look for module-?3.yang, and practice3.sh. https://github.com/mcr/yang-augment-test/blob/main/output3.txt is the result of running practice3.sh