Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-571

yangtools gives error on yang module that passes pyang ok

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 4958

    Description

      I'm having issues mounting a device where one of the yang models fails in yangtools:

      2016-01-13 13:37:45,467 | DEBUG | sing-executor-12 | SharedSchemaContextFactory | 85 - org.opendaylight.yangtools.yang-parser-impl - 0.7.4.SNAPSHOT | Failed to assemble sources
      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]

      the module in question passes pyang ok.

      I can provide debugs, models etc. (the zipped karaf.log is 20MB so won't attach it here).

      Attachments

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

        Activity

          People

            pkajsa Peter Kajsa
            giheron@cisco.com Giles Heron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: