HC2VPP-279: support special labels in hc2vpp-ietf-routing-types@2017-02-27 56/10356/3
authorMarek Gradzki <[email protected]>
Wed, 31 Jan 2018 13:39:29 +0000 (14:39 +0100)
committerMarek Gradzki <[email protected]>
Wed, 31 Jan 2018 15:45:29 +0000 (15:45 +0000)
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 <[email protected]>
(cherry picked from commit 9f215a89a3d600c79ec44862abcbaede1f94a857)

mpls/api/src/main/yang/[email protected]

index b39357a..6d0f853 100644 (file)
@@ -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