Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

# Mount IPv6 device with ODL RestConf

...

Prerequisites on CCSDK, SDNC, OpenDaylight

1. feature:install odl-netconf-clustered-topology
2. feature:install odl-restconf-all#

Mount request

PUT http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/ipv6-device

...

- Accept: application/josn
- Content-Type: application/json```


Code Block
languagejs
{

...


  "node": [

...


    {
      "node-id": "ipv6-device",

...


      "netconf-node-topology:reconnect-on-changed-schema": false,

...


      "netconf-node-topology:password": "admin",

...


      "netconf-node-topology:username": "admin",

...


      "netconf-node-topology:sleep-factor": 1.5,

...


      "netconf-node-topology:port": 12600,

...


      "netconf-node-topology:tcp-only": false,

...


      "netconf-node-topology:connection-timeout-millis": 20000,

...


      "netconf-node-topology:max-connection-attempts": 0,

...


      "netconf-node-topology:host": "::1",

...


      "netconf-node-topology:between-attempts-timeout-millis": 2000,

...


      "netconf-node-topology:keepalive-delay": 120

...


    }
  ]
}


Please note the "host" - "::1" is localhost in IPv6 format.

...