summaryrefslogtreecommitdiffstats
path: root/ioam/api
diff options
context:
space:
mode:
authorSagar Srivastav <sagsriva@cisco.com>2016-12-19 01:42:11 -0800
committerSagar Srivastav <sagsriva@cisco.com>2017-02-06 22:45:26 -0800
commitfd88a38ef0c95452953deb2c52a07eb1232a82a5 (patch)
tree6e52e8ee92669a1924e1a6ff9fa25095f3cf219f /ioam/api
parentffc4005f85536f9d19379cab26a1d8dd9b3c4b10 (diff)
ioam: export plugin - support for ioam-export plugin in hc2vpp
Change-Id: I2314a2de3b9c2a1d9c2e5950659e44cb9bdda985 Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
Diffstat (limited to 'ioam/api')
-rw-r--r--ioam/api/src/main/yang/ioam-sb-export.yang46
1 files changed, 46 insertions, 0 deletions
diff --git a/ioam/api/src/main/yang/ioam-sb-export.yang b/ioam/api/src/main/yang/ioam-sb-export.yang
new file mode 100644
index 000000000..f04028a38
--- /dev/null
+++ b/ioam/api/src/main/yang/ioam-sb-export.yang
@@ -0,0 +1,46 @@
+module ioam-sb-export {
+
+ yang-version 1;
+
+ namespace "urn:cisco:params:xml:ns:yang:ioam-sb-export";
+
+ prefix ioam-sb-export;
+
+ organization "Cisco Systems, Inc.";
+ contact
+ "Shwetha Bhandari <shwethab@cisco.com>
+ Sagar Srivastav <sagsriva@cisco.com>";
+
+ description
+ "This module contains a collection of YANG definitions for
+ managing in-band OAM based export
+ parameters.";
+
+ revision 2017-02-06 {
+ description
+ "set source and collector addresses as mandatory";
+ reference
+ "";
+ }
+
+ import ietf-inet-types {
+ prefix inet;
+ }
+
+ container ioam-export {
+
+ leaf disable {
+ type boolean;
+ }
+
+ leaf collector-address {
+ mandatory true;
+ type inet:ipv4-address;
+ }
+
+ leaf source-address {
+ mandatory true;
+ type inet:ipv4-address;
+ }
+ }
+}