Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-126

netconf connector disconnects from device following failed SAL initialization

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • netconf
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              giheron@cisco.com Giles Heron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: