Description
when attempting to mount a device with this operation:
http://{{controller-ip}}:8181/restconf/operations/netconf-node-topology:create-device
using a body like this (note the ignore-missing-schema-sources element:
{
"input": {
"login-password": {
"password": "password",
"username": "username"
},
"netconf-node-optional:ignore-missing-schema-sources": {
"reconnect-time": 5000,
"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
}
}
it is denied with:
{
"errors": {
"error": [
{
"error-type": "protocol",
"error-tag": "malformed-message",
"error-message": "Error parsing input: Schema node with name ignore-missing-schema-sources was not found under (urn:opendaylight:netconf-node-topology?revision=2015-01-14)input.",
"error-info": "Schema node with name ignore-missing-schema-sources was not found under (urn:opendaylight:netconf-node-topology?revision=2015-01-14)input."
}
]
}
}
I do not see the the netconf-node-topology.yang loaded, which probably explains it.
Should that module be loaded?
Attachments
Issue Links
- relates to
-
NETCONF-1192 Duplicate 'ignore-missing-schema-sources' in the NETCONF node
-
- Resolved
-
- mentioned in
-
Page Loading...