4 namespace "urn:opendaylight:openflowjava:nx:match";
7 import openflow-extensible-match {prefix ofoxm;}
8 import openflow-types {prefix oft;}
9 import ietf-yang-types {prefix yang; revision-date "2010-09-24";}
10 import yang-ext {prefix ext; revision-date "2013-07-09";}
13 "Nicira openflow extensions of match.";
15 revision "2014-04-21" {
16 description "Initial revision";
20 base ofoxm:match-field;
23 identity nxm-nx-reg0 {
26 identity nxm-nx-reg1 {
29 identity nxm-nx-reg2 {
32 identity nxm-nx-reg3 {
35 identity nxm-nx-reg4 {
38 identity nxm-nx-reg5 {
41 identity nxm-nx-reg6 {
44 identity nxm-nx-reg7 {
47 identity nxm-nx-tun-id {
48 base ofoxm:match-field;
50 identity nxm-nx-arp-sha {
51 base ofoxm:match-field;
53 identity nxm-nx-arp-tha {
54 base ofoxm:match-field;
56 identity nxm-of-arp-op {
57 base ofoxm:match-field;
59 identity nxm-of-arp-spa {
60 base ofoxm:match-field;
62 identity nxm-of-arp-tpa {
63 base ofoxm:match-field;
65 identity nxm-nx-tun-ipv4-dst {
66 base ofoxm:match-field;
68 identity nxm-nx-tun-ipv4-src {
69 base ofoxm:match-field;
71 identity nxm-of-eth-src {
72 base ofoxm:match-field;
74 identity nxm-of-eth-dst {
75 base ofoxm:match-field;
77 identity nxm-of-eth-type {
78 base ofoxm:match-field;
81 base ofoxm:match-field;
84 base ofoxm:match-field;
87 grouping ofj-nxm-nx-match-reg-grouping {
88 container reg-values {
94 grouping ofj-nxm-nx-match-tun-id-grouping {
95 container tun-id-values {
101 grouping ofj-nxm-nx-match-arp-sha-grouping {
102 container arp-sha-values {
104 type yang:mac-address;
108 grouping ofj-nxm-nx-match-arp-tha-grouping {
109 container arp-tha-values {
111 type yang:mac-address;
115 grouping ofj-nxm-of-match-arp-op-grouping {
116 container arp-op-values {
122 grouping ofj-nxm-of-match-arp-spa-grouping {
123 container arp-spa-values {
129 grouping ofj-nxm-of-match-arp-tpa-grouping {
130 container arp-tpa-values {
136 grouping ofj-nxm-nx-match-tun-ipv4-dst-grouping {
137 container tun-ipv4-dst-values {
143 grouping ofj-nxm-nx-match-tun-ipv4-src-grouping {
144 container tun-ipv4-src-values {
150 grouping ofj-nxm-of-match-eth-src-grouping {
151 container eth-src-values {
153 type yang:mac-address;
157 grouping ofj-nxm-of-match-eth-dst-grouping {
158 container eth-dst-values {
160 type yang:mac-address;
164 grouping ofj-nxm-of-match-eth-type-grouping {
165 container eth-type-values {
172 grouping ofj-nxm-nx-match-nsp-grouping {
173 container nsp-values {
180 grouping ofj-nxm-nx-match-nsi-grouping {
181 container nsi-values {
188 augment "/ofoxm:oxm-container/ofoxm:match-entry-value" {
189 ext:augment-identifier "ofj-aug-nx-match";
190 case reg-case-value {
191 uses ofj-nxm-nx-match-reg-grouping;
193 case tun-id-case-value {
194 uses ofj-nxm-nx-match-tun-id-grouping;
196 case arp-sha-case-value {
197 uses ofj-nxm-nx-match-arp-sha-grouping;
199 case arp-tha-case-value {
200 uses ofj-nxm-nx-match-arp-tha-grouping;
202 case arp-op-case-value {
203 uses ofj-nxm-of-match-arp-op-grouping;
205 case arp-spa-case-value {
206 uses ofj-nxm-of-match-arp-spa-grouping;
208 case arp-tpa-case-value {
209 uses ofj-nxm-of-match-arp-tpa-grouping;
211 case tun-ipv4-dst-case-value {
212 uses ofj-nxm-nx-match-tun-ipv4-dst-grouping;
214 case tun-ipv4-src-case-value {
215 uses ofj-nxm-nx-match-tun-ipv4-src-grouping;
217 case eth-src-case-value {
218 uses ofj-nxm-of-match-eth-src-grouping;
220 case eth-dst-case-value {
221 uses ofj-nxm-of-match-eth-dst-grouping;
224 case eth-type-case-value {
225 uses ofj-nxm-of-match-eth-type-grouping;
227 case nsp-case-value {
228 uses ofj-nxm-nx-match-nsp-grouping;
230 case nsi-case-value {
231 uses ofj-nxm-nx-match-nsi-grouping;