summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-09-09 11:41:03 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-09-09 13:26:03 +0200
commit4605c552b8073fb203a204e594e48f137a5b5ee2 (patch)
tree05484da93d8a5374c8a836b07b209c32390cc290 /v3po/api
parent413d05ccfc941b56737aac87e9ffea7e1ff46f68 (diff)
HONEYCOMB-204 exclude deleted interfaces from operational data
Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/api')
-rw-r--r--v3po/api/src/main/yang/v3po-context.yang29
1 files changed, 29 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/v3po-context.yang b/v3po/api/src/main/yang/v3po-context.yang
new file mode 100644
index 000000000..ae35be5dd
--- /dev/null
+++ b/v3po/api/src/main/yang/v3po-context.yang
@@ -0,0 +1,29 @@
+module v3po-context {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:v3po:context";
+ prefix "v3po-ctx";
+
+ revision "2016-09-09" {
+ description
+ "Initial revision of v3po specific context";
+ }
+
+ container disabled-interfaces {
+ config false;
+ // context data
+
+ description "Index list of disabled interfaces. VPP does not always delete an interface after deletion. It just
+ disables it and keeps it there. Honeycomb can hide such interfaces from operational data, and this
+ is the place to heep track of which interfaces were deleted, but are expected to show up in VPP";
+
+ list disabled-interface-index {
+
+ key "index";
+
+ leaf index {
+ type int32;
+ }
+ }
+ }
+
+} \ No newline at end of file