1 module opendaylight-flow-types {
2 namespace "urn:opendaylight:flow:types";
5 import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
6 import opendaylight-match-types {prefix match; revision-date "2013-10-26";}
7 import opendaylight-action-types {prefix action;}
8 import opendaylight-meter-types {prefix meter; revision-date "2013-09-18";}
9 import openflow-protocol { prefix ofproto; revision-date "2013-07-31"; }
10 import openflow-types { prefix oft; revision-date "2013-07-31"; }
12 revision "2013-10-26" {
13 description "Initial revision of flow service";
17 type instance-identifier;
21 description "openflow specific type - flow cookie / flow cookie mask";
25 typedef output-port-values {
60 grouping instruction-list {
68 grouping instruction {
70 case go-to-table-case {
71 container go-to-table {
78 case write-metadata-case {
79 container write-metadata {
90 case write-actions-case {
91 container write-actions {
92 uses action:action-list;
96 case apply-actions-case {
97 container apply-actions {
98 uses action:action-list;
102 case clear-actions-case {
103 container clear-actions {
104 uses action:action-list;
118 typedef flow-mod-flags {
128 typedef removed_reason_flags {
137 grouping generic_flow_attributes {
164 container instructions {
165 uses instruction-list;
168 uses generic_flow_attributes;
170 leaf container-name {
213 grouping flow-statistics {
232 grouping flow-table-statistics {
246 grouping flow-mod-removed {
247 uses generic_flow_attributes;
249 leaf removed_reason {
250 type removed_reason_flags;
274 container flow-message {
276 uses ofproto:ofHeader;
279 type oft:flow-mod-command;