Merge "Added scenario with settable auxiliaryId in featuresReply message"
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-action.yang
1 module openflow-action {
2     namespace "urn:opendaylight:openflow:common:action";
3     prefix "ofaction";
4
5     import openflow-types { prefix oft; }
6
7     revision "2013-07-31" {
8         description "OpenFlow 1.3 - action model";
9     }
10
11     identity output {
12         description " Output to switch port. ";
13         base oft:action;
14     }
15     identity copy_ttl_out {
16         description " Copy TTL \"outwards\" -- from next-to-outermost to outermost ";
17         base oft:action;
18     }
19     identity copy_ttl_in {
20         description " Copy TTL \"inwards\" -- from outermost to next-to-outermost ";
21         base oft:action;
22     }
23     identity set_mpls_ttl {
24         description " MPLS TTL ";
25         base oft:action;
26     }
27     identity dec_mpls_ttl {
28         description " Decrement MPLS TTL ";
29         base oft:action;
30     }
31     identity push_vlan {
32         description " Push a new VLAN tag ";
33         base oft:action;
34     }
35     identity pop_vlan {
36         description " Pop the outer VLAN tag ";
37         base oft:action;
38     }
39     identity push_mpls {
40         description " Push a new MPLS tag ";
41         base oft:action;
42     }
43     identity pop_mpls {
44         description " Pop the outer MPLS tag ";
45         base oft:action;
46     }
47     identity set_queue {
48         description " Set queue id when outputting to a port ";
49         base oft:action;
50     }
51     identity group {
52         description " Apply group. ";
53         base oft:action;
54     }
55     identity set_nw_ttl {
56         description " IP TTL. ";
57         base oft:action;
58     }
59     identity dec_nw_ttl {
60         description " Decrement IP TTL. ";
61         base oft:action;
62     }
63     identity set_field {
64         description " Set a header field using OXM TLV format. ";
65         base oft:action;
66     }
67     identity push_pbb {
68         description " Push a new PBB service tag (I-TAG) ";
69         base oft:action;
70     }
71     identity pop_pbb {
72         description " Pop the outer PBB service tag (I-TAG) ";
73         base oft:action;
74     }
75     identity experimenter {
76         description "";
77         base oft:action;
78     }
79
80     container actions-container {
81         uses action-header;
82     }
83
84     grouping action-header {
85         container action {
86             leaf type {
87                 type identityref {
88                     base oft:action;
89                 }
90             }
91         }
92     }
93
94 }