pio 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/bin/{code_metrics → terminal-notifier} +2 -2
  4. data/features/{open_flow10 → open_flow}/nicira_resubmit.feature +0 -1
  5. data/features/{open_flow10 → open_flow}/nicira_resubmit_table.feature +0 -1
  6. data/features/open_flow13/nicira_reg_load.feature +56 -0
  7. data/features/open_flow13/nicira_reg_move.feature +21 -0
  8. data/features/open_flow13/nicira_send_out_port.feature +20 -0
  9. data/features/open_flow13/set_metadata.feature +14 -0
  10. data/lib/pio/open_flow.rb +3 -3
  11. data/lib/pio/open_flow/nicira_resubmit.rb +18 -0
  12. data/lib/pio/open_flow/nicira_resubmit_table.rb +15 -0
  13. data/lib/pio/open_flow10.rb +2 -2
  14. data/lib/pio/open_flow13.rb +5 -0
  15. data/lib/pio/open_flow13/goto_table.rb +1 -0
  16. data/lib/pio/open_flow13/match.rb +348 -58
  17. data/lib/pio/open_flow13/nicira_reg_load.rb +44 -0
  18. data/lib/pio/open_flow13/nicira_reg_move.rb +7 -3
  19. data/lib/pio/open_flow13/nicira_send_out_port.rb +38 -0
  20. data/lib/pio/open_flow13/set_arp_operation.rb +1 -1
  21. data/lib/pio/open_flow13/set_arp_sender_hardware_address.rb +1 -1
  22. data/lib/pio/open_flow13/set_arp_sender_protocol_address.rb +1 -1
  23. data/lib/pio/open_flow13/set_destination_mac_address.rb +1 -1
  24. data/lib/pio/open_flow13/set_metadata.rb +21 -0
  25. data/lib/pio/open_flow13/set_source_mac_address.rb +1 -1
  26. data/lib/pio/version.rb +1 -1
  27. data/spec/pio/open_flow13/match_spec.rb +43 -43
  28. metadata +19 -11
  29. data/bin/code_metrics-profile +0 -16
  30. data/lib/pio/open_flow10/nicira_resubmit.rb +0 -20
  31. data/lib/pio/open_flow10/nicira_resubmit_table.rb +0 -17
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.29.0
4
+ version: 0.30.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-11-10 00:00:00.000000000 Z
11
+ date: 2015-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bindata
@@ -400,8 +400,6 @@ files:
400
400
  - bin/byebug
401
401
  - bin/cc-tddium-post-worker
402
402
  - bin/cdiff
403
- - bin/code_metrics
404
- - bin/code_metrics-profile
405
403
  - bin/coderay
406
404
  - bin/colortab
407
405
  - bin/coveralls
@@ -429,6 +427,7 @@ files:
429
427
  - bin/sparkr
430
428
  - bin/term_display
431
429
  - bin/term_mandel
430
+ - bin/terminal-notifier
432
431
  - bin/thor
433
432
  - bin/unparser
434
433
  - bin/yard
@@ -445,6 +444,8 @@ files:
445
444
  - features/lldp.detailed.pcap
446
445
  - features/lldp.feature
447
446
  - features/lldp.minimal.pcap
447
+ - features/open_flow/nicira_resubmit.feature
448
+ - features/open_flow/nicira_resubmit_table.feature
448
449
  - features/open_flow10/aggregate_stats_reply.feature
449
450
  - features/open_flow10/aggregate_stats_reply.raw
450
451
  - features/open_flow10/aggregate_stats_request.feature
@@ -488,8 +489,6 @@ files:
488
489
  - features/open_flow10/hello.raw
489
490
  - features/open_flow10/hello_failed.feature
490
491
  - features/open_flow10/hello_failed.raw
491
- - features/open_flow10/nicira_resubmit.feature
492
- - features/open_flow10/nicira_resubmit_table.feature
493
492
  - features/open_flow10/nx_flow_mod_add.raw
494
493
  - features/open_flow10/nx_flow_mod_delete.raw
495
494
  - features/open_flow10/nx_flow_mod_delete_strict.raw
@@ -577,7 +576,9 @@ files:
577
576
  - features/open_flow13/instruction_write_metadata.raw
578
577
  - features/open_flow13/match.feature
579
578
  - features/open_flow13/meter.feature
579
+ - features/open_flow13/nicira_reg_load.feature
580
580
  - features/open_flow13/nicira_reg_move.feature
581
+ - features/open_flow13/nicira_send_out_port.feature
581
582
  - features/open_flow13/oxm_arp_op_field.raw
582
583
  - features/open_flow13/oxm_arp_sha_field.raw
583
584
  - features/open_flow13/oxm_arp_spa_field.raw
@@ -633,6 +634,7 @@ files:
633
634
  - features/open_flow13/set_arp_sender_hardware_address.feature
634
635
  - features/open_flow13/set_arp_sender_protocol_address.feature
635
636
  - features/open_flow13/set_destination_mac_address.feature
637
+ - features/open_flow13/set_metadata.feature
636
638
  - features/open_flow13/set_source_mac_address.feature
637
639
  - features/open_flow13/stats_request.feature
638
640
  - features/open_flow13/table_stats_reply.raw
@@ -718,6 +720,8 @@ files:
718
720
  - lib/pio/open_flow/hello_failed_code.rb
719
721
  - lib/pio/open_flow/message.rb
720
722
  - lib/pio/open_flow/nicira_action.rb
723
+ - lib/pio/open_flow/nicira_resubmit.rb
724
+ - lib/pio/open_flow/nicira_resubmit_table.rb
721
725
  - lib/pio/open_flow/open_flow_header.rb
722
726
  - lib/pio/open_flow/port.rb
723
727
  - lib/pio/open_flow/transaction_id.rb
@@ -747,8 +751,6 @@ files:
747
751
  - lib/pio/open_flow10/hello.rb
748
752
  - lib/pio/open_flow10/match.rb
749
753
  - lib/pio/open_flow10/match10.rb
750
- - lib/pio/open_flow10/nicira_resubmit.rb
751
- - lib/pio/open_flow10/nicira_resubmit_table.rb
752
754
  - lib/pio/open_flow10/packet_in.rb
753
755
  - lib/pio/open_flow10/packet_out.rb
754
756
  - lib/pio/open_flow10/phy_port16.rb
@@ -788,7 +790,9 @@ files:
788
790
  - lib/pio/open_flow13/hello.rb
789
791
  - lib/pio/open_flow13/match.rb
790
792
  - lib/pio/open_flow13/meter.rb
793
+ - lib/pio/open_flow13/nicira_reg_load.rb
791
794
  - lib/pio/open_flow13/nicira_reg_move.rb
795
+ - lib/pio/open_flow13/nicira_send_out_port.rb
792
796
  - lib/pio/open_flow13/packet_in.rb
793
797
  - lib/pio/open_flow13/packet_out.rb
794
798
  - lib/pio/open_flow13/port32.rb
@@ -797,6 +801,7 @@ files:
797
801
  - lib/pio/open_flow13/set_arp_sender_hardware_address.rb
798
802
  - lib/pio/open_flow13/set_arp_sender_protocol_address.rb
799
803
  - lib/pio/open_flow13/set_destination_mac_address.rb
804
+ - lib/pio/open_flow13/set_metadata.rb
800
805
  - lib/pio/open_flow13/set_source_mac_address.rb
801
806
  - lib/pio/open_flow13/stats_request.rb
802
807
  - lib/pio/open_flow13/write_metadata.rb
@@ -890,7 +895,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
890
895
  version: '0'
891
896
  requirements: []
892
897
  rubyforge_project:
893
- rubygems_version: 2.4.8
898
+ rubygems_version: 2.4.6
894
899
  signing_key:
895
900
  specification_version: 4
896
901
  summary: Packet parser and generator.
@@ -964,6 +969,8 @@ test_files:
964
969
  - features/lldp.detailed.pcap
965
970
  - features/lldp.feature
966
971
  - features/lldp.minimal.pcap
972
+ - features/open_flow/nicira_resubmit.feature
973
+ - features/open_flow/nicira_resubmit_table.feature
967
974
  - features/open_flow10/aggregate_stats_reply.feature
968
975
  - features/open_flow10/aggregate_stats_reply.raw
969
976
  - features/open_flow10/aggregate_stats_request.feature
@@ -1007,8 +1014,6 @@ test_files:
1007
1014
  - features/open_flow10/hello.raw
1008
1015
  - features/open_flow10/hello_failed.feature
1009
1016
  - features/open_flow10/hello_failed.raw
1010
- - features/open_flow10/nicira_resubmit.feature
1011
- - features/open_flow10/nicira_resubmit_table.feature
1012
1017
  - features/open_flow10/nx_flow_mod_add.raw
1013
1018
  - features/open_flow10/nx_flow_mod_delete.raw
1014
1019
  - features/open_flow10/nx_flow_mod_delete_strict.raw
@@ -1096,7 +1101,9 @@ test_files:
1096
1101
  - features/open_flow13/instruction_write_metadata.raw
1097
1102
  - features/open_flow13/match.feature
1098
1103
  - features/open_flow13/meter.feature
1104
+ - features/open_flow13/nicira_reg_load.feature
1099
1105
  - features/open_flow13/nicira_reg_move.feature
1106
+ - features/open_flow13/nicira_send_out_port.feature
1100
1107
  - features/open_flow13/oxm_arp_op_field.raw
1101
1108
  - features/open_flow13/oxm_arp_sha_field.raw
1102
1109
  - features/open_flow13/oxm_arp_spa_field.raw
@@ -1152,6 +1159,7 @@ test_files:
1152
1159
  - features/open_flow13/set_arp_sender_hardware_address.feature
1153
1160
  - features/open_flow13/set_arp_sender_protocol_address.feature
1154
1161
  - features/open_flow13/set_destination_mac_address.feature
1162
+ - features/open_flow13/set_metadata.feature
1155
1163
  - features/open_flow13/set_source_mac_address.feature
1156
1164
  - features/open_flow13/stats_request.feature
1157
1165
  - features/open_flow13/table_stats_reply.raw
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'code_metrics-profile' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('code_metrics', 'code_metrics-profile')
@@ -1,20 +0,0 @@
1
- require 'pio/open_flow/nicira_action'
2
- require 'pio/open_flow10/port16'
3
-
4
- module Pio
5
- module OpenFlow10
6
- # NXAST_RESUBMIT action
7
- class NiciraResubmit < OpenFlow::NiciraAction
8
- nicira_action_header action_type: 0xffff,
9
- action_length: 16,
10
- subtype: 1
11
- port16 :in_port
12
- string :padding, length: 4
13
- hide :padding
14
-
15
- def initialize(port_number)
16
- super(in_port: port_number)
17
- end
18
- end
19
- end
20
- end
@@ -1,17 +0,0 @@
1
- require 'pio/open_flow/nicira_action'
2
- require 'pio/open_flow10/port16'
3
-
4
- module Pio
5
- module OpenFlow10
6
- # NXAST_RESUBMIT_TABLE action
7
- class NiciraResubmitTable < OpenFlow::NiciraAction
8
- nicira_action_header action_type: 0xffff,
9
- action_length: 16,
10
- subtype: 14
11
- port16 :in_port
12
- uint8 :table, initial_value: 0xff
13
- string :padding, length: 3
14
- hide :padding
15
- end
16
- end
17
- end