summaryrefslogtreecommitdiffstats
path: root/mpls/api/src/main
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-01-31 14:39:29 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-01-31 15:45:29 +0000
commit12f5de88789d72a05bd87c73b319ef9093f3e8d0 (patch)
treecc159398995f01d5a157985cb373a1efd8c72de9 /mpls/api/src/main
parentcd526caa7794645382ec7026b7d62c280736e1a3 (diff)
HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27
The orginal ietf-routing-types model supports them, but it was patched due to ODL BUG (MDSAL-269). Change-Id: I70745a1bcd49b7eda21085c0c092af5a0f6bfaa0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 9f215a89a3d600c79ec44862abcbaede1f94a857)
Diffstat (limited to 'mpls/api/src/main')
-rw-r--r--mpls/api/src/main/yang/hc2vpp-ietf-routing-types@2017-02-27.yang4
1 files changed, 3 insertions, 1 deletions
diff --git a/mpls/api/src/main/yang/hc2vpp-ietf-routing-types@2017-02-27.yang b/mpls/api/src/main/yang/hc2vpp-ietf-routing-types@2017-02-27.yang
index b39357ae2..6d0f853a8 100644
--- a/mpls/api/src/main/yang/hc2vpp-ietf-routing-types@2017-02-27.yang
+++ b/mpls/api/src/main/yang/hc2vpp-ietf-routing-types@2017-02-27.yang
@@ -639,7 +639,9 @@ Change back after https://jira.opendaylight.org/browse/MDSAL-269 is resolved.
type mpls-label-general-use;
}
*/
- type mpls-label-general-use;
+ type uint32 {
+ range "0..1048575";
+ }
description
"The 20 bits label values in an MPLS label stack entry,
specified in RFC3032. This label value does not include