From fd88a38ef0c95452953deb2c52a07eb1232a82a5 Mon Sep 17 00:00:00 2001 From: Sagar Srivastav Date: Mon, 19 Dec 2016 01:42:11 -0800 Subject: ioam: export plugin - support for ioam-export plugin in hc2vpp Change-Id: I2314a2de3b9c2a1d9c2e5950659e44cb9bdda985 Signed-off-by: Sagar Srivastav --- ioam/api/src/main/yang/ioam-sb-export.yang | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 ioam/api/src/main/yang/ioam-sb-export.yang (limited to 'ioam/api') 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 + Sagar Srivastav "; + + 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; + } + } +} -- cgit 1.2.3-korg