5 This feature allows NETCONF/RESTCONF users to determine the version of
6 OpenDaylight they are communicating with.
8 === Install the Version Feature
10 Follow these steps to install the version feature:
12 . Navigate to the directory in which you installed OpenDaylight
17 . Install Version feature:
19 feature:install odl-distribution-version
21 NOTE: For RESTCONF access, it is recommended to install odl-restconf
22 and odl-netconf-connector-ssh.
24 === Version Feature Usage
26 Example of RESTCONF request using curl from bash:
28 $ curl -u 'admin:admin' localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules/module/odl-distribution-version:odl-version/odl-distribution-version
30 Example response (formatted):
35 "type": "odl-distribution-version:odl-version",
36 "name": "odl-distribution-version",
37 "odl-distribution-version:version": "0.5.0-SNAPSHOT"