summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-03-19 20:07:53 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-03-19 20:09:16 +0100
commit9abac30c6b7bab8b515bd721dad461d01c28d2e5 (patch)
tree3fdb89a06a50329207f4863463d9ef3a9e1246a4 /v3po/api
parent9b777b10cbb32437f1debd58b09c5bee40f05b80 (diff)
HC2VPP-289: fix 802dot1 identifiers
Indentity names should not start with number, so prefix them with '_'. Change-Id: Ic941410da4c5401a646be94679c82e7c5c96e646 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api')
-rw-r--r--v3po/api/src/main/yang/vpp-vlan@2018-03-19.yang (renamed from v3po/api/src/main/yang/vpp-vlan@2017-06-07.yang)12
1 files changed, 8 insertions, 4 deletions
diff --git a/v3po/api/src/main/yang/vpp-vlan@2017-06-07.yang b/v3po/api/src/main/yang/vpp-vlan@2018-03-19.yang
index 7c77a05b0..a919580b9 100644
--- a/v3po/api/src/main/yang/vpp-vlan@2017-06-07.yang
+++ b/v3po/api/src/main/yang/vpp-vlan@2018-03-19.yang
@@ -3,6 +3,10 @@ module vpp-vlan {
namespace "urn:opendaylight:params:xml:ns:yang:vpp:vlan";
prefix "vpp-vlan";
+ revision "2018-03-19" {
+ description "Prefix invalid 802dot1q and 802dot1ad identifiers with underscore.";
+ }
+
revision "2017-06-07" {
description "Eliminated config leafrefs in operational tree";
}
@@ -66,13 +70,13 @@ module vpp-vlan {
are derived from";
}
- identity 802dot1q {
+ identity _802dot1q {
base vlan-type;
description
"An 802.1Q VLAN type";
}
- identity 802dot1ad {
+ identity _802dot1ad {
base vlan-type;
description
"An 802.1ad VLAN type";
@@ -133,7 +137,7 @@ module vpp-vlan {
grouping sub-interface-base-attributes {
leaf vlan-type {
type vlan-type;
- default 802dot1q;
+ default _802dot1q;
}
container tags {
@@ -238,7 +242,7 @@ module vpp-vlan {
leaf vlan-type { // todo rename to push_dot1q, mandatory(?) with default true
type vlan-type;
- default 802dot1q;
+ default _802dot1q;
}
leaf pop-tags {