Description
I am trying to mount my NE device onto transportpce controller and I was unable to do it. I have shared the restconf request and the error it generated below:
Command:
curl --user "admin":"admin" -H "Content-type: application/xml" -X GET http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/ncs-vikrant/yang-ext:mount/
Error:
<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"><error><error-type>application</error-type><error-tag>operation-failed</error-tag><error-message>NETCONF operation failed</error-message><error-info>Could not find module for namespace http://tail-f.com/ned/cisco-ios-xr-id</error-info></error></errors>
I tried to place cisco-ios-xr-id tailf file (which it seems to complain in the above error) into cache and issue the request but it still seems to give the same error.
Upon investigating in Karaf logs I found out an error as shared below:
12:05:33.623 ERROR [opendaylight-cluster-data-notification-dispatcher-51] member-1-shard-topology-operational: Error notifying listener org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter@7ee6f5ce java.lang.IllegalArgumentException: Supplied QName (urn:ietf:params:xml:ns:netmod:notification?revision=2008-07-14)netconf is not valid according to schema EffectiveSchemaContext
I am not entirely sure about which component this error belongs but I found it was an error related to mdsal binding hence I have mentioned mdsal as the component.
Correct/Edit my request if it's needed. I am sharing all the related logs for support in debugging.