7 This feature allows NETCONF/RESTCONF users to determine the version of
8 OpenDaylight they are communicating with.
10 Install the Version Feature
11 ---------------------------
13 Follow these steps to install the version feature:
15 #. Navigate to the directory in which you installed OpenDaylight
20 #. Install Version feature::
22 feature:install odl-distribution-version
24 .. note:: For RESTCONF access, it is recommended to install odl-restconf
25 and odl-netconf-connector-ssh.
30 Example of RESTCONF request using curl from bash::
32 $ 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
34 Example response (formatted)::
39 "type": "odl-distribution-version:odl-version",
40 "name": "odl-distribution-version",
41 "odl-distribution-version:version": "0.5.0-SNAPSHOT"