I need to compile ietf-entity.yang in my package but i got the following error : ietf-entity.yang:2: error: bad value “1.1” (should be version)
ietf-entity.yang:915: error: XPath function “derived-from-or-self” is not defined in the XPath context
I’am using the pyang command delivered under my confd package.
The two errors that you are running into pertain to YANG 1.1. There is currently no support of YANG 1.1 by the latest ConfD 6.1 release. YANG 1.1 will be supported by ConfD 6.3 in the end of 2016 time frame. There may be partial support of YANG 1.1 earlier.