summaryrefslogtreecommitdiffstats
path: root/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang
diff options
context:
space:
mode:
authorSagar Srivastav <sagsriva@cisco.com>2017-01-11 03:49:02 -0800
committerMarek Gradzki <mgradzki@cisco.com>2017-01-12 13:30:47 +0000
commit7cf98fe610c2912873bdf5fe5fea353adb9d2cbf (patch)
tree48971408938190020378573652533465feb67eaa /ioam/api/src/main/yang/sfc-ioam-sb-pot.yang
parentcf1483b4917db72ca798f0a09512839aaaf13828 (diff)
ioam : pot plugin - update yang file
Change-Id: I27bbb50b04eca30374c8015dd2994524d80e3883 Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
Diffstat (limited to 'ioam/api/src/main/yang/sfc-ioam-sb-pot.yang')
-rw-r--r--ioam/api/src/main/yang/sfc-ioam-sb-pot.yang17
1 files changed, 9 insertions, 8 deletions
diff --git a/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang b/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang
index ff39b2511..dc4ecedf2 100644
--- a/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang
+++ b/ioam/api/src/main/yang/sfc-ioam-sb-pot.yang
@@ -15,23 +15,24 @@ module sfc-ioam-sb-pot {
"This module contains a collection of YANG definitions for
managing in-band OAM based proof of transit configuration
parameters. (https://github.com/ciscodevnet/ioam).
+
The model is meant for proof of transit
and is targetted for south-bound deployment nodes.";
- revision 2016-06-15 {
+ revision 2017-01-12 {
description
- "Initial revision.";
+ "Changes to field names and parameter ranges.";
reference
"";
}
typedef profile-index-range {
type int32 {
- range "0 .. 1";
+ range "-1 .. 1";
}
description
"Range used for the profile index. Currently restricted to
- 0 or 1 to identify the two profiles.";
+ -1 to 1 to identify profiles.";
}
identity path-identifier-identity {
@@ -108,9 +109,9 @@ module sfc-ioam-sb-pot {
"Secret key for validating the path, constant of poly 1";
}
- leaf bitmask {
- type uint64;
- default 4294967295;
+ leaf number-of-bits {
+ type uint8;
+ default 32;
description
"Number of bits as mask used in random value generation.
32-bits of mask is default.";
@@ -165,4 +166,4 @@ module sfc-ioam-sb-pot {
/*** Container: end ***/
}
/*** module: end ***/
-} \ No newline at end of file
+}