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...
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 90908,1 | Fixed: ignore-missing-schema-sources is not found error in create-device rest call | master | netconf | Status: ABANDONED | 0 | -1 |
| 90909,11 | Add import for netconf-node-optional | master | netconf | Status: MERGED | +2 | +1 |
| 91735,2 | Add import for netconf-node-optional | stable/magnesium | netconf | Status: MERGED | +2 | +1 |
| 91736,2 | Add import for netconf-node-optional | stable/sodium | netconf | Status: MERGED | +2 | +1 |
| 109123,2 | Remove duplicate container in network-topology | master | netconf | Status: MERGED | +2 | +1 |
| 109209,1 | Remove duplicate container in network-topology | 6.0.x | netconf | Status: MERGED | +2 | +1 |
| 109211,1 | Remove duplicate container in network-topology | 5.0.x | netconf | Status: MERGED | +2 | +1 |