Restconf Endpoints
There are 2 different endpoints related to RestConf protocols:
• Draft-bierman-netconf-restconf-02, http://localhost:8181/restconf/…
• RFC 8040, http://localhost:8181/rests/…
For example:
GET http://localhost:8181/rests/data/network-topology:network-topology?content=config for configuration datastore and GET http://localhost:8181/rests/data/network-topology:network-topology?content=nonconfig for operational datastore.
Make sure to install all necessary features. If the odl-restconf feature is already installed, it provides both end points together.
RFC 8040 can be installed independently:
$ feature:install odl-restconf-nb-rfc8040
Note: For connecting to OcNOS, the RFC 8040 Restconf endpoint needs to be used and installed. This has support for the 'PATCH' operation which translates to Netconf 'Merge'.
Last modified date: 08/17/2023