Hi, I am wondering if there are implementations of this draft:
https://tools.ietf.org/html/draft-verdt-netmod-yang-semver-00 Specifically, implementation of the 'version' extension https://tools.ietf.org/html/draft-verdt-netmod-yang-semver-00#section-3 IMO it is a really bad idea to put the semantics of how to import modules in one of the modules that is imported. Your example shows ietf-semver imported first with no extension, but it could be last with a version extension. // all other imports, then last.... import ietf-semver { prefix "semver"; semver:version 1.1.2; } Translation unit parsing is something that needs to be built into the compiler. This should be part of YANG 1.2 if it is done. import example-module { prefix exmod; version 1.2.0+; } To a compiler writer, the difference is huge. (ietf-semver extensions need to be built-in statements in YANG, at least 'version') BTW, all the import examples are missing the mandatory prefix-stmt Andy
_______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod