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 grouping ofj-nxm-nx-match-reg-grouping {
82 container reg-values {
88 grouping ofj-nxm-nx-match-tun-id-grouping {
89 container tun-id-values {
95 grouping ofj-nxm-nx-match-arp-sha-grouping {
96 container arp-sha-values {
98 type yang:mac-address;
102 grouping ofj-nxm-nx-match-arp-tha-grouping {
103 container arp-tha-values {
105 type yang:mac-address;
109 grouping ofj-nxm-of-match-arp-op-grouping {
110 container arp-op-values {
116 grouping ofj-nxm-of-match-arp-spa-grouping {
117 container arp-spa-values {
123 grouping ofj-nxm-of-match-arp-tpa-grouping {
124 container arp-tpa-values {
130 grouping ofj-nxm-nx-match-tun-ipv4-dst-grouping {
131 container tun-ipv4-dst-values {
137 grouping ofj-nxm-nx-match-tun-ipv4-src-grouping {
138 container tun-ipv4-src-values {
144 grouping ofj-nxm-of-match-eth-src-grouping {
145 container eth-src-values {
147 type yang:mac-address;
151 grouping ofj-nxm-of-match-eth-dst-grouping {
152 container eth-dst-values {
154 type yang:mac-address;
158 grouping ofj-nxm-of-match-eth-type-grouping {
159 container eth-type-values {
166 augment "/ofoxm:oxm-container/ofoxm:match-entries" {
167 ext:augment-identifier "ofj-aug_nx_match";
168 uses ofj-nxm-nx-match-reg-grouping;
169 uses ofj-nxm-nx-match-tun-id-grouping;
170 uses ofj-nxm-nx-match-arp-sha-grouping;
171 uses ofj-nxm-nx-match-arp-tha-grouping;
172 uses ofj-nxm-of-match-arp-op-grouping;
173 uses ofj-nxm-of-match-arp-spa-grouping;
174 uses ofj-nxm-of-match-arp-tpa-grouping;
175 uses ofj-nxm-nx-match-tun-ipv4-dst-grouping;
176 uses ofj-nxm-nx-match-tun-ipv4-src-grouping;
177 uses ofj-nxm-of-match-eth-src-grouping;
178 uses ofj-nxm-of-match-eth-dst-grouping;
179 uses ofj-nxm-of-match-eth-type-grouping;