1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
|
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:4a:0c:27 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:3d:8d:84 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 08:00:27:83:fe:03 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 08:00:27:36:f4:3e brd ff:ff:ff:ff:ff:ff
6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 5a:16:1e:0d:a3:a6 brd ff:ff:ff:ff:ff:ff
8: veth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 56:21:ee:2f:af:8f brd ff:ff:ff:ff:ff:ff
9: veth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 32:de:fa:b6:e5:6b brd ff:ff:ff:ff:ff:ff
10: veth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 02:d1:31:79:2a:f3 brd ff:ff:ff:ff:ff:ff
11: veth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 96:20:2b:ed:be:28 brd ff:ff:ff:ff:ff:ff
12: veth5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 4e:bd:b1:4e:5c:2a brd ff:ff:ff:ff:ff:ff
13: veth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether a6:8e:d8:ce:b0:c4 brd ff:ff:ff:ff:ff:ff
14: veth7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 06:bc:aa:dc:89:01 brd ff:ff:ff:ff:ff:ff
15: veth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether b6:40:3d:f9:85:26 brd ff:ff:ff:ff:ff:ff
17: br0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 3a:78:49:43:6e:47 brd ff:ff:ff:ff:ff:ff
# ovs-vsctl show
cf7b4728-6c31-4e90-af6d-6b7ac60b0844
Bridge "br0"
Controller "tcp:127.0.0.1:6653"
Port "veth2"
Interface "veth2"
Port "veth4"
Interface "veth4"
Port "br0"
Interface "br0"
type: internal
Port "veth6"
Interface "veth6"
Port "veth0"
Interface "veth0"
ovs_version: "2.0.0"
# ovs-ofctl dump-ports-desc br0 --protocol=OpenFlow13
OFPST_PORT_DESC reply (OF1.3) (xid=0x2):
1(veth0): addr:32:de:fa:b6:e5:6b
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
2(veth2): addr:96:20:2b:ed:be:28
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
3(veth4): addr:a6:8e:d8:ce:b0:c4
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
4(veth6): addr:b6:40:3d:f9:85:26
config: 0
state: 0
current: 10GB-FD COPPER
speed: 10000 Mbps now, 0 Mbps max
LOCAL(br0): addr:3a:78:49:43:6e:47
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
# ./oft all -V 1.3
WARNING: No route found for IPv6 destination :: (no default route?)
bsn_in_ports.MatchInPorts128 ... FAIL
actions.SetIpv4TTL ... FAIL
actions.SetVlanPcp ... FAIL
actions.SetEthDst ... ok
actions.SetIPv6Src ... ok
actions.SetUDPDst ... ok
actions.PushVlanPcp ... FAIL
actions.SetIPv4Src ... ok
actions.PushVlanVid ... FAIL
actions.SetEthSrc ... ok
actions.SetIpv4ECN_NonZeroDSCP ... ok
actions.SetIPv6Flabel ... FAIL
actions.SetIpv4ECN ... ok
actions.SetUDPSrc ... ok
actions.SetIpv6DSCP_NonZeroECNandFlabel ... ok
actions.PopVlan ... ok
actions.SetIPv6Dst ... ok
actions.SetTCPDst ... ok
actions.SetIpv4Dscp ... ok
actions.OutputMultiple ... ok
actions.SetIpv6ECN ... ok
actions.SetIPv6Flabel_NonZeroDSCPandECN ... FAIL
actions.DecIpv6HopLimit ... ok
actions.SetIpv6Dscp ... ok
actions.Output ... ok
actions.SetIpv6HopLimit ... FAIL
actions.SetIpv4DSCP_NonZeroECN ... ok
actions.SetTCPSrc ... ok
actions.SetVlanVid ... FAIL
actions.PushVlanVidPcp ... FAIL
actions.SetIpv6ECN_NonZeroDSCPandFlabel ... ok
actions.PushVlan ... FAIL
actions.SetIPv4Dst ... ok
actions.DecIpv4TTL ... ok
flow_stats.AllFlowStats ... FAIL
flow_stats.CookieFlowStats ... ok
pktin_match.VlanAbsent ... FAIL
pktin_match.VlanVid ... FAIL
groups.GroupDescStats ... FAIL
groups.GroupStatsNonexistent ... FAIL
groups.GroupAddIndirectWeight ... FAIL
groups.GroupAddInvalidAction ... FAIL
groups.GroupStatsAll ... FAIL
groups.GroupModifyEmpty ... FAIL
groups.SelectFwdSpread ... FAIL
groups.GroupFlowSelect ... ERROR
groups.GroupStats ... FAIL
groups.SelectFwdSingle ... FAIL
groups.GroupModifyLoop ... FAIL
groups.GroupDeleteAll ... FAIL
groups.GroupAdd ... FAIL
groups.GroupDeleteNonexisting ... FAIL
groups.GroupAddSelectNoWeight ... FAIL
groups.GroupAddMinimumInvalidID ... FAIL
groups.GroupAddInvalidID ... FAIL
groups.GroupDeleteExisting ... FAIL
groups.GroupModify ... FAIL
groups.GroupAddMaxID ... FAIL
groups.GroupAddIndirectBuckets ... FAIL
groups.GroupModifyInvalidID ... FAIL
groups.GroupModifyNonexisting ... FAIL
groups.GroupAddAllWeight ... FAIL
groups.SelectFwdEmpty ... FAIL
groups.GroupAddExisting ... FAIL
basic.GroupDescStats ... FAIL
basic.QueueStats ... ok
basic.PacketInMiss ... FAIL
basic.TableStats ... ok
basic.PortConfigMod ... ok
basic.AsyncConfigGet ... ERROR
basic.GroupStats ... FAIL
basic.PortDescStats ... ok
basic.DescStats ... ok
basic.OutputExact ... ok
basic.AggregateStats ... ok
basic.MeterFeaturesStats ... ok
basic.MeterStats ... ok
basic.EchoWithData ... ok
basic.PortStats ... ok
basic.GroupFeaturesStats ... ERROR
basic.PacketOut ... ok
basic.MeterConfigStats ... ok
basic.PacketInExact ... ok
basic.OutputWildcard ... ok
basic.PacketInWildcard ... ok
basic.DefaultDrop ... FAIL
basic.Echo ... ok
basic.FlowStats ... ok
basic.FeaturesRequest ... ok
basic.FlowRemoveAll ... ok
match.IPv4ICMPCode ... ok
match.VlanPCPAnyVID ... FAIL
match.EthSrcMasked ... ok
match.ArpOp ... ok
match.IPv4DstSubnetMasked ... ok
match.EthSrcMulticast ... ok
match.IPv6DstSubnetMasked ... ok
match.IPv4TCPDst ... ok
match.IPv6UDPDst ... ok
match.IPv6Dscp ... ok
match.IPv6TCPDst ... ok
match.IPv4Ecn ... ok
match.IPv6SrcMasked ... ok
match.IPv6Dst ... ok
match.IPv6ProtoUDP ... ok
match.IPv4ICMPType ... ok
match.IPv4DstMasked ... ok
match.VlanPresent ... FAIL
match.EthDst ... ok
match.VlanPCP ... FAIL
match.ArpTPA ... ok
match.EthTypeARP ... ok
match.IPv6ICMPCode ... ok
match.EthTypeNone ... ok
match.IPv4ProtoTCP ... ok
match.IPv4TCPSrc ... ok
match.EthDstBroadcast ... ok
match.VlanVID ... FAIL
match.IPv6DstMasked ... ok
match.IPv4ProtoICMP ... ok
match.VlanAbsent ... ok
match.EthSrc ... ok
match.IPv6Ecn ... ok
match.IPv4ProtoUDP ... ok
match.IPv4SrcSubnetMasked ... ok
match.IPv4UDPDst ... ok
match.IPv4SrcMasked ... ok
match.IPv6ProtoICMP ... ok
match.IPv6UDPSrc ... ok
match.VlanExact ... FAIL
match.IPv6Src ... ok
match.EthTypeIPv4 ... FAIL
match.IPv4Dst ... ok
match.IPv6ICMPType ... ok
match.IPv6ProtoTCP ... ok
match.EthDstMasked ... ok
match.InPort ... ok
match.ArpSPA ... ok
match.ArpSPAMasked ... ok
match.IPv4Src ... ok
match.ArpTPAMasked ... ok
match.ArpTPASubnetMasked ... ok
match.IPv6SrcSubnetMasked ... ok
match.EthTypeIPv6 ... FAIL
match.VlanVIDMasked ... FAIL
match.IPv4Dscp ... ok
match.IPv6TCPSrc ... ok
match.EthSrcBroadcast ... ok
match.IPv4UDPSrc ... ok
match.ArpSPASubnetMasked ... ok
======================================================================
ERROR: groups.GroupFlowSelect
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 733, in runTest
self.assertEqual(response.flow_count, 2,
AttributeError: 'flow_mod_failed_error_msg' object has no attribute 'flow_count'
======================================================================
ERROR: basic.AsyncConfigGet
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 563, in runTest
self.assertEquals(response.packet_in_mask_equal_master & 0x07, 0x07)
AttributeError: 'bad_request_error_msg' object has no attribute 'packet_in_mask_equal_master'
======================================================================
ERROR: basic.GroupFeaturesStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 441, in runTest
self.assertEquals(response.flags, 0, "Unexpected bit set in group features stats reply flags")
AttributeError: 'bad_request_error_msg' object has no attribute 'flags'
======================================================================
FAIL: bsn_in_ports.MatchInPorts128
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/bsn_in_ports.py", line 69, in runTest
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 3
======================================================================
FAIL: actions.SetIpv4TTL
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 403, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.SetVlanPcp
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 193, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.PushVlanPcp
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 163, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.PushVlanVid
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 140, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.SetIPv6Flabel
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 363, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.SetIPv6Flabel_NonZeroDSCPandECN
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 393, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.SetIpv6HopLimit
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 413, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.SetVlanVid
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 183, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.PushVlanVidPcp
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 152, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: actions.PushVlan
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/actions.py", line 129, in runTest
self.verify_modify(actions, pkt, exp_pkt)
File "/root/oftest/tests-1.3/actions.py", line 118, in verify_modify
verify_packets(self, str(exp_pkt), [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: flow_stats.AllFlowStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/flow_stats.py", line 114, in runTest
self.assertEqual(seen_cookies, set([1,2,3]))
AssertionError: Items in the second set but not the first:
1
2
3
======================================================================
FAIL: pktin_match.VlanAbsent
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/pktin_match.py", line 71, in runTest
optional=True)
File "/root/oftest/tests-1.3/pktin_match.py", line 53, in verify_pktin_match
msg = verify_packet_in(self, pktstr, in_port, ofp.OFPR_NO_MATCH)
File "/root/oftest/src/python/oftest/testutils.py", line 1582, in verify_packet_in
test.assertTrue(msg is not None, 'Packet in message not received on port %d' % in_port)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Packet in message not received on port 1
======================================================================
FAIL: pktin_match.VlanVid
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/pktin_match.py", line 81, in runTest
optional=True)
File "/root/oftest/tests-1.3/pktin_match.py", line 53, in verify_pktin_match
msg = verify_packet_in(self, pktstr, in_port, ofp.OFPR_NO_MATCH)
File "/root/oftest/src/python/oftest/testutils.py", line 1582, in verify_packet_in
test.assertTrue(msg is not None, 'Packet in message not received on port %d' % in_port)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Packet in message not received on port 1
======================================================================
FAIL: groups.GroupDescStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 634, in runTest
stats = sorted(get_stats(self, request), key=lambda x: x.group_id)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupStatsNonexistent
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 504, in runTest
stats = get_stats(self, request)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupAddIndirectWeight
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 420, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4c50> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupAddInvalidAction
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 90, in runTest
self.assertIsInstance(response, ofp.message.bad_action_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4b50> is not an instance of <class 'loxi.of13.message.bad_action_error_msg'>
======================================================================
FAIL: groups.GroupStatsAll
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 545, in runTest
stats = sorted(get_stats(self, request), key=lambda x: x.group_id)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupModifyEmpty
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 303, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.SelectFwdSpread
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 829, in runTest
verify_no_errors(self.controller)
File "/root/oftest/src/python/oftest/testutils.py", line 1684, in verify_no_errors
raise AssertionError("unexpected error type=%d code=%d" % (error.err_type, error.code))
AssertionError: unexpected error type=1 code=1
======================================================================
FAIL: groups.GroupStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 487, in runTest
stats = get_stats(self, request)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.SelectFwdSingle
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 793, in runTest
verify_no_errors(self.controller)
File "/root/oftest/src/python/oftest/testutils.py", line 1684, in verify_no_errors
raise AssertionError("unexpected error type=%d code=%d" % (error.err_type, error.code))
AssertionError: unexpected error type=1 code=1
======================================================================
FAIL: groups.GroupModifyLoop
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 255, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x30c1ed0> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupDeleteAll
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 381, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupAdd
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 44, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupDeleteNonexisting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 347, in runTest
verify_no_errors(self.controller)
File "/root/oftest/src/python/oftest/testutils.py", line 1684, in verify_no_errors
raise AssertionError("unexpected error type=%d code=%d" % (error.err_type, error.code))
AssertionError: unexpected error type=1 code=1
======================================================================
FAIL: groups.GroupAddSelectNoWeight
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 460, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4250> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupAddMinimumInvalidID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 156, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4250> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupAddInvalidID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 137, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4250> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupDeleteExisting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 333, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupModify
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 186, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupAddMaxID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 69, in runTest
stats = get_stats(self, ofp.message.group_desc_stats_request())
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: groups.GroupAddIndirectBuckets
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 440, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a44d0> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupModifyInvalidID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 274, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a44d0> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupModifyNonexisting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 209, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a44d0> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.GroupAddAllWeight
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 401, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x31a4250> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: groups.SelectFwdEmpty
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 762, in runTest
verify_no_errors(self.controller)
File "/root/oftest/src/python/oftest/testutils.py", line 1684, in verify_no_errors
raise AssertionError("unexpected error type=%d code=%d" % (error.err_type, error.code))
AssertionError: unexpected error type=1 code=1
======================================================================
FAIL: groups.GroupAddExisting
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/groups.py", line 118, in runTest
self.assertIsInstance(response, ofp.message.group_mod_failed_error_msg)
AssertionError: <loxi.of13.message.bad_request_error_msg object at 0x30c1d10> is not an instance of <class 'loxi.of13.message.group_mod_failed_error_msg'>
======================================================================
FAIL: basic.GroupDescStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 424, in runTest
stats = get_stats(self, request)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: basic.PacketInMiss
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 262, in runTest
verify_packet_in(self, pkt, of_port, ofp.OFPR_NO_MATCH)
File "/root/oftest/src/python/oftest/testutils.py", line 1582, in verify_packet_in
test.assertTrue(msg is not None, 'Packet in message not received on port %d' % in_port)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Packet in message not received on port 1
======================================================================
FAIL: basic.GroupStats
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 410, in runTest
stats = get_stats(self, request)
File "/root/oftest/src/python/oftest/testutils.py", line 1322, in get_stats
test.assertEquals(reply.type, msgtype, "Response had unexpected message type")
AssertionError: Response had unexpected message type
======================================================================
FAIL: basic.DefaultDrop
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/basic.py", line 75, in runTest
verify_no_packet_in(self, pkt, None)
File "/root/oftest/src/python/oftest/testutils.py", line 1614, in verify_no_packet_in
test.assertTrue(msg == None, "Did not expect a packet-in message on any port")
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not expect a packet-in message on any port
======================================================================
FAIL: match.VlanPCPAnyVID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 566, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.VlanPresent
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 587, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.VlanPCP
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 517, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.VlanVID
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 471, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.VlanExact
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 450, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.EthTypeIPv4
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 349, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.EthTypeIPv6
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 372, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
======================================================================
FAIL: match.VlanVIDMasked
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/oftest/tests-1.3/match.py", line 496, in runTest
self.verify_match(match, matching, nonmatching)
File "/root/oftest/tests-1.3/match.py", line 77, in verify_match
verify_packets(self, pktstr, [out_port])
File "/root/oftest/src/python/oftest/testutils.py", line 1676, in verify_packets
verify_packet(test, pkt, ofport)
File "/root/oftest/src/python/oftest/testutils.py", line 1637, in verify_packet
test.assertTrue(rcv_pkt != None, "Did not receive pkt on %r" % ofport)
File "/root/oftest/src/python/oftest/base_tests.py", line 97, in assertTrue
unittest.TestCase.assertTrue(self, cond, msg)
AssertionError: Did not receive pkt on 2
----------------------------------------------------------------------
Ran 151 tests in 1249.516s
FAILED (failures=51, errors=3)
|