-
Sub-task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
there is a create-device RPC to create a netconf mount. I don't know if it's used
anywhere in CSIT, but that would be the first step for this task.
once we have that working, we need to ensure two different config options work
in the original POST body. They come from the netconf-node-optional yang.
netconf-node-optional:ignore-missing-schema-sources
netconf-node-optional:datastore-lock
an example body that should work (fails at this point until NETCONF-670 is fixed) is
like this:
{ "input": { "login-password": { "password": "password", "username": "username" }, "netconf-node-optional:ignore-missing-schema-sources": { "reconnect-time": 5000, "allowed": true }, "netconf-node-optional:datastore-lock": { "datastore-lock-allowed": true } "netconf-node-topology:node-id": "{{node}}", "actor-response-wait-time": 900, "concurrent-rpc-limit": 0, "host": "{{testtool-ip}}", "sleep-factor": 1, "port": 17830, "tcp-only": false, "connection-timeout-millis": 20000, "max-connection-attempts": 0, "keepalive-delay": 300, "schema-cache-directory": "MX2020-19.3R2.9", "between-attempts-timeout-millis": 2000, "schemaless": false, "default-request-timeout-millis": 600000 } }
The URI to send the POST will be like this:
http://{{controller-ip}}:8181/restconf/operations/netconf-node-topology:create-device