...
1. feature:install odl-netconf-clustered-topology
2. feature:install odl-restconf-all
Mount request (HTTP/RestConf)
...
- Accept: application/josn
- Content-Type: application/json
Body
Code Block | ||
---|---|---|
| ||
{ "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.##
Check Connection Status
- Accept: application/xml
- Content-Type: application/xml###
Expected result body
Code Block |
---|
...
| ||
{ |
...
"node": [ |
...
{ "node-id": "ipv6-device", |
...
"netconf-node-topology:unavailable-capabilities": |
...
{ "unavailable-capability": [...] |
...
}, |
...
"netconf-node-topology:available-capabilities": |
...
{ "available-capability": [...] |
...
}, |
...
"netconf-node-topology:host": "0:0:0:0:0:0:0:1", |
...
"netconf-node-topology:clustered-connection-status": |
...
{ "netconf-master-node": "akka.tcp://opendaylight-cluster-data@127.0.0.1:2550" |
...
}, |
...
"netconf-node-topology:connection-status": "connected", |
...
"netconf-node-topology:port": 12600 |
...
}
]
}
|
```
Note: using ipv6: fe80::20c:29ff:fef8:337c worked as well.
...