openflow-protocol 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/actions/actions.rb +1 -24
- data/lib/helpers/array_of_subclasses.rb +38 -0
- data/lib/helpers/superclass_base.rb +2 -0
- data/lib/messages/features_reply.rb +2 -2
- data/lib/messages/message.rb +1 -1
- data/lib/messages/port_mod.rb +2 -0
- data/lib/messages/queue_get_config_reply.rb +14 -0
- data/lib/messages/queue_get_config_request.rb +11 -0
- data/lib/{statistics → messages/statistics}/aggregate_statistics_reply.rb +0 -0
- data/lib/{statistics → messages/statistics}/aggregate_statistics_request.rb +0 -0
- data/lib/{statistics → messages/statistics}/description_statistics.rb +0 -0
- data/lib/{statistics → messages/statistics}/flow_statistics_reply.rb +0 -0
- data/lib/{statistics → messages/statistics}/flow_statistics_request.rb +0 -0
- data/lib/{statistics → messages/statistics}/port_statistics_reply.rb +1 -1
- data/lib/{statistics → messages/statistics}/port_statistics_request.rb +1 -1
- data/lib/{statistics → messages/statistics}/queue_statistics_reply.rb +1 -1
- data/lib/{statistics → messages/statistics}/queue_statistics_request.rb +1 -1
- data/lib/{statistics → messages/statistics}/table_statistics.rb +1 -1
- data/lib/{statistics → messages/statistics}/vendor_statistics.rb +0 -0
- data/lib/openflow-protocol/version.rb +1 -1
- data/lib/structs/packet_queue.rb +10 -0
- data/lib/structs/port_number.rb +14 -0
- data/lib/structs/queue_properties/queue_properties.rb +5 -0
- data/lib/structs/queue_properties/queue_property.rb +16 -0
- data/lib/structs/queue_properties/queue_property_min_rate.rb +26 -0
- data/lib/structs/queue_properties/queue_property_none.rb +3 -0
- data/spec/actions/actions_spec.rb +1 -1
- data/spec/messages/barrier_reply_spec.rb +7 -1
- data/spec/messages/barrier_request_spec.rb +7 -1
- data/spec/messages/echo_reply_spec.rb +7 -1
- data/spec/messages/echo_request_spec.rb +7 -1
- data/spec/messages/error_spec.rb +10 -2
- data/spec/messages/features_reply_spec.rb +50 -39
- data/spec/messages/features_request_spec.rb +7 -1
- data/spec/messages/flow_mod_spec.rb +10 -2
- data/spec/messages/flow_removed_spec.rb +10 -2
- data/spec/messages/get_config_reply_spec.rb +10 -2
- data/spec/messages/get_config_request_spec.rb +7 -1
- data/spec/messages/hello_spec.rb +7 -1
- data/spec/messages/packet_in_spec.rb +10 -2
- data/spec/messages/packet_out_spec.rb +10 -2
- data/spec/messages/port_mod_spec.rb +10 -2
- data/spec/messages/port_status_spec.rb +10 -2
- data/spec/messages/queue_get_config_reply_spec.rb +68 -0
- data/spec/messages/queue_get_config_request_spec.rb +40 -0
- data/spec/messages/set_config_spec.rb +10 -2
- data/spec/{statistics → messages/statistics}/aggregate_statistics_reply_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/aggregate_statistics_request_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/description_statistics_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/flow_statistics_reply_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/flow_statistics_request_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/port_statistics_reply_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/port_statistics_request_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/queue_statistics_reply_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/queue_statistics_request_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/table_statistics_spec.rb +0 -0
- data/spec/{statistics → messages/statistics}/vendor_statistics_spec.rb +0 -0
- data/spec/messages/statistics_reply_spec.rb +77 -20
- data/spec/messages/statistics_request_spec.rb +13 -5
- data/spec/messages/vendor_spec.rb +10 -2
- data/spec/structs/packet_queue_spec.rb +37 -0
- data/spec/structs/port_number_spec.rb +19 -0
- data/spec/structs/queue_properties/queue_properties_spec.rb +29 -0
- data/spec/structs/queue_properties/queue_property_min_rate_spec.rb +32 -0
- data/spec/structs/queue_properties/queue_property_none_spec.rb +14 -0
- metadata +55 -35
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openflow-protocol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jérémy Pagé
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: packet-protocols
|
@@ -60,6 +60,7 @@ files:
|
|
60
60
|
- lib/actions/action_strip_vlan.rb
|
61
61
|
- lib/actions/action_vendor.rb
|
62
62
|
- lib/actions/actions.rb
|
63
|
+
- lib/helpers/array_of_subclasses.rb
|
63
64
|
- lib/helpers/superclass_base.rb
|
64
65
|
- lib/messages/barrier_reply.rb
|
65
66
|
- lib/messages/barrier_request.rb
|
@@ -79,27 +80,34 @@ files:
|
|
79
80
|
- lib/messages/parser.rb
|
80
81
|
- lib/messages/port_mod.rb
|
81
82
|
- lib/messages/port_status.rb
|
83
|
+
- lib/messages/queue_get_config_reply.rb
|
84
|
+
- lib/messages/queue_get_config_request.rb
|
82
85
|
- lib/messages/set_config.rb
|
83
86
|
- lib/messages/statistics.rb
|
87
|
+
- lib/messages/statistics/aggregate_statistics_reply.rb
|
88
|
+
- lib/messages/statistics/aggregate_statistics_request.rb
|
89
|
+
- lib/messages/statistics/description_statistics.rb
|
90
|
+
- lib/messages/statistics/flow_statistics_reply.rb
|
91
|
+
- lib/messages/statistics/flow_statistics_request.rb
|
92
|
+
- lib/messages/statistics/port_statistics_reply.rb
|
93
|
+
- lib/messages/statistics/port_statistics_request.rb
|
94
|
+
- lib/messages/statistics/queue_statistics_reply.rb
|
95
|
+
- lib/messages/statistics/queue_statistics_request.rb
|
96
|
+
- lib/messages/statistics/table_statistics.rb
|
97
|
+
- lib/messages/statistics/vendor_statistics.rb
|
84
98
|
- lib/messages/statistics_reply.rb
|
85
99
|
- lib/messages/statistics_request.rb
|
86
100
|
- lib/messages/vendor.rb
|
87
101
|
- lib/openflow-protocol.rb
|
88
102
|
- lib/openflow-protocol/version.rb
|
89
|
-
- lib/statistics/aggregate_statistics_reply.rb
|
90
|
-
- lib/statistics/aggregate_statistics_request.rb
|
91
|
-
- lib/statistics/description_statistics.rb
|
92
|
-
- lib/statistics/flow_statistics_reply.rb
|
93
|
-
- lib/statistics/flow_statistics_request.rb
|
94
|
-
- lib/statistics/port_statistics_reply.rb
|
95
|
-
- lib/statistics/port_statistics_request.rb
|
96
|
-
- lib/statistics/queue_statistics_reply.rb
|
97
|
-
- lib/statistics/queue_statistics_request.rb
|
98
|
-
- lib/statistics/table_statistics.rb
|
99
|
-
- lib/statistics/vendor_statistics.rb
|
100
103
|
- lib/structs/match.rb
|
104
|
+
- lib/structs/packet_queue.rb
|
101
105
|
- lib/structs/physical_port.rb
|
102
106
|
- lib/structs/port_number.rb
|
107
|
+
- lib/structs/queue_properties/queue_properties.rb
|
108
|
+
- lib/structs/queue_properties/queue_property.rb
|
109
|
+
- lib/structs/queue_properties/queue_property_min_rate.rb
|
110
|
+
- lib/structs/queue_properties/queue_property_none.rb
|
103
111
|
- spec/actions/action_enqueue_spec.rb
|
104
112
|
- spec/actions/action_output_spec.rb
|
105
113
|
- spec/actions/action_set_destination_port_spec.rb
|
@@ -131,25 +139,31 @@ files:
|
|
131
139
|
- spec/messages/parser_spec.rb
|
132
140
|
- spec/messages/port_mod_spec.rb
|
133
141
|
- spec/messages/port_status_spec.rb
|
142
|
+
- spec/messages/queue_get_config_reply_spec.rb
|
143
|
+
- spec/messages/queue_get_config_request_spec.rb
|
134
144
|
- spec/messages/set_config_spec.rb
|
145
|
+
- spec/messages/statistics/aggregate_statistics_reply_spec.rb
|
146
|
+
- spec/messages/statistics/aggregate_statistics_request_spec.rb
|
147
|
+
- spec/messages/statistics/description_statistics_spec.rb
|
148
|
+
- spec/messages/statistics/flow_statistics_reply_spec.rb
|
149
|
+
- spec/messages/statistics/flow_statistics_request_spec.rb
|
150
|
+
- spec/messages/statistics/port_statistics_reply_spec.rb
|
151
|
+
- spec/messages/statistics/port_statistics_request_spec.rb
|
152
|
+
- spec/messages/statistics/queue_statistics_reply_spec.rb
|
153
|
+
- spec/messages/statistics/queue_statistics_request_spec.rb
|
154
|
+
- spec/messages/statistics/table_statistics_spec.rb
|
155
|
+
- spec/messages/statistics/vendor_statistics_spec.rb
|
135
156
|
- spec/messages/statistics_reply_spec.rb
|
136
157
|
- spec/messages/statistics_request_spec.rb
|
137
158
|
- spec/messages/vendor_spec.rb
|
138
159
|
- spec/spec_helper.rb
|
139
|
-
- spec/statistics/aggregate_statistics_reply_spec.rb
|
140
|
-
- spec/statistics/aggregate_statistics_request_spec.rb
|
141
|
-
- spec/statistics/description_statistics_spec.rb
|
142
|
-
- spec/statistics/flow_statistics_reply_spec.rb
|
143
|
-
- spec/statistics/flow_statistics_request_spec.rb
|
144
|
-
- spec/statistics/port_statistics_reply_spec.rb
|
145
|
-
- spec/statistics/port_statistics_request_spec.rb
|
146
|
-
- spec/statistics/queue_statistics_reply_spec.rb
|
147
|
-
- spec/statistics/queue_statistics_request_spec.rb
|
148
|
-
- spec/statistics/table_statistics_spec.rb
|
149
|
-
- spec/statistics/vendor_statistics_spec.rb
|
150
160
|
- spec/structs/match_spec.rb
|
161
|
+
- spec/structs/packet_queue_spec.rb
|
151
162
|
- spec/structs/physical_port_spec.rb
|
152
163
|
- spec/structs/port_number_spec.rb
|
164
|
+
- spec/structs/queue_properties/queue_properties_spec.rb
|
165
|
+
- spec/structs/queue_properties/queue_property_min_rate_spec.rb
|
166
|
+
- spec/structs/queue_properties/queue_property_none_spec.rb
|
153
167
|
homepage: https://github.com/jejepage/openflow-protocol
|
154
168
|
licenses:
|
155
169
|
- MIT
|
@@ -206,22 +220,28 @@ test_files:
|
|
206
220
|
- spec/messages/parser_spec.rb
|
207
221
|
- spec/messages/port_mod_spec.rb
|
208
222
|
- spec/messages/port_status_spec.rb
|
223
|
+
- spec/messages/queue_get_config_reply_spec.rb
|
224
|
+
- spec/messages/queue_get_config_request_spec.rb
|
209
225
|
- spec/messages/set_config_spec.rb
|
226
|
+
- spec/messages/statistics/aggregate_statistics_reply_spec.rb
|
227
|
+
- spec/messages/statistics/aggregate_statistics_request_spec.rb
|
228
|
+
- spec/messages/statistics/description_statistics_spec.rb
|
229
|
+
- spec/messages/statistics/flow_statistics_reply_spec.rb
|
230
|
+
- spec/messages/statistics/flow_statistics_request_spec.rb
|
231
|
+
- spec/messages/statistics/port_statistics_reply_spec.rb
|
232
|
+
- spec/messages/statistics/port_statistics_request_spec.rb
|
233
|
+
- spec/messages/statistics/queue_statistics_reply_spec.rb
|
234
|
+
- spec/messages/statistics/queue_statistics_request_spec.rb
|
235
|
+
- spec/messages/statistics/table_statistics_spec.rb
|
236
|
+
- spec/messages/statistics/vendor_statistics_spec.rb
|
210
237
|
- spec/messages/statistics_reply_spec.rb
|
211
238
|
- spec/messages/statistics_request_spec.rb
|
212
239
|
- spec/messages/vendor_spec.rb
|
213
240
|
- spec/spec_helper.rb
|
214
|
-
- spec/statistics/aggregate_statistics_reply_spec.rb
|
215
|
-
- spec/statistics/aggregate_statistics_request_spec.rb
|
216
|
-
- spec/statistics/description_statistics_spec.rb
|
217
|
-
- spec/statistics/flow_statistics_reply_spec.rb
|
218
|
-
- spec/statistics/flow_statistics_request_spec.rb
|
219
|
-
- spec/statistics/port_statistics_reply_spec.rb
|
220
|
-
- spec/statistics/port_statistics_request_spec.rb
|
221
|
-
- spec/statistics/queue_statistics_reply_spec.rb
|
222
|
-
- spec/statistics/queue_statistics_request_spec.rb
|
223
|
-
- spec/statistics/table_statistics_spec.rb
|
224
|
-
- spec/statistics/vendor_statistics_spec.rb
|
225
241
|
- spec/structs/match_spec.rb
|
242
|
+
- spec/structs/packet_queue_spec.rb
|
226
243
|
- spec/structs/physical_port_spec.rb
|
227
244
|
- spec/structs/port_number_spec.rb
|
245
|
+
- spec/structs/queue_properties/queue_properties_spec.rb
|
246
|
+
- spec/structs/queue_properties/queue_property_min_rate_spec.rb
|
247
|
+
- spec/structs/queue_properties/queue_property_none_spec.rb
|