restconf --- Error sending requests

asked 2017-02-06 20:19:36 -0700

tjbaozi gravatar image

Error sending request - : Error parsing input: Failed to lookup prefix urn

To configure a new netconf-connector you need to send following request to Restconf: Method: POST URI: http://localhost:8181/restconf/config...

i use this method to spawn a netconf-connector ,i fill the blank like type:sal-netconf-connector name:new-netconf-device

log:Caused by: NetconfDocumentedException{message=RemoteDevice{controller-config}: Edit candidate failed: [RpcError [message=Unexpected error, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=<error>java.lang.NullPointerException: Namespace urn:opendaylight:params:xml:ns:yang:controller:config, defined in: module new-netconf-device of type sal-netconf-connector not found, available namespaces: [urn:opendaylight:l2switch:host-tracker-impl, urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl....

i dont know the proper form of input.

edit retag flag offensive close merge delete