I’m trying to use pyang tool to replace symlinked data structures with actual ones in my yang files.
I’m currently using pyang 2.4.0 version, but looks 2.4.0 doesn’t support --tailf-sanitize option.
user:~/pyang_sanitise$ /usr/local/bin/pyang -v pyang 2.4.0 user:~/pyang_sanitise$ /usr/local/bin/pyang -f yang --tailf-sanitize system.yang Usage: pyang [options] [<filename>...] Validates the YANG module in <filename> (or stdin), and all its dependencies. pyang: error: no such option: --tailf-sanitize user:~/pyang_sanitise$
I also tried using older pyang version where --tailf-sanitize option is supported, but in older version symlink keyword is not being detected.
user:~/pyang_sanitise$ pyang -f yang --tailf-sanitize system.yang system.yang:61: error: extension "symlink" is not defined in module tailf-common system.yang:62: error: extension "path" is not defined in module tailf-common
Could you please help me pyang version where I can use --tailf-sanitize option to remove symlink.