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

Revision history [back]

click to hide/show revision 1
initial version

Regarding ODL:netconf mount issues

Hi all

Any help is greatly appreciated.

Am working on an ODL application that needs netconf support and am following the page below and running into few issues. Can you please help me out?

https://wiki.opendaylight.org/view/ControllerCoreFunctionalityTutorials:Tutorials:NetconfMount

I am using Lithium-SR1 based ODL and did the section 2.1 by integrating the following lines into my ODL application.

Features.xml: <repository>mvn:org.opendaylight.controller/features-netconf-connector/${mdsal.version}/xml/features</repository>

Dependency section: features-netconf-connector in Pom.xml: On “mvn clean install”, am seeing the following errors below. Since, the "features-netconf-connector" is the only dependency from my application and the "features-netconf" dependency comes from the netconf-connector as below, am not able to fix it directly by using another version (0.3.0-SNAPSHOT which seems to have relevant contents instead). Any fixes/comments/workarounds for my usage?

Thanks in advance

Srihari

======================================

Tests in error:

Error resolving artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT in defaultlocal (file:~/.m2/repository/)

Error resolving artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT in defaultlocal (file:~/.m2/repository/)

Error resolving artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:features-netconf:xml:features:0.4.0-SNAPSHOT in defaultlocal (file:~/.m2/repository/)

ODL:~/ioam6$ ls -la ~/.m2/repository/org/opendaylight/controller/features-netconf/0.4.0-SNAPSHOT/

total 12

drwxrwxr-x 2 srihari srihari 4096 Dec 1 13:07 .

drwxrwxr-x 4 srihari srihari 4096 Dec 1 12:16 ..

-rw-rw-r-- 1 srihari srihari 573 Dec 1 13:07 resolver-status.properties

ODL:~/ioam6$ ls -la ~/.m2/repository/org/opendaylight/controller/features-netconf/0.3.0-SNAPSHOT/

total 64

drwxrwxr-x 2 srihari srihari 4096 Nov 29 08:14 .

drwxrwxr-x 4 srihari srihari 4096 Dec 1 12:16 ..

-rw-rw-r-- 1 srihari srihari 6639 Nov 29 08:14 features-netconf-0.3.0-20150618.163714-943-features.xml

-rw-rw-r-- 1 srihari srihari 40 Nov 29 08:14 features-netconf-0.3.0-20150618.163714-943-features.xml.sha1

-rw-rw-r-- 1 srihari srihari 7904 Nov 29 08:10 features-netconf-0.3.0-20150618.163714-943.pom

-rw-rw-r-- 1 srihari srihari 40 Nov 29 08:10 features-netconf-0.3.0-20150618.163714-943.pom.sha1

-rw-rw-r-- 1 srihari srihari 6639 Nov 29 08:14 features-netconf-0.3.0-SNAPSHOT-features.xml

-rw-rw-r-- 1 srihari srihari 7904 Nov 29 08:10 features-netconf-0.3.0-SNAPSHOT.pom

-rw-rw-r-- 1 srihari srihari 1232 Nov 29 08:10 maven-metadata-opendaylight-snapshot.xml

-rw-rw-r-- 1 srihari srihari 40 Nov 29 08:10 maven-metadata-opendaylight-snapshot.xml.sha1

-rw-rw-r-- 1 srihari srihari 282 Nov 29 08:14 _remote.repositories

-rw-rw-r-- 1 srihari srihari 200 Nov 29 08:10 resolver-status.properties

ODL:~/ioam6$ cat ~/.m2/repository/org/opendaylight/controller/features-netconf-connector/1.3.0-SNAPSHOT/features-netconf-connector-1.3.0-SNAPSHOT-features.xml

<features name="odl-controller-1.3.0-SNAPSHOT" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" <="" p="">

      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

      xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">

<repository>mvn:org.opendaylight.controller/features-mdsal/1.3.0-SNAPSHOT/xml/features</repository>

<repository>mvn:org.opendaylight.yangtools/features-yangtools/0.8.0-SNAPSHOT/xml/features</repository>

<repository>mvn:org.opendaylight.controller/features-netconf/0.4.0-SNAPSHOT/xml/features</repository>