1 module opendaylight-table-types {
2 namespace "urn:opendaylight:table:types";
5 import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
6 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
7 import opendaylight-flow-types {prefix flow;revision-date 2013-10-26";}
10 revision "2013-10-26" {
11 description "Initial revision of table service";
15 type instance-identifier;
18 typedef table-config {
24 grouping table-feature-prop-type {
25 choice table-feature-prop-type {
27 container instructions {
28 uses flow:instruction-list;
32 case instructions-miss {
33 container instructions-miss {
34 uses flow:instruction-list;
50 case next-table-miss {
63 container write-actions {
64 uses flow:action-list;
68 case write-actions-miss {
69 container write-actions-miss {
70 uses flow:action-list;
75 container apply-actions {
76 uses flow:action-list;
80 case apply-actions-miss {
81 container apply-actions-miss {
82 uses flow:action-list;
102 case write-setfield {
103 container write-setfield {
110 case write-setfield-miss {
111 container write-setfield-miss {
118 case apply-setfield {
119 container apply-setfield {
126 case apply-setfield-miss {
127 container apply-setfield-miss {
136 grouping table-features {
137 list table-features {
145 description "Name of the table";
149 leaf metadata-match {
150 description "Bits of metadata table can match";
154 leaf metadata-write {
155 description "Bits of metadata table can write";
160 description "Max number of entries supported";
165 description "Bitmap of OFPTC_ values";
169 container table-properties {
170 list instruction-id {
176 uses table-feature-prop-type;