xenserver: Remove "Required-" parameters from "openvswitch" init script.
[openvswitch] / tests / ovs-ofctl.at
1 AT_BANNER([ovs-ofctl])
2
3 AT_SETUP([ovs-ofctl parse-flows])
4 AT_DATA([flows.txt], [[
5 # comment
6 tcp,tp_src=123,actions=flood
7 in_port=LOCAL dl_vlan=9 dl_src=00:0A:E4:25:6B:B0 actions=drop
8 arp,nw_src=192.168.0.1 actions=drop_spoofed_arp,NORMAL
9 udp dl_vlan_pcp=7 idle_timeout=5 actions=strip_vlan output:0
10 tcp,nw_src=192.168.0.3,tp_dst=80 actions=set_queue:37,output:1
11 udp,nw_src=192.168.0.3,tp_dst=53 actions=pop_queue,output:1
12 cookie=0x123456789abcdef hard_timeout=10 priority=60000 actions=controller
13 actions=note:41.42.43,note:00.01.02.03.04.05.06.07,note
14 tun_id=0x1234,cookie=0x5678,actions=flood
15 actions=set_tunnel:0x1234,set_tunnel64:0x9876,set_tunnel:0x123456789
16 actions=multipath(eth_src, 50, hrw, 12, 0, NXM_NX_REG0[0..3]),multipath(symmetric_l4, 1024, iter_hash, 5000, 5050, NXM_NX_REG0[0..12])
17 actions=drop
18 ]])
19 AT_CHECK([ovs-ofctl parse-flows flows.txt
20 ], [0], [stdout], [stderr])
21 AT_CHECK([[sed 's/ (xid=0x[0-9a-fA-F]*)//' stdout]], [0], 
22 [[OFPT_FLOW_MOD: ADD tcp,tp_src=123 actions=FLOOD
23 OFPT_FLOW_MOD: ADD in_port=65534,dl_vlan=9,dl_src=00:0a:e4:25:6b:b0 actions=drop
24 OFPT_FLOW_MOD: ADD arp,nw_src=192.168.0.1 actions=drop_spoofed_arp,NORMAL
25 OFPT_FLOW_MOD: ADD udp,dl_vlan_pcp=7 idle:5 actions=strip_vlan,output:0
26 OFPT_FLOW_MOD: ADD tcp,nw_src=192.168.0.3,tp_dst=80 actions=set_queue:37,output:1
27 OFPT_FLOW_MOD: ADD udp,nw_src=192.168.0.3,tp_dst=53 actions=pop_queue,output:1
28 OFPT_FLOW_MOD: ADD priority=60000 cookie:0x123456789abcdef hard:10 actions=CONTROLLER:65535
29 OFPT_FLOW_MOD: ADD actions=note:41.42.43.00.00.00,note:00.01.02.03.04.05.06.07.00.00.00.00.00.00,note:00.00.00.00.00.00
30 NXT_TUN_ID_FROM_COOKIE: set=1
31 OFPT_FLOW_MOD: ADD cookie:0x123400005678 actions=FLOOD
32 OFPT_FLOW_MOD: ADD actions=set_tunnel:0x1234,set_tunnel64:0x9876,set_tunnel64:0x123456789
33 OFPT_FLOW_MOD: ADD actions=multipath(eth_src,50,hrw,12,0,NXM_NX_REG0[0..3]),multipath(symmetric_l4,1024,iter_hash,5000,5050,NXM_NX_REG0[0..12])
34 OFPT_FLOW_MOD: ADD actions=drop
35 ]])
36 AT_CHECK([sed 's/.*|//' stderr], [0], [dnl
37 normalization changed ofp_match, details:
38  pre: wildcards=  0x3820f8  in_port=65534  dl_src=00:0a:e4:25:6b:b0  dl_dst=00:00:00:00:00:00  dl_vlan=    9  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
39 post: wildcards=  0x3ffff8  in_port=65534  dl_src=00:0a:e4:25:6b:b0  dl_dst=00:00:00:00:00:00  dl_vlan=    9  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
40 normalization changed ofp_match, details:
41  pre: wildcards=  0x3820ff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
42 post: wildcards=  0x3fffff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
43 normalization changed ofp_match, details:
44  pre: wildcards=  0x3820ff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
45 post: wildcards=  0x3fffff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
46 normalization changed ofp_match, details:
47  pre: wildcards=  0x3820ff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
48 post: wildcards=  0x3fffff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
49 normalization changed ofp_match, details:
50  pre: wildcards= 0x23820ff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
51 post: wildcards= 0x23fffff  in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00  dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0  nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0
52 ])
53 AT_CLEANUP
54
55 AT_SETUP([ovs-ofctl -F nxm parse-flows])
56 AT_DATA([flows.txt], [
57 # comment
58 tcp,tp_src=123,actions=flood
59 in_port=LOCAL dl_vlan=9 dl_src=00:0A:E4:25:6B:B0 actions=drop
60 arp,nw_src=192.168.0.1 actions=drop_spoofed_arp,NORMAL
61 udp dl_vlan_pcp=7 idle_timeout=5 actions=strip_vlan output:0
62 tcp,nw_src=192.168.0.3,tp_dst=80 actions=set_queue:37,output:1
63 udp,nw_src=192.168.0.3,tp_dst=53 actions=pop_queue,output:1
64 cookie=0x123456789abcdef hard_timeout=10 priority=60000 actions=controller
65 actions=note:41.42.43,note:00.01.02.03.04.05.06.07,note
66 tun_id=0x1234,cookie=0x5678,actions=flood
67 actions=drop
68 ])
69 AT_CHECK([ovs-ofctl -F nxm parse-flows flows.txt], [0], [stdout])
70 AT_CHECK([[sed 's/ (xid=0x[0-9a-fA-F]*)//' stdout]], [0], [dnl
71 NXT_FLOW_MOD: ADD tcp,tp_src=123 actions=FLOOD
72 NXT_FLOW_MOD: ADD in_port=65534,dl_vlan=9,dl_src=00:0a:e4:25:6b:b0 actions=drop
73 NXT_FLOW_MOD: ADD arp,nw_src=192.168.0.1 actions=drop_spoofed_arp,NORMAL
74 NXT_FLOW_MOD: ADD udp,dl_vlan_pcp=7 idle:5 actions=strip_vlan,output:0
75 NXT_FLOW_MOD: ADD tcp,nw_src=192.168.0.3,tp_dst=80 actions=set_queue:37,output:1
76 NXT_FLOW_MOD: ADD udp,nw_src=192.168.0.3,tp_dst=53 actions=pop_queue,output:1
77 NXT_FLOW_MOD: ADD priority=60000 cookie:0x123456789abcdef hard:10 actions=CONTROLLER:65535
78 NXT_FLOW_MOD: ADD actions=note:41.42.43.00.00.00,note:00.01.02.03.04.05.06.07.00.00.00.00.00.00,note:00.00.00.00.00.00
79 NXT_FLOW_MOD: ADD tun_id=0x1234 cookie:0x5678 actions=FLOOD
80 NXT_FLOW_MOD: ADD actions=drop
81 ])
82 AT_CLEANUP
83
84 AT_SETUP([ovs-ofctl -F nxm -mmm parse-flows])
85 AT_DATA([flows.txt], [[
86 # comment
87 tcp,tp_src=123,actions=flood
88 in_port=LOCAL dl_vlan=9 dl_src=00:0A:E4:25:6B:B0 actions=drop
89 arp,nw_src=192.168.0.1 actions=drop_spoofed_arp,NORMAL
90 udp dl_vlan_pcp=7 idle_timeout=5 actions=strip_vlan output:0
91 tcp,nw_src=192.168.0.3,tp_dst=80 actions=set_queue:37,output:1
92 udp,nw_src=192.168.0.3,tp_dst=53 actions=pop_queue,output:1
93 cookie=0x123456789abcdef hard_timeout=10 priority=60000 actions=controller
94 actions=note:41.42.43,note:00.01.02.03.04.05.06.07,note
95 tun_id=0x1234,cookie=0x5678,actions=flood
96 actions=drop
97 reg0=123,actions=move:NXM_NX_REG0[0..5]->NXM_NX_REG1[26..31],load:55->NXM_NX_REG2[0..31],move:NXM_NX_REG0[0..31]->NXM_NX_TUN_ID[0..31],move:NXM_NX_REG0[0..15]->NXM_OF_VLAN_TCI[]
98 ]])
99 AT_CHECK([ovs-ofctl -F nxm -mmm parse-flows flows.txt], [0], [stdout])
100 AT_CHECK([[sed 's/ (xid=0x[0-9a-fA-F]*)//' stdout]], [0],
101 [[NXT_FLOW_MOD: ADD NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(06), NXM_OF_TCP_SRC(007b) actions=FLOOD
102 NXT_FLOW_MOD: ADD NXM_OF_IN_PORT(fffe), NXM_OF_ETH_SRC(000ae4256bb0), NXM_OF_VLAN_TCI_W(1009/1fff) actions=drop
103 NXT_FLOW_MOD: ADD NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_SPA(c0a80001) actions=drop_spoofed_arp,NORMAL
104 NXT_FLOW_MOD: ADD NXM_OF_ETH_TYPE(0800), NXM_OF_VLAN_TCI_W(f000/f000), NXM_OF_IP_PROTO(11) idle:5 actions=strip_vlan,output:0
105 NXT_FLOW_MOD: ADD NXM_OF_ETH_TYPE(0800), NXM_OF_IP_SRC(c0a80003), NXM_OF_IP_PROTO(06), NXM_OF_TCP_DST(0050) actions=set_queue:37,output:1
106 NXT_FLOW_MOD: ADD NXM_OF_ETH_TYPE(0800), NXM_OF_IP_SRC(c0a80003), NXM_OF_IP_PROTO(11), NXM_OF_UDP_DST(0035) actions=pop_queue,output:1
107 NXT_FLOW_MOD: ADD <any> cookie:0x123456789abcdef hard:10 pri:60000 actions=CONTROLLER:65535
108 NXT_FLOW_MOD: ADD <any> actions=note:41.42.43.00.00.00,note:00.01.02.03.04.05.06.07.00.00.00.00.00.00,note:00.00.00.00.00.00
109 NXT_FLOW_MOD: ADD NXM_NX_TUN_ID(0000000000001234) cookie:0x5678 actions=FLOOD
110 NXT_FLOW_MOD: ADD <any> actions=drop
111 NXT_FLOW_MOD: ADD NXM_NX_REG0(0000007b) actions=move:NXM_NX_REG0[0..5]->NXM_NX_REG1[26..31],load:55->NXM_NX_REG2[],move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],move:NXM_NX_REG0[0..15]->NXM_OF_VLAN_TCI[]
112 ]])
113 AT_CLEANUP
114
115 AT_SETUP([ovs-ofctl parse-nx-match])
116 AT_KEYWORDS([nx-match])
117 AT_DATA([nx-match.txt], [dnl
118 <any>
119
120 # in port
121 NXM_OF_IN_PORT(0000)
122 NXM_OF_IN_PORT(fffe)
123
124 # eth dst
125 NXM_OF_ETH_DST(0002e30f80a4)
126 NXM_OF_ETH_DST_W(010000000000/010000000000)
127 NXM_OF_ETH_DST_W(000000000000/010000000000)
128 NXM_OF_ETH_DST_W(ffffffffffff/010000000000)
129 NXM_OF_ETH_DST_W(0002e30f80a4/ffffffffffff)
130 NXM_OF_ETH_DST_W(0002e30f80a4/feffffffffff)
131
132 # eth src
133 NXM_OF_ETH_SRC(020898456ddb)
134
135 # eth type
136 NXM_OF_ETH_TYPE(0800)
137 NXM_OF_ETH_TYPE(0800) NXM_OF_IN_PORT(0012)
138
139 # vlan tci
140 NXM_OF_VLAN_TCI(f009)
141 NXM_OF_VLAN_TCI(f009) NXM_OF_VLAN_TCI(f009)
142 NXM_OF_VLAN_TCI(0000)           # Packets without 802.1Q header.
143 NXM_OF_VLAN_TCI(3123)           # Packets with VID=123, PCP=1.
144 NXM_OF_VLAN_TCI(0123)           # Does not make sense (but supported anyway)
145 NXM_OF_VLAN_TCI_W(1123/1fff)    # Packets with VID=123, any PCP.
146 NXM_OF_VLAN_TCI_W(f000/f000)    # Packets with any VID, PCP=7.
147 NXM_OF_VLAN_TCI_W(0000/e000)    # No 802.1Q or with VID=0
148
149 # IP TOS
150 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_TOS(f0)
151 NXM_OF_IP_TOS(f0)
152
153 # IP protocol
154 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(01)
155 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(05)
156 NXM_OF_IP_PROTO(05)
157
158 # IP source
159 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_SRC(ac100014)
160 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_SRC_W(C0a80000/FFFF0000)
161 NXM_OF_ETH_TYPE(0806) NXM_OF_IP_SRC(ac100014)
162 NXM_OF_IP_SRC_W(C0D80000/FFFF0000)
163
164 # IP destination
165 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_DST(ac100014)
166 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_DST_W(C0a88012/FFFF0000)
167 NXM_OF_IP_DST(ac100014)
168 NXM_OF_ETH_TYPE(0806) NXM_OF_IP_DST_W(C0D80000/FFFF0000)
169
170 # TCP source port
171 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(06) NXM_OF_TCP_SRC(4231)
172 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(07) NXM_OF_TCP_SRC(4231)
173
174 # TCP destination port
175 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(06) NXM_OF_TCP_DST(4231)
176 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(07) NXM_OF_TCP_DST(4231)
177
178 # UDP source port
179 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(11) NXM_OF_UDP_SRC(8732)
180 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(06) NXM_OF_UDP_SRC(7823)
181
182 # UDP destination port
183 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(11) NXM_OF_UDP_DST(1782)
184 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(02) NXM_OF_UDP_DST(1293)
185
186 # ICMP type
187 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(01) NXM_OF_ICMP_TYPE(12)
188 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(00) NXM_OF_ICMP_TYPE(10)
189
190 # ICMP code
191 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(01) NXM_OF_ICMP_CODE(12)
192 NXM_OF_ETH_TYPE(0800) NXM_OF_IP_PROTO(00) NXM_OF_ICMP_CODE(10)
193 NXM_OF_ETH_TYPE(0800) NXM_OF_ICMP_CODE(10)
194 NXM_OF_ICMP_CODE(00)
195
196 # ARP opcode
197 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_OP(0001)
198 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_OP(1111)
199 NXM_OF_ETH_TYPE(0000) NXM_OF_ARP_OP(0001)
200 NXM_OF_ARP_OP(0001)
201 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_OP(0001) NXM_OF_ARP_OP(0001)
202
203 # ARP source
204 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_SPA(ac100014)
205 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_SPA_W(C0a81234/FFFFFF00)
206 NXM_OF_ETH_TYPE(0800) NXM_OF_ARP_SPA(ac100014)
207 NXM_OF_ARP_SPA_W(C0D8fedc/FFFF0000)
208
209 # ARP destination
210 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_TPA(ac100014)
211 NXM_OF_ETH_TYPE(0806) NXM_OF_ARP_TPA_W(C0a812fe/FFFFFF00)
212 NXM_OF_ETH_TYPE(0800) NXM_OF_ARP_TPA(ac100014)
213 NXM_OF_ARP_TPA_W(C0D80000/FFFF0000)
214
215 # Tunnel ID.
216 NXM_NX_TUN_ID(00000000abcdef01)
217
218 # Register 0.
219 NXM_NX_REG0(acebdf56)
220 NXM_NX_REG0_W(a0e0d050/f0f0f0f0)
221
222 # Invalid field number.
223 01020304(1111/2222)
224
225 # Unimplemented registers.
226 #
227 # This test assumes that at least two registers, but fewer than 16,
228 # registers are implemented.
229 00010004(12345678)
230 00010108(12345678/12345678)
231 00011e04(12345678)
232 00011f08(12345678/12345678)
233 ])
234 AT_CHECK([ovs-ofctl parse-nx-match < nx-match.txt], [0], [dnl
235 <any>
236
237 # in port
238 NXM_OF_IN_PORT(fffe)
239 NXM_OF_IN_PORT(fffe)
240
241 # eth dst
242 NXM_OF_ETH_DST(0002e30f80a4)
243 NXM_OF_ETH_DST_W(010000000000/010000000000)
244 NXM_OF_ETH_DST_W(000000000000/010000000000)
245 NXM_OF_ETH_DST_W(010000000000/010000000000)
246 NXM_OF_ETH_DST(0002e30f80a4)
247 NXM_OF_ETH_DST_W(0002e30f80a4/feffffffffff)
248
249 # eth src
250 NXM_OF_ETH_SRC(020898456ddb)
251
252 # eth type
253 NXM_OF_ETH_TYPE(0800)
254 NXM_OF_IN_PORT(0012), NXM_OF_ETH_TYPE(0800) 
255
256 # vlan tci
257 NXM_OF_VLAN_TCI(f009)
258 nx_pull_match() returned error 44010105
259 NXM_OF_VLAN_TCI(0000)
260 NXM_OF_VLAN_TCI(3123)
261 NXM_OF_VLAN_TCI(0123)
262 NXM_OF_VLAN_TCI_W(1123/1fff)
263 NXM_OF_VLAN_TCI_W(f000/f000)
264 NXM_OF_VLAN_TCI_W(0000/e000)
265
266 # IP TOS
267 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_TOS(f0)
268 nx_pull_match() returned error 44010104
269
270 # IP protocol
271 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(01)
272 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(05)
273 nx_pull_match() returned error 44010104
274
275 # IP source
276 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_SRC(ac100014)
277 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_SRC_W(c0a80000/ffff0000)
278 nx_pull_match() returned error 44010104
279 nx_pull_match() returned error 44010104
280
281 # IP destination
282 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_DST(ac100014)
283 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_DST_W(c0a80000/ffff0000)
284 nx_pull_match() returned error 44010104
285 nx_pull_match() returned error 44010104
286
287 # TCP source port
288 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(06), NXM_OF_TCP_SRC(4231)
289 nx_pull_match() returned error 44010104
290
291 # TCP destination port
292 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(06), NXM_OF_TCP_DST(4231)
293 nx_pull_match() returned error 44010104
294
295 # UDP source port
296 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(11), NXM_OF_UDP_SRC(8732)
297 nx_pull_match() returned error 44010104
298
299 # UDP destination port
300 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(11), NXM_OF_UDP_DST(1782)
301 nx_pull_match() returned error 44010104
302
303 # ICMP type
304 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(01), NXM_OF_ICMP_TYPE(12)
305 nx_pull_match() returned error 44010104
306
307 # ICMP code
308 NXM_OF_ETH_TYPE(0800), NXM_OF_IP_PROTO(01), NXM_OF_ICMP_CODE(12)
309 nx_pull_match() returned error 44010104
310 nx_pull_match() returned error 44010104
311 nx_pull_match() returned error 44010104
312
313 # ARP opcode
314 NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_OP(0001)
315 nx_pull_match() returned error 44010102
316 nx_pull_match() returned error 44010104
317 nx_pull_match() returned error 44010104
318 nx_pull_match() returned error 44010105
319
320 # ARP source
321 NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_SPA(ac100014)
322 NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_SPA_W(c0a81200/ffffff00)
323 nx_pull_match() returned error 44010104
324 nx_pull_match() returned error 44010104
325
326 # ARP destination
327 NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_TPA(ac100014)
328 NXM_OF_ETH_TYPE(0806), NXM_OF_ARP_TPA_W(c0a81200/ffffff00)
329 nx_pull_match() returned error 44010104
330 nx_pull_match() returned error 44010104
331
332 # Tunnel ID.
333 NXM_NX_TUN_ID(00000000abcdef01)
334
335 # Register 0.
336 NXM_NX_REG0(acebdf56)
337 NXM_NX_REG0_W(a0e0d050/f0f0f0f0)
338
339 # Invalid field number.
340 nx_pull_match() returned error 44010101
341
342 # Unimplemented registers.
343 #
344 # This test assumes that at least two registers, but fewer than 16,
345 # registers are implemented.
346 NXM_NX_REG0(12345678)
347 NXM_NX_REG0_W(12345678/12345678)
348 nx_pull_match() returned error 44010101
349 nx_pull_match() returned error 44010101
350 ])
351 AT_CLEANUP