summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang/v3po@2017-06-07.yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-03-22 12:48:19 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-03-22 13:53:38 +0100
commit69342de1844ed0d8a0e53f8f04c10e0725c44ce1 (patch)
treeb34661a008dead12c36ffa66eb428a976ac807cc /v3po/api/src/main/yang/v3po@2017-06-07.yang
parent3bef3516707c381dbe7e121659a142a5d50a9e10 (diff)
v3po: fix issues found by pyang
Change-Id: Icbe45830641ba89a1e136401528acdb2b836d12e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src/main/yang/v3po@2017-06-07.yang')
-rw-r--r--v3po/api/src/main/yang/v3po@2017-06-07.yang35
1 files changed, 16 insertions, 19 deletions
diff --git a/v3po/api/src/main/yang/v3po@2017-06-07.yang b/v3po/api/src/main/yang/v3po@2017-06-07.yang
index 58ef0685a..e05c804b6 100644
--- a/v3po/api/src/main/yang/v3po@2017-06-07.yang
+++ b/v3po/api/src/main/yang/v3po@2017-06-07.yang
@@ -3,6 +3,22 @@ module v3po {
namespace "urn:opendaylight:params:xml:ns:yang:v3po";
prefix "v3po";
+ import iana-if-type {
+ prefix "ianaift";
+ }
+ import ietf-interfaces {
+ prefix "if";
+ }
+ import ietf-yang-types {
+ prefix "yang";
+ }
+ import ietf-inet-types {
+ prefix "inet";
+ }
+ import yang-ext {
+ prefix "ext";
+ }
+
revision "2017-06-07" {
description "Eliminated config leafrefs in operational tree";
}
@@ -30,25 +46,6 @@ module v3po {
description "Initial revision of v3po model";
}
- import iana-if-type {
- prefix "ianaift";
- }
- import ietf-interfaces {
- prefix "if";
- }
- import ietf-yang-types {
- prefix "yang";
- }
- import ietf-inet-types {
- prefix "inet";
- }
- import ietf-ip {
- prefix "ip";
- }
- import yang-ext {
- prefix "ext";
- }
-
typedef bridge-domain-ref {
type leafref {
path "/bridge-domains/bridge-domain/name";