summaryrefslogtreecommitdiffstats
path: root/lisp/api/src/main/yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-03-22 08:17:05 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-03-22 08:17:05 +0100
commita97085b38443361cb830c7c4127e9a5d69d7f055 (patch)
treec0022bda88d285e1e0e8f07271a0cd7cc0d37e6d /lisp/api/src/main/yang
parentd454620886abaf81405931260af4d58287ff2f21 (diff)
lisp: fix issues found by pyang
Change-Id: Ia48f32dca30e74c3d132556a85e38d70802f6c83 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'lisp/api/src/main/yang')
-rw-r--r--lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang10
-rw-r--r--lisp/api/src/main/yang/eid-mapping-context@2016-08-01.yang6
-rw-r--r--lisp/api/src/main/yang/gpe-entry-identification-context@2017-05-17.yang9
3 files changed, 11 insertions, 14 deletions
diff --git a/lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang b/lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang
index ae05f83f5..ed6315a4a 100644
--- a/lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang
+++ b/lisp/api/src/main/yang/adjacencies-identification-context@2016-08-01.yang
@@ -3,6 +3,10 @@ module adjacencies-identification-context {
namespace "urn:honeycomb:params:xml:ns:yang:adjacencies:identification:context";
prefix "adjacencies-identification-context";
+ import lisp {prefix "lisp";}
+ import yang-ext {prefix "ext";}
+ import naming-context { prefix "nc";}
+
description
"This module contains mappings between adjacency identificator and actual unique combination of
remote and local eid in vpp";
@@ -11,12 +15,6 @@ module adjacencies-identification-context {
description
"Initial revision.";
}
-
- import lisp {prefix "lisp";}
- import ietf-lisp-address-types {prefix "lisp-types";}
- import yang-ext {prefix "ext";}
- import naming-context { prefix "nc";}
-
grouping adjacencies-identification-context-attributes{
container adjacencies-identification-contexts {
diff --git a/lisp/api/src/main/yang/eid-mapping-context@2016-08-01.yang b/lisp/api/src/main/yang/eid-mapping-context@2016-08-01.yang
index 3fb6d893a..8ce12385d 100644
--- a/lisp/api/src/main/yang/eid-mapping-context@2016-08-01.yang
+++ b/lisp/api/src/main/yang/eid-mapping-context@2016-08-01.yang
@@ -3,6 +3,9 @@ module eid-mapping-context {
namespace "urn:honeycomb:params:xml:ns:yang:eid:mapping:context";
prefix "eid-mapping-context";
+ import lisp {prefix "lisp";}
+ import ietf-lisp-address-types {prefix "lisp-types";}
+
description
"This module contains mappings stored for local-mappings id to actual eid";
@@ -11,9 +14,6 @@ module eid-mapping-context {
"Initial revision.";
}
- import lisp {prefix "lisp";}
- import ietf-lisp-address-types {prefix "lisp-types";}
-
container contexts {
list eid-mapping-context {
diff --git a/lisp/api/src/main/yang/gpe-entry-identification-context@2017-05-17.yang b/lisp/api/src/main/yang/gpe-entry-identification-context@2017-05-17.yang
index 8f4d8aceb..7c8e40eb5 100644
--- a/lisp/api/src/main/yang/gpe-entry-identification-context@2017-05-17.yang
+++ b/lisp/api/src/main/yang/gpe-entry-identification-context@2017-05-17.yang
@@ -3,6 +3,10 @@ module gpe-entry-identification-context {
namespace "urn:honeycomb:params:xml:ns:yang:gpe:entry:identification:context";
prefix "gpe-entry-identification-context";
+ import ietf-lisp-address-types {prefix "lisp-types";}
+ import yang-ext {prefix "ext";}
+ import naming-context { prefix "nc";}
+
description
"This module contains mappings between gpe entry identificator and actual unique combination of
remote/local eid and vni in vpp";
@@ -12,11 +16,6 @@ module gpe-entry-identification-context {
"Initial revision.";
}
- import lisp {prefix "lisp";}
- import ietf-lisp-address-types {prefix "lisp-types";}
- import yang-ext {prefix "ext";}
- import naming-context { prefix "nc";}
-
grouping gpe-entry-identification-context-attributes{
container gpe-entry-identification-contexts {