Andy Bierman <[email protected]> writes: > Hi, > > I was checking our compiler against the yang repo directory "standard", > and these errors and warnings showed up. Error 250 is > sometimes a false positive, but these expressions should > be checked. > > Top-level mandatory nodes (which include mandatory > nodes in NP-containers) are not allowed in IETF modules > according to RFC 6087. > > Andy > > > > Error: object 'active-route' not found in module ietf-routing in Xpath > target /rt:active-route/rt:output/rt:route > ietf-isis.yang:240.5: error(250): definition not found > > *** /home/andy/swdev/YANG_GIT/yang/standard/ietf/DRAFT/ietf-isis.yang > *** 1 Errors, 0 Warnings >
The ietf-isis module is out of sync with ietf-routing. Lada > > > Error: object 'access-list' not found in module ietf-acl in Xpath target > /ietf-acl:access-list/ietf-acl:access-list-entries/ietf-acl:matches > newco-acl.yang:16.5: error(250): definition not found > > Error: object 'access-list' not found in module ietf-acl in Xpath target > /ietf-acl:access-list/ietf-acl:access-list-entries/ietf-acl:actions > newco-acl.yang:28.5: error(250): definition not found > > *** /home/andy/swdev/YANG_GIT/yang/standard/ietf/DRAFT/newco-acl.yang > *** 2 Errors, 0 Warnings > > > > Warning: top-level NP container 'syslog' is mandatory > ietf-syslog.yang:238.3: warning(1048): top-level object is mandatory > > *** /home/andy/swdev/YANG_GIT/yang/standard/ietf/DRAFT/ietf-syslog.yang > *** 0 Errors, 1 Warnings > > > > Warning: top-level NP container 'configlet' is mandatory > ietf-netconf-zerotouch.yang:50.3: warning(1048): top-level object is > mandatory > > *** > /home/andy/swdev/YANG_GIT/yang/standard/ietf/DRAFT/ietf-netconf-zerotouch.yang > *** 0 Errors, 1 Warnings > _______________________________________________ > netmod mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka, CZ.NIC Labs PGP Key ID: E74E8C0C _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
