diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-11-21 14:28:41 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-11-23 06:07:03 +0000 |
commit | 7731d1b1e94617d676a9118497d99677d5dd915a (patch) | |
tree | 71445a749bf905455a560bb0976179f854c35f90 /v3po/api/src | |
parent | c8acb46ee3ef1557f0c09ad7a50ac1cb4d9f84c4 (diff) |
HONEYCOMB-278 Expose basic CRUD for port mirroring
Change-Id: I9ed339fd8c7daf1433709dcd862e64b690c5d3da
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/api/src')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 21 |
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 { |