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

unable to configure ODL BGP via RESTCONF PUT to config:modules in latest 0.4.0 releases

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 4755

    Description

      recent 0.4.0 releases (at least since the beginning of December, and possibly older - the last one I have that worked is mid-Oct) fail when trying to configure e.g. the BGP RIB using a PUT to /restconf/config/network-topology:network-topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-bgp-rib-impl-cfg:rib-impl/example-bgp-rib.

      the error I get ends with:

      ------
      Caused by: NetconfDocumentedException{message=RemoteDevice

      {controller-config}

      : Edit candidate failed: [RpcError [message=Unexpected error, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=<error>java.lang.IllegalStateException: Unable to resolve value AttributeConfigElement [defaultValue=null, value=[MappedDependency

      {namespace='urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl', serviceName='bgp-table-type', refName='ipv4-unicast'}

      , MappedDependency

      {namespace='urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl', serviceName='bgp-table-type', refName='ipv6-unicast'}

      , MappedDependency

      {namespace='urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl', serviceName='bgp-table-type', refName='linkstate'}

      , MappedDependency

      {namespace='urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl', serviceName='bgp-table-type', refName='flowspec'}

      ]] to attribute local-table</error>, cause=null]], errorType=application, errorTag=operation_failed, errorSeverity=warning, errorInfo={}}\n\tat org.opendaylight.netconf.sal.connect.netconf.sal.tx.AbstractWriteTx.invokeBlocking(AbstractWriteTx.java:69)\n\tat org.opendaylight.netconf.sal.connect.netconf.sal.tx.WriteCandidateTx.editConfig(WriteCandidateTx.java:188)\n\tat org.opendaylight.netconf.sal.connect.netconf.sal.tx.AbstractWriteTx.put(AbstractWriteTx.java:112)\n\t... 59 more\n"
      }
      ]
      }
      }
      ------

      Logs attached.

      Attachments

        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: