summaryrefslogtreecommitdiffstats
path: root/ioam/api/src
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-03-27 12:52:44 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-03-27 12:52:44 +0200
commit27f8f9aa4be32ebcdf11738db52287686d2d87e9 (patch)
tree3cf42a45c7e154ad206c7859807b41a411962dfe /ioam/api/src
parentc7299c6ea39c1888a3497a889ee9b55c44b54dac (diff)
HC2VPP-120 - fixed wrong prefix for ioam
ioam sb trace was using prefix incompatible with leaf-ref-context Change-Id: Ic0ea843015331e3611c6ecbea4ef8b73dfe9d979 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'ioam/api/src')
-rw-r--r--ioam/api/src/main/yang/ioam-sb-trace.yang10
1 files changed, 8 insertions, 2 deletions
diff --git a/ioam/api/src/main/yang/ioam-sb-trace.yang b/ioam/api/src/main/yang/ioam-sb-trace.yang
index 731fda96d..d950e9460 100644
--- a/ioam/api/src/main/yang/ioam-sb-trace.yang
+++ b/ioam/api/src/main/yang/ioam-sb-trace.yang
@@ -3,7 +3,7 @@ module ioam-sb-trace {
namespace "urn:cisco:params:xml:ns:yang:ioam-sb-trace";
prefix ioam-sb-trace;
- import ietf-interfaces { prefix ietf-if; }
+ import ietf-interfaces { prefix if; }
organization "Cisco Systems, Inc.";
@@ -17,6 +17,12 @@ module ioam-sb-trace {
trace elements.
";
+ revision 2017-03-27 {
+ description
+ "ietf-interfaces prefix changed to default value to be compatible with LeafRefContext
+ (ODL tool for checking leafrefs in runtime)";
+ }
+
revision 2016-05-12 {
description
"Base model for in-band OAM trace device configuration.";
@@ -154,7 +160,7 @@ module ioam-sb-trace {
}
leaf intf-name {
- type ietf-if:interface-ref;
+ type if:interface-ref;
mandatory true;
description
"Instance of ietf-interfaces:interface-ref";