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

Oxygen: How should odl-restconf-nb-rfc8040 be used?

XMLWordPrintable

      When trying to check whether Draft18 bugs from Nitrogen are also present on Oxygen snapshot builds, I have found that every restconf URL I tried returns 404.

      I have installed features odl-netconf-topology, odl-restconf-nb-rfc8040 and odl-mdsal-apidocs,
      Looking into web.xml [0] I thought

      $ curl -u admin:admin '127.0.0.1:8181/restconf/data/network-topology:network-topology' ;echo

      would work, but it does not. I figured out how to use apidocs 

      $ curl -u admin:admin '127.0.0.1:8181/apidoc/18/apis/network-topology(2013-10-21)' | less

      Which lead me to

      $ curl -u admin:admin '127.0.0.1:8181/restconf/18/data/network-topology:network-topology' ;echo

      which also does not work. I have tried several URL permutations, I have also tried using PUT (in case topology-netconf does not exist for some reason) and various content query parameters.

      I have even looked at netconf user guide [1], but that only talks about configuring netconf and uses draft02 URLs.

      Is there some point I am missing (and is it documented anywhere)? Or is there a bug causing rfc8040 restconf to not start properly?

      [0] https://github.com/opendaylight/netconf/blob/master/restconf/restconf-nb-rfc8040/src/main/resources/WEB-INF/web.xml
      [1] http://docs.opendaylight.org/en/latest/user-guide/netconf-user-guide.html

            mario.abraham Mario Abraham
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: