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

Restconf fails for network-topology

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Highest
    • Resolution: Done
    • 2.0.0
    • 2.0.1
    • None

    Description

      With the current yangtools/odlparent bump, restconf calls to perform any operation on network-topology models fails. This impacts OVSDB plugin as it uses network-topology for everything. This also impacts all OVSDB, Genius and Netvirt CSIT.

      Issue seems to be loading two versions of network-topology models. Following 'fix' [1] to explicitly specify revision in OVSDB allowed me to get some things working in OVSDB plugin, restconf is still failing. Earlier same code was working even with 2 revisions of same model.

      To check multiple revisions, load karaf from ovsdb/southbound-karaf distro and run 'bundle:find-class NetworkTopology' Curated output of same as follows:

      ietf-topology-isis (265)
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyData.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyData.class

      ietf-topology-l3-unicast-igp (266)
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyData.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyData.class

      ietf-topology-ospf (267)
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev131021/NetworkTopologyData.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopology.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$1.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder$NetworkTopologyImpl.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyBuilder.class
      org/opendaylight/yang/gen/v1/urn/tbd/params/xml/ns/yang/network/topology/rev130712/NetworkTopologyData.class

       

      [1] https://git.opendaylight.org/gerrit/#/c/67191

      Attachments

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

        Activity

          People

            rovarga Robert Varga
            thapar Vishal Thapar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: