Ask Your Question
0

Missing module when creating custom yang plugin

asked 2014-10-15 07:04:39 -0700

vvu gravatar image

updated 2014-10-15 07:05:11 -0700

Hello!

I am trying to follow the basic ping yang plugin from https://wiki.opendaylight.org/view/Ping with my own .yang file. The yang file I am using is from http://tools.ietf.org/html/draft-schoenw-lmap-yang-01#section-4 . When I try to mvn clean install the plugin I get

org.opendaylight.yangtools.yang.parser.util.YangValidationException: Not existing module imported:ietf-interfaces:default by:ietf-lmap:2014-09-01

This is related to

import ietf-inet-types {
  prefix inet;
}

from the yang file. Any clue what is to be done here ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-10 07:22:04 -0700

Robert Varga gravatar image

You need to a add the following to your dependecies section of pom.xml:

<dependency>
  <groupId>org.opendaylight.yangtools.model</groupId>
  <artifactId>ietf-inet-types</artifactId>
</dependency>
edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-10-15 07:04:39 -0700

Seen: 367 times

Last updated: Feb 10 '15