From c6a4cd27ec02abf2a90535795cc6529f891e75fa Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 19 Oct 2016 14:50:04 +0200 Subject: HONEYCOMB-264: cache classify table delete Change-Id: I8b43f9a6220b90aaed5d85d60c0d2095518d6226 Signed-off-by: Marek Gradzki --- v3po/api/src/main/yang/ietf-acl-context.yang | 67 ++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 v3po/api/src/main/yang/ietf-acl-context.yang (limited to 'v3po/api/src') 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 -- cgit 1.2.3-korg