2 * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 module openflow-action {
10 namespace "urn:opendaylight:openflow:common:action";
13 import openflow-types { prefix oft; }
15 revision "2013-07-31" {
16 description "OpenFlow 1.3 - action model";
20 description " Output to switch port. (both OF v1.0 and v1.3)";
23 identity copy_ttl_out {
24 description " Copy TTL \"outwards\" -- from next-to-outermost to outermost ";
27 identity copy_ttl_in {
28 description " Copy TTL \"inwards\" -- from outermost to next-to-outermost ";
31 identity set_mpls_ttl {
32 description " MPLS TTL ";
35 identity dec_mpls_ttl {
36 description " Decrement MPLS TTL ";
40 description " Push a new VLAN tag ";
44 description " Pop the outer VLAN tag ";
48 description " Push a new MPLS tag ";
52 description " Pop the outer MPLS tag ";
56 description " Set queue id when outputting to a port ";
60 description " Apply group. ";
64 description " IP TTL. ";
68 description " Decrement IP TTL. ";
72 description " Set a header field using OXM TLV format. ";
76 description " Push a new PBB service tag (I-TAG) ";
80 description " Pop the outer PBB service tag (I-TAG) ";
83 identity experimenter {
88 container actions-container {
89 uses actions-grouping;
92 grouping actions-grouping {
104 identity set_vlan_vid {
105 description "Set the 802.1q VLAN id (OF v1.0).";
106 base oft:action-base;
108 identity set_vlan_pcp {
109 description "Set the 802.1q priority (OF v1.0).";
110 base oft:action-base;
112 identity strip_vlan {
113 description "Strip the 802.1q header (OF v1.0).";
114 base oft:action-base;
116 identity set_dl_src {
117 description "Ethernet source address (OF v1.0).";
118 base oft:action-base;
120 identity set_dl_dst {
121 description "Ethernet destination address (OF v1.0).";
122 base oft:action-base;
124 identity set_nw_src {
125 description "IP source address (OF v1.0).";
126 base oft:action-base;
128 identity set_nw_dst {
129 description "IP destination address (OF v1.0).";
130 base oft:action-base;
132 identity set_nw_tos {
133 description "IP ToS (DSCP field, 6 bits) (OF v1.0).";
134 base oft:action-base;
136 identity set_tp_src {
137 description "TCP/UDP source port (OF v1.0).";
138 base oft:action-base;
140 identity set_tp_dst {
141 description "TCP/UDP destination port (OF v1.0).";
142 base oft:action-base;
145 description "Output to queue (OF v1.0).";
146 base oft:action-base;