Re: #sdnc Facing issues while trying to mount netconf server #sdnc


nagachetan.km@...
 

Hi Kamel/Brian,

We tried to register ransim with the sdnc with schemaless as true and device is getting connected but when we try schemaless as false we are getting error as "RemoteDevice{ncserver3}: No more sources for schema context", below is some reference output,

XML for Registration:
<node xmlns="urn:TBD:params:xml:ns:yang:network-topology"> <node-id>ncserver3</node-id> <username xmlns="urn:opendaylight:netconf-node-topology">admin</username> <password xmlns="urn:opendaylight:netconf-node-topology">******</password> <host xmlns="urn:opendaylight:netconf-node-topology">10.102.177.248</host> <port xmlns="urn:opendaylight:netconf-node-topology">50003</port> <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only> <schemaless xmlns="urn:opendaylight:netconf-node-topology">false</schemaless> </node>

Topology output:
{ "topology": [ { "topology-id": "topology-netconf", "node": [ { "node-id": "ncserver3", "netconf-node-topology:host": "10.102.177.248", "netconf-node-topology:connected-message": "RemoteDevice{ncserver3}: No more sources for schema context", "netconf-node-topology:connection-status": "unable-to-connect", "netconf-node-topology:port": 50003 }
]
}
]
}

For Get Capabilities through sdnc:

<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>Unable to read data: Optional[/(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)netconf-state/capabilities], errors: [RpcError [message=Response message contained unknown "message-id", severity=ERROR, errorType=PROTOCOL, tag=bad-attribute, applicationTag=null, info=&lt;actual-message-id>&lt;/actual-message-id>&lt;expected-message-id>m-46&lt;/expected-message-id>, cause=null]]</error-info> </error> </errors>


Please can you help here.

Thanks,
Naga chetan

Join onap-discuss@lists.onap.org to automatically receive all group messages.