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 {
106 identity set_vlan_vid {
107 description "Set the 802.1q VLAN id (OF v1.0).";
110 identity set_vlan_pcp {
111 description "Set the 802.1q priority (OF v1.0).";
114 identity strip_vlan {
115 description "Strip the 802.1q header (OF v1.0).";
118 identity set_dl_src {
119 description "Ethernet source address (OF v1.0).";
122 identity set_dl_dst {
123 description "Ethernet destination address (OF v1.0).";
126 identity set_nw_src {
127 description "IP source address (OF v1.0).";
130 identity set_nw_dst {
131 description "IP destination address (OF v1.0).";
134 identity set_nw_tos {
135 description "IP ToS (DSCP field, 6 bits) (OF v1.0).";
138 identity set_tp_src {
139 description "TCP/UDP source port (OF v1.0).";
142 identity set_tp_dst {
143 description "TCP/UDP destination port (OF v1.0).";
147 description "Output to queue (OF v1.0).";