From 9e6835b79cda20c3614c6e76c64099ab64be2831 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 13 Jul 2016 08:46:56 +0200 Subject: HONEYCOMB-49: VPP classifier model. Initial version Change-Id: I8dbd22657c1cd1c9dfc45ca130015b5b3dbffee1 Signed-off-by: Marek Gradzki --- v3po/api/src/main/yang/v3po.yang | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'v3po/api/src/main/yang/v3po.yang') diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index ce2999364..5d582181f 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -25,6 +25,9 @@ module v3po { import yang-ext { prefix "ext"; } + import vpp-classifier { + prefix "vpp-classifier"; + } typedef bridge-domain-ref { type leafref { @@ -357,6 +360,33 @@ module v3po { } } + grouping acl-base-attributes { + description + "Defines references to classify tables. + At least one table reference should be specified."; + container l2-acl { + leaf classify-table { + type vpp-classifier:classify-table-ref; + description + "An L2 ACL table"; + } + } + container ip4-acl { + leaf classify-table { + type vpp-classifier:classify-table-ref; + description + "An IPv4 ACL table"; + } + } + container ip6-acl { + leaf classify-table { + type vpp-classifier:classify-table-ref; + description + "An IPv6 ACL table"; + } + } + } + augment /if:interfaces/if:interface { ext:augment-identifier "vpp-interface-augmentation"; @@ -405,6 +435,10 @@ module v3po { uses vxlan-gpe-base-attributes; } + + container acl { + uses acl-base-attributes; + } } container vpp { @@ -468,6 +502,10 @@ module v3po { uses l2-base-attributes; } + + container acl { + uses acl-base-attributes; + } } augment /if:interfaces-state/if:interface/if:statistics { -- cgit 1.2.3-korg