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.yang38
1 files changed, 38 insertions, 0 deletions
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 {