summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-10-19 14:50:04 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-10-21 06:56:02 +0000
commitc6a4cd27ec02abf2a90535795cc6529f891e75fa (patch)
tree8e50f4029cf895fe8ea9789fa5bf91366e203aa5 /v3po/api/src/main/yang
parentb998c9e140a4c3c39138a8e9c746be3d025dff8a (diff)
HONEYCOMB-264: cache classify table delete
Change-Id: I8b43f9a6220b90aaed5d85d60c0d2095518d6226 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api/src/main/yang')
-rw-r--r--v3po/api/src/main/yang/ietf-acl-context.yang67
1 files changed, 67 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/ietf-acl-context.yang b/v3po/api/src/main/yang/ietf-acl-context.yang
new file mode 100644
index 000000000..71bfb73e4
--- /dev/null
+++ b/v3po/api/src/main/yang/ietf-acl-context.yang
@@ -0,0 +1,67 @@
+module ietf-acl-context {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:vpp:acl:context";
+ prefix "nc";
+
+ description "Context for nat mapping";
+
+ revision "2016-12-14" {
+ description "Initial revision.";
+ }
+
+ import ietf-inet-types {
+ prefix "inet";
+ }
+
+ import naming-context {
+ prefix "nc";
+ }
+
+ import yang-ext {
+ prefix "ext";
+ }
+
+ grouping mapping-entry-context-attributes {
+ container acl-mapping-entry-context {
+ list mapping-table {
+ key "direction";
+
+ leaf direction {
+ type enumeration {
+ enum "ingress";
+ enum "egress";
+ }
+ }
+
+ list mapping-entry {
+ key "index";
+
+ leaf index {
+ type int32;
+ description "interface id";
+ }
+
+ leaf ip4_table_id {
+ type int32;
+ description "ip4 table id";
+ }
+
+ leaf ip6_table_id {
+ type int32;
+ description "ip6 table id";
+ }
+
+ leaf l2_table_id {
+ type int32;
+ description "l2 table id";
+ }
+ }
+ }
+ }
+ }
+
+ augment /nc:contexts {
+ ext:augment-identifier "acl-mapping-entry-ctx-augmentation";
+ uses mapping-entry-context-attributes;
+ }
+} \ No newline at end of file