pio 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +4 -0
- data/Rakefile +1 -1
- data/bin/terminal-notifier +16 -0
- data/features/open_flow10/bad_request.feature +35 -0
- data/features/open_flow10/bad_request.raw +0 -0
- data/features/open_flow10/barrier_reply.feature +4 -4
- data/features/open_flow10/barrier_request.feature +4 -4
- data/features/open_flow10/echo_reply.feature +13 -13
- data/features/open_flow10/echo_request.feature +6 -6
- data/features/open_flow10/enqueue.feature +17 -0
- data/features/open_flow10/features_reply.feature +2 -2
- data/features/open_flow10/features_request.feature +28 -28
- data/features/open_flow10/flow_mod.feature +5 -5
- data/features/open_flow10/flow_stats_reply.feature +12 -12
- data/features/open_flow10/flow_stats_request.feature +3 -3
- data/features/open_flow10/hello.feature +8 -15
- data/features/open_flow10/hello_failed.feature +69 -0
- data/features/open_flow10/hello_failed.raw +0 -0
- data/features/open_flow10/nxast_learn.raw +0 -0
- data/features/open_flow10/packet_in.feature +2 -2
- data/features/open_flow10/packet_out.feature +13 -13
- data/features/open_flow10/port_status.feature +1 -1
- data/features/open_flow10/send_out_port.feature +106 -0
- data/features/open_flow10/set_ether_destination_address.feature +16 -0
- data/features/open_flow10/set_ether_source_address.feature +16 -0
- data/features/open_flow10/set_ip_destination_address.feature +16 -0
- data/features/open_flow10/set_ip_source_address.feature +16 -0
- data/features/open_flow10/set_ip_tos.feature +16 -0
- data/features/open_flow10/set_transport_destination_port.feature +16 -0
- data/features/open_flow10/set_transport_source_port.feature +16 -0
- data/features/open_flow10/set_vlan_priority.feature +16 -0
- data/features/open_flow10/set_vlan_vid.feature +16 -0
- data/features/open_flow10/strip_vlan_header.feature +15 -0
- data/features/open_flow10/vendor_action.feature +14 -0
- data/features/open_flow13/bad_request.feature +35 -0
- data/features/open_flow13/bad_request.raw +0 -0
- data/features/open_flow13/echo_reply.feature +7 -7
- data/features/open_flow13/echo_request.feature +7 -7
- data/features/open_flow13/features_reply.feature +2 -2
- data/features/open_flow13/features_request.feature +28 -28
- data/features/open_flow13/flow_mod.feature +24 -24
- data/features/open_flow13/hello.feature +5 -5
- data/features/open_flow13/hello_failed.feature +69 -0
- data/features/open_flow13/hello_failed.raw +0 -0
- data/features/open_flow13/packet_in.feature +3 -3
- data/features/open_flow13/packet_out.feature +3 -3
- data/features/open_flow13/send_out_port.feature +101 -10
- data/features/open_flow13/table_stats_reply.raw +0 -0
- data/features/open_flow13/table_stats_request.raw +0 -0
- data/features/open_flow_read.feature +6 -0
- data/features/step_definitions/Gemfile +9 -0
- data/features/step_definitions/Gemfile.lock +76 -0
- data/features/step_definitions/Guardfile +4 -0
- data/features/step_definitions/LICENSE +675 -0
- data/features/step_definitions/README.md +7 -0
- data/features/step_definitions/Rakefile +10 -0
- data/features/step_definitions/dump_flows_steps.rb +13 -0
- data/features/step_definitions/packet_data_steps.rb +4 -0
- data/features/step_definitions/rest_api_steps.rb +40 -0
- data/features/step_definitions/show_stats_steps.rb +83 -0
- data/features/step_definitions/trema_steps.rb +33 -0
- data/features/step_definitions/virtual_link_steps.rb +8 -0
- data/lib/pio/open_flow.rb +5 -5
- data/lib/pio/open_flow/echo.rb +1 -1
- data/lib/pio/open_flow/error.rb +19 -0
- data/lib/pio/open_flow/format.rb +2 -1
- data/lib/pio/open_flow/hello_failed_code.rb +21 -0
- data/lib/pio/open_flow/open_flow_header.rb +11 -2
- data/lib/pio/open_flow/port.rb +69 -0
- data/lib/pio/open_flow10.rb +5 -0
- data/lib/pio/open_flow10/actions.rb +8 -6
- data/lib/pio/open_flow10/enqueue.rb +13 -13
- data/lib/pio/open_flow10/error.rb +28 -0
- data/lib/pio/open_flow10/error/bad_request.rb +66 -0
- data/lib/pio/open_flow10/error/error_type10.rb +26 -0
- data/lib/pio/open_flow10/error/hello_failed.rb +41 -0
- data/lib/pio/open_flow10/features.rb +6 -10
- data/lib/pio/open_flow10/flow_mod.rb +1 -1
- data/lib/pio/open_flow10/flow_stats_request.rb +1 -1
- data/lib/pio/open_flow10/hello.rb +2 -2
- data/lib/pio/open_flow10/match.rb +2 -2
- data/lib/pio/{open_flow/phy_port.rb → open_flow10/phy_port16.rb} +4 -4
- data/lib/pio/open_flow10/port16.rb +21 -0
- data/lib/pio/open_flow10/port_status.rb +1 -1
- data/lib/pio/open_flow10/send_out_port.rb +16 -40
- data/lib/pio/open_flow10/set_ether_address.rb +9 -8
- data/lib/pio/open_flow10/set_ip_address.rb +4 -4
- data/lib/pio/open_flow10/set_ip_tos.rb +4 -4
- data/lib/pio/open_flow10/set_transport_port.rb +12 -12
- data/lib/pio/open_flow10/set_vlan.rb +4 -4
- data/lib/pio/open_flow10/set_vlan_vid.rb +0 -12
- data/lib/pio/open_flow10/strip_vlan_header.rb +7 -7
- data/lib/pio/open_flow10/vendor_action.rb +33 -0
- data/lib/pio/open_flow13.rb +3 -0
- data/lib/pio/open_flow13/actions.rb +3 -3
- data/lib/pio/open_flow13/error.rb +28 -0
- data/lib/pio/open_flow13/error/bad_request.rb +66 -0
- data/lib/pio/open_flow13/error/error_type13.rb +37 -0
- data/lib/pio/open_flow13/error/hello_failed.rb +42 -0
- data/lib/pio/open_flow13/features_reply.rb +33 -33
- data/lib/pio/open_flow13/features_request.rb +3 -3
- data/lib/pio/open_flow13/flow_mod.rb +2 -2
- data/lib/pio/open_flow13/goto_table.rb +2 -0
- data/lib/pio/open_flow13/packet_out.rb +1 -1
- data/lib/pio/open_flow13/port32.rb +21 -0
- data/lib/pio/open_flow13/send_out_port.rb +3 -2
- data/lib/pio/version.rb +1 -1
- data/pio.gemspec +5 -5
- data/spec/pio/open_flow10/enqueue_spec.rb +22 -22
- data/spec/pio/open_flow10/error/hello_failed_spec.rb +26 -0
- data/spec/pio/open_flow10/flow_mod_spec.rb +6 -6
- data/spec/pio/open_flow10/flow_stats_request_spec.rb +1 -1
- data/spec/pio/open_flow10/hello_spec.rb +3 -3
- data/spec/pio/open_flow10/packet_out_spec.rb +33 -33
- data/spec/pio/{open_flow/phy_port_spec.rb → open_flow10/phy_port16_spec.rb} +7 -7
- data/spec/pio/open_flow10/send_out_port_spec.rb +28 -28
- data/spec/pio/open_flow10/set_ether_destination_address_spec.rb +2 -2
- data/spec/pio/open_flow10/set_ether_source_address_spec.rb +2 -2
- data/spec/pio/open_flow10/set_ip_destination_address_spec.rb +4 -4
- data/spec/pio/open_flow10/set_ip_source_address_spec.rb +4 -4
- data/spec/pio/open_flow10/set_ip_tos_spec.rb +4 -4
- data/spec/pio/open_flow10/set_transport_destination_port_spec.rb +11 -11
- data/spec/pio/open_flow10/set_transport_source_port_spec.rb +11 -11
- data/spec/pio/open_flow10/set_vlan_priority_spec.rb +4 -4
- data/spec/pio/open_flow10/set_vlan_vid_spec.rb +4 -4
- data/spec/pio/open_flow10/strip_vlan_header_spec.rb +6 -6
- data/spec/pio/open_flow13/error/bad_request_spec.rb +6 -0
- data/spec/pio/open_flow13/error/hello_failed_spec.rb +26 -0
- data/spec/pio/open_flow13/hello_spec.rb +3 -3
- data/spec/support/shared_examples_for_openflow_messages.rb +40 -27
- metadata +106 -16
- data/lib/pio/open_flow/port_number.rb +0 -39
@@ -1,45 +1,58 @@
|
|
1
1
|
shared_examples 'an OpenFlow message' do |klass|
|
2
|
-
|
2
|
+
describe '.new' do
|
3
|
+
When(:message) { klass.new(options) }
|
3
4
|
|
4
|
-
|
5
|
-
|
5
|
+
context 'with transaction_id: 123' do
|
6
|
+
Given(:options) { { transaction_id: 123 } }
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
Then { message.transaction_id == 123 }
|
9
|
+
Then { message.xid == 123 }
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
-
|
12
|
+
context 'with xid: 123' do
|
13
|
+
When(:options) { { xid: 123 } }
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
Then { message.transaction_id == 123 }
|
16
|
+
Then { message.xid == 123 }
|
17
|
+
end
|
17
18
|
|
18
|
-
|
19
|
-
|
19
|
+
context 'with xid: -1' do
|
20
|
+
When(:options) { { xid: -1 } }
|
20
21
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
Then { message == Failure(ArgumentError, 'Transaction ID should be an unsigned 32-bit integer.') }
|
23
|
+
end
|
24
|
+
|
25
|
+
context 'with xid: 2**32' do
|
26
|
+
When(:options) { { xid: 2**32 } }
|
27
|
+
|
28
|
+
Then { message == Failure(ArgumentError, 'Transaction ID should be an unsigned 32-bit integer.') }
|
29
|
+
end
|
30
|
+
|
31
|
+
context 'with UNKNOWN_OPTION: :UNKNOWN_VALUE' do
|
32
|
+
When(:options) { { UNKNOWN_OPTION: :UNKNOWN_VALUE } }
|
33
|
+
|
34
|
+
Then { message == Failure(RuntimeError, 'Unknown option: UNKNOWN_OPTION') }
|
25
35
|
end
|
26
36
|
end
|
27
37
|
|
28
|
-
|
29
|
-
When(:
|
38
|
+
describe '.read' do
|
39
|
+
When(:result) { klass.read(binary) }
|
30
40
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
'Transaction ID should be an unsigned 32-bit integer.')
|
41
|
+
context "with 'DEADBEEF'" do
|
42
|
+
Given(:binary) { 'DEADBEEF' }
|
43
|
+
Then { result == Failure(Pio::ParseError) }
|
35
44
|
end
|
36
45
|
end
|
46
|
+
end
|
37
47
|
|
38
|
-
|
39
|
-
|
48
|
+
shared_examples 'an OpenFlow message with no body' do |klass|
|
49
|
+
describe '.new' do
|
50
|
+
When(:message) { klass.new(options) }
|
40
51
|
|
41
|
-
|
42
|
-
|
52
|
+
context "with body: 'DEADBEEF'" do
|
53
|
+
When(:options) { { body: 'DEADBEEF' } }
|
54
|
+
|
55
|
+
Then { message == Failure(RuntimeError, 'Unknown option: body') }
|
43
56
|
end
|
44
57
|
end
|
45
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuhito Takamiya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bindata
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - ~>
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.9.
|
159
|
+
version: 0.9.6
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ~>
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.9.
|
166
|
+
version: 0.9.6
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rb-inotify
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - ~>
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.6.
|
201
|
+
version: 0.6.4
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - ~>
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.6.
|
208
|
+
version: 0.6.4
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: relish
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - ~>
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.4.
|
243
|
+
version: 0.4.8
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - ~>
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.4.
|
250
|
+
version: 0.4.8
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: coveralls
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -310,14 +310,14 @@ dependencies:
|
|
310
310
|
requirements:
|
311
311
|
- - ~>
|
312
312
|
- !ruby/object:Gem::Version
|
313
|
-
version:
|
313
|
+
version: 3.3.1
|
314
314
|
type: :development
|
315
315
|
prerelease: false
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
318
|
- - ~>
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version:
|
320
|
+
version: 3.3.1
|
321
321
|
- !ruby/object:Gem::Dependency
|
322
322
|
name: rspec
|
323
323
|
requirement: !ruby/object:Gem::Requirement
|
@@ -352,14 +352,14 @@ dependencies:
|
|
352
352
|
requirements:
|
353
353
|
- - ~>
|
354
354
|
- !ruby/object:Gem::Version
|
355
|
-
version: 0.
|
355
|
+
version: 0.34.0
|
356
356
|
type: :development
|
357
357
|
prerelease: false
|
358
358
|
version_requirements: !ruby/object:Gem::Requirement
|
359
359
|
requirements:
|
360
360
|
- - ~>
|
361
361
|
- !ruby/object:Gem::Version
|
362
|
-
version: 0.
|
362
|
+
version: 0.34.0
|
363
363
|
description: Pure ruby packet parser and generator.
|
364
364
|
email:
|
365
365
|
- yasuhito@gmail.com
|
@@ -407,6 +407,7 @@ files:
|
|
407
407
|
- bin/sparkr
|
408
408
|
- bin/term_display
|
409
409
|
- bin/term_mandel
|
410
|
+
- bin/terminal-notifier
|
410
411
|
- bin/thor
|
411
412
|
- bin/unparser
|
412
413
|
- bin/yard
|
@@ -424,6 +425,8 @@ files:
|
|
424
425
|
- features/lldp.minimal.pcap
|
425
426
|
- features/open_flow10/aggregate_stats_reply.raw
|
426
427
|
- features/open_flow10/aggregate_stats_request.raw
|
428
|
+
- features/open_flow10/bad_request.feature
|
429
|
+
- features/open_flow10/bad_request.raw
|
427
430
|
- features/open_flow10/barrier_reply.feature
|
428
431
|
- features/open_flow10/barrier_reply.raw
|
429
432
|
- features/open_flow10/barrier_request.feature
|
@@ -434,6 +437,7 @@ files:
|
|
434
437
|
- features/open_flow10/echo_reply.raw
|
435
438
|
- features/open_flow10/echo_request.feature
|
436
439
|
- features/open_flow10/echo_request.raw
|
440
|
+
- features/open_flow10/enqueue.feature
|
437
441
|
- features/open_flow10/error.raw
|
438
442
|
- features/open_flow10/exact_match.feature
|
439
443
|
- features/open_flow10/features_reply.feature
|
@@ -455,6 +459,9 @@ files:
|
|
455
459
|
- features/open_flow10/get_config_request.raw
|
456
460
|
- features/open_flow10/hello.feature
|
457
461
|
- features/open_flow10/hello.raw
|
462
|
+
- features/open_flow10/hello_failed.feature
|
463
|
+
- features/open_flow10/hello_failed.raw
|
464
|
+
- features/open_flow10/nxast_learn.raw
|
458
465
|
- features/open_flow10/packet_in.feature
|
459
466
|
- features/open_flow10/packet_in.raw
|
460
467
|
- features/open_flow10/packet_in_arp_request.raw
|
@@ -468,10 +475,22 @@ files:
|
|
468
475
|
- features/open_flow10/port_status.raw
|
469
476
|
- features/open_flow10/queue_get_config_reply.raw
|
470
477
|
- features/open_flow10/queue_get_config_request.raw
|
478
|
+
- features/open_flow10/send_out_port.feature
|
471
479
|
- features/open_flow10/set_config.raw
|
480
|
+
- features/open_flow10/set_ether_destination_address.feature
|
481
|
+
- features/open_flow10/set_ether_source_address.feature
|
482
|
+
- features/open_flow10/set_ip_destination_address.feature
|
483
|
+
- features/open_flow10/set_ip_source_address.feature
|
484
|
+
- features/open_flow10/set_ip_tos.feature
|
485
|
+
- features/open_flow10/set_transport_destination_port.feature
|
486
|
+
- features/open_flow10/set_transport_source_port.feature
|
487
|
+
- features/open_flow10/set_vlan_priority.feature
|
488
|
+
- features/open_flow10/set_vlan_vid.feature
|
489
|
+
- features/open_flow10/strip_vlan_header.feature
|
472
490
|
- features/open_flow10/table_stats_reply.raw
|
473
491
|
- features/open_flow10/table_stats_request.raw
|
474
492
|
- features/open_flow10/vendor.raw
|
493
|
+
- features/open_flow10/vendor_action.feature
|
475
494
|
- features/open_flow10/vendor_stats_request.raw
|
476
495
|
- features/open_flow13/action_copy_ttl_in.raw
|
477
496
|
- features/open_flow13/action_copy_ttl_out.raw
|
@@ -490,6 +509,8 @@ files:
|
|
490
509
|
- features/open_flow13/action_set_queue.raw
|
491
510
|
- features/open_flow13/apply_actions.feature
|
492
511
|
- features/open_flow13/apply_actions.raw
|
512
|
+
- features/open_flow13/bad_request.feature
|
513
|
+
- features/open_flow13/bad_request.raw
|
493
514
|
- features/open_flow13/echo_reply.feature
|
494
515
|
- features/open_flow13/echo_reply_body.raw
|
495
516
|
- features/open_flow13/echo_reply_no_body.raw
|
@@ -506,6 +527,8 @@ files:
|
|
506
527
|
- features/open_flow13/flow_mod_no_match_or_instructions.raw
|
507
528
|
- features/open_flow13/goto_table.feature
|
508
529
|
- features/open_flow13/hello.feature
|
530
|
+
- features/open_flow13/hello_failed.feature
|
531
|
+
- features/open_flow13/hello_failed.raw
|
509
532
|
- features/open_flow13/hello_no_version_bitmap.raw
|
510
533
|
- features/open_flow13/hello_version_bitmap.raw
|
511
534
|
- features/open_flow13/instruction_clear_actions.raw
|
@@ -566,11 +589,24 @@ files:
|
|
566
589
|
- features/open_flow13/packet_out.raw
|
567
590
|
- features/open_flow13/send_out_port.feature
|
568
591
|
- features/open_flow13/send_out_port.raw
|
592
|
+
- features/open_flow13/table_stats_reply.raw
|
593
|
+
- features/open_flow13/table_stats_request.raw
|
569
594
|
- features/open_flow13/write_metadata.feature
|
570
595
|
- features/open_flow_read.feature
|
571
596
|
- features/open_flow_version.feature
|
597
|
+
- features/step_definitions/Gemfile
|
598
|
+
- features/step_definitions/Gemfile.lock
|
599
|
+
- features/step_definitions/Guardfile
|
600
|
+
- features/step_definitions/LICENSE
|
601
|
+
- features/step_definitions/README.md
|
602
|
+
- features/step_definitions/Rakefile
|
603
|
+
- features/step_definitions/dump_flows_steps.rb
|
572
604
|
- features/step_definitions/open_flow_steps.rb
|
573
605
|
- features/step_definitions/packet_data_steps.rb
|
606
|
+
- features/step_definitions/rest_api_steps.rb
|
607
|
+
- features/step_definitions/show_stats_steps.rb
|
608
|
+
- features/step_definitions/trema_steps.rb
|
609
|
+
- features/step_definitions/virtual_link_steps.rb
|
574
610
|
- features/support/env.rb
|
575
611
|
- features/support/hooks.rb
|
576
612
|
- features/udp.feature
|
@@ -631,12 +667,13 @@ files:
|
|
631
667
|
- lib/pio/open_flow.rb
|
632
668
|
- lib/pio/open_flow/datapath_id.rb
|
633
669
|
- lib/pio/open_flow/echo.rb
|
670
|
+
- lib/pio/open_flow/error.rb
|
634
671
|
- lib/pio/open_flow/flags.rb
|
635
672
|
- lib/pio/open_flow/format.rb
|
673
|
+
- lib/pio/open_flow/hello_failed_code.rb
|
636
674
|
- lib/pio/open_flow/message.rb
|
637
675
|
- lib/pio/open_flow/open_flow_header.rb
|
638
|
-
- lib/pio/open_flow/
|
639
|
-
- lib/pio/open_flow/port_number.rb
|
676
|
+
- lib/pio/open_flow/port.rb
|
640
677
|
- lib/pio/open_flow/transaction_id.rb
|
641
678
|
- lib/pio/open_flow10.rb
|
642
679
|
- lib/pio/open_flow10/actions.rb
|
@@ -644,6 +681,10 @@ files:
|
|
644
681
|
- lib/pio/open_flow10/barrier_request.rb
|
645
682
|
- lib/pio/open_flow10/echo.rb
|
646
683
|
- lib/pio/open_flow10/enqueue.rb
|
684
|
+
- lib/pio/open_flow10/error.rb
|
685
|
+
- lib/pio/open_flow10/error/bad_request.rb
|
686
|
+
- lib/pio/open_flow10/error/error_type10.rb
|
687
|
+
- lib/pio/open_flow10/error/hello_failed.rb
|
647
688
|
- lib/pio/open_flow10/exact_match.rb
|
648
689
|
- lib/pio/open_flow10/features.rb
|
649
690
|
- lib/pio/open_flow10/flow_mod.rb
|
@@ -653,6 +694,8 @@ files:
|
|
653
694
|
- lib/pio/open_flow10/match.rb
|
654
695
|
- lib/pio/open_flow10/packet_in.rb
|
655
696
|
- lib/pio/open_flow10/packet_out.rb
|
697
|
+
- lib/pio/open_flow10/phy_port16.rb
|
698
|
+
- lib/pio/open_flow10/port16.rb
|
656
699
|
- lib/pio/open_flow10/port_status.rb
|
657
700
|
- lib/pio/open_flow10/send_out_port.rb
|
658
701
|
- lib/pio/open_flow10/set_ether_address.rb
|
@@ -664,11 +707,16 @@ files:
|
|
664
707
|
- lib/pio/open_flow10/set_vlan_vid.rb
|
665
708
|
- lib/pio/open_flow10/stats_type.rb
|
666
709
|
- lib/pio/open_flow10/strip_vlan_header.rb
|
710
|
+
- lib/pio/open_flow10/vendor_action.rb
|
667
711
|
- lib/pio/open_flow13.rb
|
668
712
|
- lib/pio/open_flow13/actions.rb
|
669
713
|
- lib/pio/open_flow13/apply.rb
|
670
714
|
- lib/pio/open_flow13/buffer_id.rb
|
671
715
|
- lib/pio/open_flow13/echo.rb
|
716
|
+
- lib/pio/open_flow13/error.rb
|
717
|
+
- lib/pio/open_flow13/error/bad_request.rb
|
718
|
+
- lib/pio/open_flow13/error/error_type13.rb
|
719
|
+
- lib/pio/open_flow13/error/hello_failed.rb
|
672
720
|
- lib/pio/open_flow13/features_reply.rb
|
673
721
|
- lib/pio/open_flow13/features_request.rb
|
674
722
|
- lib/pio/open_flow13/flow_mod.rb
|
@@ -678,6 +726,7 @@ files:
|
|
678
726
|
- lib/pio/open_flow13/meter.rb
|
679
727
|
- lib/pio/open_flow13/packet_in.rb
|
680
728
|
- lib/pio/open_flow13/packet_out.rb
|
729
|
+
- lib/pio/open_flow13/port32.rb
|
681
730
|
- lib/pio/open_flow13/send_out_port.rb
|
682
731
|
- lib/pio/open_flow13/write_metadata.rb
|
683
732
|
- lib/pio/options.rb
|
@@ -708,10 +757,10 @@ files:
|
|
708
757
|
- spec/pio/ipv4_address_spec.rb
|
709
758
|
- spec/pio/lldp/options_spec.rb
|
710
759
|
- spec/pio/mac_spec.rb
|
711
|
-
- spec/pio/open_flow/phy_port_spec.rb
|
712
760
|
- spec/pio/open_flow10/echo_reply_spec.rb
|
713
761
|
- spec/pio/open_flow10/echo_request_spec.rb
|
714
762
|
- spec/pio/open_flow10/enqueue_spec.rb
|
763
|
+
- spec/pio/open_flow10/error/hello_failed_spec.rb
|
715
764
|
- spec/pio/open_flow10/features_reply_spec.rb
|
716
765
|
- spec/pio/open_flow10/features_request_spec.rb
|
717
766
|
- spec/pio/open_flow10/flow_mod_spec.rb
|
@@ -721,6 +770,7 @@ files:
|
|
721
770
|
- spec/pio/open_flow10/match_spec.rb
|
722
771
|
- spec/pio/open_flow10/packet_in_spec.rb
|
723
772
|
- spec/pio/open_flow10/packet_out_spec.rb
|
773
|
+
- spec/pio/open_flow10/phy_port16_spec.rb
|
724
774
|
- spec/pio/open_flow10/send_out_port_spec.rb
|
725
775
|
- spec/pio/open_flow10/set_ether_destination_address_spec.rb
|
726
776
|
- spec/pio/open_flow10/set_ether_source_address_spec.rb
|
@@ -735,6 +785,8 @@ files:
|
|
735
785
|
- spec/pio/open_flow10/wildcards_spec.rb
|
736
786
|
- spec/pio/open_flow13/echo_reply_spec.rb
|
737
787
|
- spec/pio/open_flow13/echo_request_spec.rb
|
788
|
+
- spec/pio/open_flow13/error/bad_request_spec.rb
|
789
|
+
- spec/pio/open_flow13/error/hello_failed_spec.rb
|
738
790
|
- spec/pio/open_flow13/features_reply_spec.rb
|
739
791
|
- spec/pio/open_flow13/features_request_spec.rb
|
740
792
|
- spec/pio/open_flow13/goto_table_spec.rb
|
@@ -788,10 +840,10 @@ test_files:
|
|
788
840
|
- spec/pio/ipv4_address_spec.rb
|
789
841
|
- spec/pio/lldp/options_spec.rb
|
790
842
|
- spec/pio/mac_spec.rb
|
791
|
-
- spec/pio/open_flow/phy_port_spec.rb
|
792
843
|
- spec/pio/open_flow10/echo_reply_spec.rb
|
793
844
|
- spec/pio/open_flow10/echo_request_spec.rb
|
794
845
|
- spec/pio/open_flow10/enqueue_spec.rb
|
846
|
+
- spec/pio/open_flow10/error/hello_failed_spec.rb
|
795
847
|
- spec/pio/open_flow10/features_reply_spec.rb
|
796
848
|
- spec/pio/open_flow10/features_request_spec.rb
|
797
849
|
- spec/pio/open_flow10/flow_mod_spec.rb
|
@@ -801,6 +853,7 @@ test_files:
|
|
801
853
|
- spec/pio/open_flow10/match_spec.rb
|
802
854
|
- spec/pio/open_flow10/packet_in_spec.rb
|
803
855
|
- spec/pio/open_flow10/packet_out_spec.rb
|
856
|
+
- spec/pio/open_flow10/phy_port16_spec.rb
|
804
857
|
- spec/pio/open_flow10/send_out_port_spec.rb
|
805
858
|
- spec/pio/open_flow10/set_ether_destination_address_spec.rb
|
806
859
|
- spec/pio/open_flow10/set_ether_source_address_spec.rb
|
@@ -815,6 +868,8 @@ test_files:
|
|
815
868
|
- spec/pio/open_flow10/wildcards_spec.rb
|
816
869
|
- spec/pio/open_flow13/echo_reply_spec.rb
|
817
870
|
- spec/pio/open_flow13/echo_request_spec.rb
|
871
|
+
- spec/pio/open_flow13/error/bad_request_spec.rb
|
872
|
+
- spec/pio/open_flow13/error/hello_failed_spec.rb
|
818
873
|
- spec/pio/open_flow13/features_reply_spec.rb
|
819
874
|
- spec/pio/open_flow13/features_request_spec.rb
|
820
875
|
- spec/pio/open_flow13/goto_table_spec.rb
|
@@ -839,6 +894,8 @@ test_files:
|
|
839
894
|
- features/lldp.minimal.pcap
|
840
895
|
- features/open_flow10/aggregate_stats_reply.raw
|
841
896
|
- features/open_flow10/aggregate_stats_request.raw
|
897
|
+
- features/open_flow10/bad_request.feature
|
898
|
+
- features/open_flow10/bad_request.raw
|
842
899
|
- features/open_flow10/barrier_reply.feature
|
843
900
|
- features/open_flow10/barrier_reply.raw
|
844
901
|
- features/open_flow10/barrier_request.feature
|
@@ -849,6 +906,7 @@ test_files:
|
|
849
906
|
- features/open_flow10/echo_reply.raw
|
850
907
|
- features/open_flow10/echo_request.feature
|
851
908
|
- features/open_flow10/echo_request.raw
|
909
|
+
- features/open_flow10/enqueue.feature
|
852
910
|
- features/open_flow10/error.raw
|
853
911
|
- features/open_flow10/exact_match.feature
|
854
912
|
- features/open_flow10/features_reply.feature
|
@@ -870,6 +928,9 @@ test_files:
|
|
870
928
|
- features/open_flow10/get_config_request.raw
|
871
929
|
- features/open_flow10/hello.feature
|
872
930
|
- features/open_flow10/hello.raw
|
931
|
+
- features/open_flow10/hello_failed.feature
|
932
|
+
- features/open_flow10/hello_failed.raw
|
933
|
+
- features/open_flow10/nxast_learn.raw
|
873
934
|
- features/open_flow10/packet_in.feature
|
874
935
|
- features/open_flow10/packet_in.raw
|
875
936
|
- features/open_flow10/packet_in_arp_request.raw
|
@@ -883,10 +944,22 @@ test_files:
|
|
883
944
|
- features/open_flow10/port_status.raw
|
884
945
|
- features/open_flow10/queue_get_config_reply.raw
|
885
946
|
- features/open_flow10/queue_get_config_request.raw
|
947
|
+
- features/open_flow10/send_out_port.feature
|
886
948
|
- features/open_flow10/set_config.raw
|
949
|
+
- features/open_flow10/set_ether_destination_address.feature
|
950
|
+
- features/open_flow10/set_ether_source_address.feature
|
951
|
+
- features/open_flow10/set_ip_destination_address.feature
|
952
|
+
- features/open_flow10/set_ip_source_address.feature
|
953
|
+
- features/open_flow10/set_ip_tos.feature
|
954
|
+
- features/open_flow10/set_transport_destination_port.feature
|
955
|
+
- features/open_flow10/set_transport_source_port.feature
|
956
|
+
- features/open_flow10/set_vlan_priority.feature
|
957
|
+
- features/open_flow10/set_vlan_vid.feature
|
958
|
+
- features/open_flow10/strip_vlan_header.feature
|
887
959
|
- features/open_flow10/table_stats_reply.raw
|
888
960
|
- features/open_flow10/table_stats_request.raw
|
889
961
|
- features/open_flow10/vendor.raw
|
962
|
+
- features/open_flow10/vendor_action.feature
|
890
963
|
- features/open_flow10/vendor_stats_request.raw
|
891
964
|
- features/open_flow13/action_copy_ttl_in.raw
|
892
965
|
- features/open_flow13/action_copy_ttl_out.raw
|
@@ -905,6 +978,8 @@ test_files:
|
|
905
978
|
- features/open_flow13/action_set_queue.raw
|
906
979
|
- features/open_flow13/apply_actions.feature
|
907
980
|
- features/open_flow13/apply_actions.raw
|
981
|
+
- features/open_flow13/bad_request.feature
|
982
|
+
- features/open_flow13/bad_request.raw
|
908
983
|
- features/open_flow13/echo_reply.feature
|
909
984
|
- features/open_flow13/echo_reply_body.raw
|
910
985
|
- features/open_flow13/echo_reply_no_body.raw
|
@@ -921,6 +996,8 @@ test_files:
|
|
921
996
|
- features/open_flow13/flow_mod_no_match_or_instructions.raw
|
922
997
|
- features/open_flow13/goto_table.feature
|
923
998
|
- features/open_flow13/hello.feature
|
999
|
+
- features/open_flow13/hello_failed.feature
|
1000
|
+
- features/open_flow13/hello_failed.raw
|
924
1001
|
- features/open_flow13/hello_no_version_bitmap.raw
|
925
1002
|
- features/open_flow13/hello_version_bitmap.raw
|
926
1003
|
- features/open_flow13/instruction_clear_actions.raw
|
@@ -981,11 +1058,24 @@ test_files:
|
|
981
1058
|
- features/open_flow13/packet_out.raw
|
982
1059
|
- features/open_flow13/send_out_port.feature
|
983
1060
|
- features/open_flow13/send_out_port.raw
|
1061
|
+
- features/open_flow13/table_stats_reply.raw
|
1062
|
+
- features/open_flow13/table_stats_request.raw
|
984
1063
|
- features/open_flow13/write_metadata.feature
|
985
1064
|
- features/open_flow_read.feature
|
986
1065
|
- features/open_flow_version.feature
|
1066
|
+
- features/step_definitions/dump_flows_steps.rb
|
1067
|
+
- features/step_definitions/Gemfile
|
1068
|
+
- features/step_definitions/Gemfile.lock
|
1069
|
+
- features/step_definitions/Guardfile
|
1070
|
+
- features/step_definitions/LICENSE
|
987
1071
|
- features/step_definitions/open_flow_steps.rb
|
988
1072
|
- features/step_definitions/packet_data_steps.rb
|
1073
|
+
- features/step_definitions/Rakefile
|
1074
|
+
- features/step_definitions/README.md
|
1075
|
+
- features/step_definitions/rest_api_steps.rb
|
1076
|
+
- features/step_definitions/show_stats_steps.rb
|
1077
|
+
- features/step_definitions/trema_steps.rb
|
1078
|
+
- features/step_definitions/virtual_link_steps.rb
|
989
1079
|
- features/support/env.rb
|
990
1080
|
- features/support/hooks.rb
|
991
1081
|
- features/udp.feature
|