summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang/v3po.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/api/src/main/yang/v3po.yang')
-rw-r--r--v3po/api/src/main/yang/v3po.yang21
1 files changed, 20 insertions, 1 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index 18b68620e..bc464646e 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -10,7 +10,8 @@ module v3po {
- moved ACL definitions to vpp-acl module
- updated l2 container constraint (permit IP address on BVI interface)
- added PID of vpp process to vpp-state
- - added support for Loopback interfaces";
+ - added support for Loopback interfaces
+ - added support for port mirroring";
}
revision "2015-01-05" {
@@ -435,6 +436,16 @@ module v3po {
}
}
+ grouping span-attributes {
+ description "Parameters of the SPAN feature";
+
+ container mirrored-interfaces {
+ leaf-list mirrored-interface {
+ type if:interface-ref; // todo use interface-state-ref for operational data?
+ }
+ }
+ }
+
augment /if:interfaces/if:interface {
ext:augment-identifier "vpp-interface-augmentation";
@@ -522,6 +533,10 @@ module v3po {
uses vpp-acl:ietf-acl-base-attributes;
}
}
+
+ container span {
+ uses span-attributes;
+ }
}
container vpp {
@@ -613,6 +628,10 @@ module v3po {
uses vpp-acl:ietf-acl-base-attributes;
}
}
+
+ container span {
+ uses span-attributes;
+ }
}
augment /if:interfaces-state/if:interface/if:statistics {