Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

as0077749's profile - activity

2017-12-18 12:19:49 -0800 received badge  Famous Question (source)
2017-11-01 00:03:19 -0800 received badge  Popular Question (source)
2017-11-01 00:03:19 -0800 received badge  Notable Question (source)
2017-10-09 04:19:02 -0800 received badge  Editor (source)
2017-10-09 04:03:18 -0800 asked a question Error Adding Node to ODL via RESTCONF

Hi Team,

I am trying to add cisco router into ODL controller but getting below exception.

Now I got stuck to proceed further, can anyone help me out here?

Steps Flowed:

Cisco Router version -

Cisco IOS XE Software, Version 16.06.01

URL-http://localhost:8181/restconf/config...

Method POST

Header - Accept application/xml Content-Type application/xml

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>csr</name>

192.168.1.2
<port xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">830</port> <username xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">cisco</username> <password xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf">cisco</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:ns:yang:controller:threadpool">prefix:threadpool</type> <name>global-netconf-processing-executor</name> </processing-executor> <keepalive-executor xmlns="urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf"> <type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:threadpool">prefix:scheduled-threadpool</type> <name>global-netconf-ssh-scheduled-executor</name> </keepalive-executor> </module>

Error I am getting -

<errors xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
  <error>
    <error-type>protocol</error-type>
    <error-tag>malformed-message</error-tag>
    <error-message>Error parsing input: Could not find module for namespace urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf</error-message>
    <error-info>java.lang.IllegalArgumentException: Could not find module for namespace urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:203)
    at org.opendaylight.yangtools.yang.data.codec.xml.IdentityrefXmlCodec.lambda$parseValue$0(IdentityrefXmlCodec.java:46)
    at org.opendaylight.yangtools.yang.data.util.codec.QNameCodecUtil.decodeQName(QNameCodecUtil.java:49)
    at org.opendaylight.yangtools.yang.data.codec.xml.IdentityrefXmlCodec.parseValue(IdentityrefXmlCodec.java:39)
    at org.opendaylight.yangtools.yang.data.codec.xml.IdentityrefXmlCodec.parseValue(IdentityrefXmlCodec.java:23)
    at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.translateValueByType(XmlParserStream.java:453)
    at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.setValue(XmlParserStream.java:435)
    at org.opendaylight ...
(more)
2017-08-02 02:58:26 -0800 asked a question Rest API's to perform VNF healthCheck using ODL controller

Looking for the list of Open DayLight controller rest Netconf API's to measure the VNF parameters such as ping, throughput, latency, frameloss, jitter etc.

Thanks in advance, Ashish