Issues while connecting netopeer/netconf with OpendayLight controller

asked 2015-06-30 22:41:05 -0700

divya_chaudhary gravatar image

Hi All

I am new to netconf trying to setup a connection between netopeer/netconf device and opendaylight by referring following links.

https://wiki.opendaylight.org/view/OpenDaylight Controller:Config:Examples:Netconf https://wiki.opendaylight.org/view/CrossProject:IntegrationGroup:NetConf_SB

When I try to spawning additional Netconf Connector while the controller is running, by sending following request to Restconf http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules and http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/controller-config/yang-ext:mount/config:modules I get an error stating mount point does not exist. I could not find this URI in the list. I am getting all data in config and operational data store till controller-config part of url. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// <errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf"> <error> <error-type>protocol</error-type> <error-tag>unknown-element</error-tag> <error-message>Mount point does not exist.</error-message> </error> </errors> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// It would be very helpful if someone guide me with the URI and POST request body for the same.

Other related information is also mentioned below with this post .

*99-Netconf-Connector.xml body* ........................................................................................................................................................................ <module></module>

<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">prefix:sal-netconf-connector</type>

<name>controller-config</name>

127.0.0.1

<port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">1832</port>

<username xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">root</username>

<password xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">root</password> .............................................................................................................................................................................. POST body ..............................................................................................................................................................................

<module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">prefix:sal-netconf-connector</type> <name>controller-config</name> </module>

127.0.0.1
<port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">1832</port> <username xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">root</username> <password xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">root</password> <tcp-only xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">false</tcp-only> <event-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:netty">prefix:netty-event-executor</type> <name>global-event-executor</name> </event-executor> <binding-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding">prefix:binding-broker-osgi-registry</type> <name>binding-osgi-broker</name> </binding-registry> <dom-registry xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom">prefix:dom-broker-osgi-registry</type> <name>dom-broker</name> </dom-registry> <client-dispatcher xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:config:netconf">prefix:netconf-client-dispatcher</type> <name>global-netconf-dispatcher</name> </client-dispatcher> <processing-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml ... (more)
edit retag flag offensive close merge delete