Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
4959
Description
when yangtools hits an error parsing a YANG model for a device then the netconf connector disconnects from the device:
2016-01-13 13:37:45,468 | ERROR | sing-executor-12 | NetconfDevice | 179 - org.opendaylight.controller.sal-netconf-connector - 1.2.4.SNAPSHOT | RemoteDevice
{xrvr-a}: Initialization in sal failed, disconnecting from device
org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in module 'Cisco-IOS-XR-ipv6-ospfv3-cfg' at line 1150: Can not add 'container exclude-interfaces' to 'container per-prefix' in module 'Cisco-IOS-XR-ipv6-ospfv3-cfg': node with same name already declared at line 1150
at org.opendaylight.yangtools.yang.parser.builder.util.AbstractDocumentedDataNodeContainerBuilder.checkIsPresent(AbstractDocumentedDataNodeContainerBuilder.java:122)[85:org.opendaylight.yangtools.yang-parser-impl:0.7.4.SNAPSHOT]
IMO it'd be better to continue mounting the device but to drop that one failed module.
there are cases where devices list "unavailable capabilities". Why isn't this just one of those?
Attachments
Issue Links
- duplicates
-
NETCONF-232 Exclude flawed models from mount point
- Resolved