fog-softlayer 0.2.1 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.travis.yml +0 -1
- data/CHANGELOG.md +25 -9
- data/CONTRIBUTING.md +13 -25
- data/CONTRIBUTORS.md +1 -1
- data/Rakefile +3 -3
- data/examples/compute.md +114 -3
- data/examples/network.md +285 -0
- data/examples/tags.md +76 -1
- data/fog-softlayer.gemspec +2 -3
- data/lib/fog/softlayer.rb +2 -0
- data/lib/fog/softlayer/compute.rb +16 -73
- data/lib/fog/softlayer/core.rb +105 -1
- data/lib/fog/softlayer/models/compute/flavor.rb +1 -0
- data/lib/fog/softlayer/models/compute/flavors.rb +1 -0
- data/lib/fog/softlayer/models/compute/image.rb +1 -0
- data/lib/fog/softlayer/models/compute/images.rb +1 -0
- data/lib/fog/softlayer/models/compute/server.rb +71 -12
- data/lib/fog/softlayer/models/compute/servers.rb +9 -5
- data/lib/fog/softlayer/models/compute/tag.rb +5 -6
- data/lib/fog/softlayer/models/compute/tags.rb +1 -0
- data/lib/fog/softlayer/models/network/datacenter.rb +52 -0
- data/lib/fog/softlayer/models/network/datacenters.rb +42 -0
- data/lib/fog/softlayer/models/network/ip.rb +67 -0
- data/lib/fog/softlayer/models/network/ips.rb +39 -0
- data/lib/fog/softlayer/models/network/network.rb +121 -0
- data/lib/fog/softlayer/models/network/networks.rb +47 -0
- data/lib/fog/softlayer/models/network/subnet.rb +62 -0
- data/lib/fog/softlayer/models/network/subnets.rb +33 -0
- data/lib/fog/softlayer/models/network/tag.rb +54 -0
- data/lib/fog/softlayer/models/network/tags.rb +40 -0
- data/lib/fog/softlayer/models/storage/directories.rb +7 -0
- data/lib/fog/softlayer/models/storage/directory.rb +7 -0
- data/lib/fog/softlayer/models/storage/file.rb +7 -0
- data/lib/fog/softlayer/models/storage/files.rb +7 -0
- data/lib/fog/softlayer/network.rb +139 -0
- data/lib/fog/softlayer/requests/compute/create_bare_metal_server.rb +1 -1
- data/lib/fog/softlayer/requests/compute/get_vms.rb +1 -1
- data/lib/fog/softlayer/requests/network/create_network.rb +488 -0
- data/lib/fog/softlayer/requests/network/create_network_tags.rb +50 -0
- data/lib/fog/softlayer/requests/network/delete_network.rb +37 -0
- data/lib/fog/softlayer/requests/network/delete_network_tags.rb +46 -0
- data/lib/fog/softlayer/requests/network/get_datacenter_routers.rb +41 -0
- data/lib/fog/softlayer/requests/network/get_datacenters.rb +30 -0
- data/lib/fog/softlayer/requests/network/get_ip_address.rb +28 -0
- data/lib/fog/softlayer/requests/network/get_network.rb +34 -0
- data/lib/fog/softlayer/requests/network/get_network_tags.rb +47 -0
- data/lib/fog/softlayer/requests/network/get_private_vlan_price_code.rb +27 -0
- data/lib/fog/softlayer/requests/network/get_public_vlan_price_code.rb +27 -0
- data/lib/fog/softlayer/requests/network/get_references_by_tag_name.rb +42 -0
- data/lib/fog/softlayer/requests/network/get_subnet.rb +28 -0
- data/lib/fog/softlayer/requests/network/get_subnet_package_id.rb +29 -0
- data/lib/fog/softlayer/requests/network/get_subnet_price_code.rb +30 -0
- data/lib/fog/softlayer/requests/network/list_networks.rb +30 -0
- data/lib/fog/softlayer/requests/network/list_subnets.rb +28 -0
- data/lib/fog/softlayer/storage.rb +7 -0
- data/lib/fog/softlayer/version.rb +2 -1
- data/tests/compute/flavors_helper.rb +1 -0
- data/tests/compute/server_helper.rb +1 -0
- data/tests/compute/servers_helper.rb +1 -0
- data/tests/helper.rb +7 -0
- data/tests/helpers/collection_helper.rb +7 -0
- data/tests/helpers/compute/flavors_helper.rb +7 -0
- data/tests/helpers/compute/server_helper.rb +7 -0
- data/tests/helpers/compute/servers_helper.rb +7 -0
- data/tests/helpers/formats_helper.rb +7 -0
- data/tests/helpers/formats_helper_tests.rb +7 -0
- data/tests/helpers/mock_helper.rb +7 -0
- data/tests/helpers/model_helper.rb +7 -0
- data/tests/helpers/responds_to_helper.rb +7 -0
- data/tests/helpers/schema_validator_tests.rb +7 -0
- data/tests/helpers/succeeds_helper.rb +7 -0
- data/tests/softlayer/compute/helper.rb +1 -0
- data/tests/softlayer/compute/schema.rb +1 -0
- data/tests/softlayer/models/compute/server_tests.rb +31 -4
- data/tests/softlayer/requests/compute/bmc_tests.rb +4 -3
- data/tests/softlayer/requests/compute/tag_tests.rb +1 -1
- data/tests/softlayer/requests/network/network_tests.rb +129 -0
- metadata +35 -25
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-softlayer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Eldridge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: jekyll
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ! '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ! '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rake
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,25 +179,19 @@ dependencies:
|
|
193
179
|
- !ruby/object:Gem::Version
|
194
180
|
version: '0'
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
182
|
+
name: osrcry
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
198
184
|
requirements:
|
199
|
-
- - ~>
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0.6'
|
202
185
|
- - ! '>='
|
203
186
|
- !ruby/object:Gem::Version
|
204
|
-
version: 0
|
187
|
+
version: '0'
|
205
188
|
type: :development
|
206
189
|
prerelease: false
|
207
190
|
version_requirements: !ruby/object:Gem::Requirement
|
208
191
|
requirements:
|
209
|
-
- - ~>
|
210
|
-
- !ruby/object:Gem::Version
|
211
|
-
version: '0.6'
|
212
192
|
- - ! '>='
|
213
193
|
- !ruby/object:Gem::Version
|
214
|
-
version: 0
|
194
|
+
version: '0'
|
215
195
|
description: Module for the 'fog' gem to support SoftLayer Cloud
|
216
196
|
email:
|
217
197
|
- matt.eldridge@us.ibm.com
|
@@ -234,6 +214,7 @@ files:
|
|
234
214
|
- docs/fog-softlayer-CLA.pdf
|
235
215
|
- examples/compute.md
|
236
216
|
- examples/dns.md
|
217
|
+
- examples/network.md
|
237
218
|
- examples/storage.md
|
238
219
|
- examples/tags.md
|
239
220
|
- fog-softlayer.gemspec
|
@@ -257,10 +238,21 @@ files:
|
|
257
238
|
- lib/fog/softlayer/models/dns/domains.rb
|
258
239
|
- lib/fog/softlayer/models/dns/record.rb
|
259
240
|
- lib/fog/softlayer/models/dns/records.rb
|
241
|
+
- lib/fog/softlayer/models/network/datacenter.rb
|
242
|
+
- lib/fog/softlayer/models/network/datacenters.rb
|
243
|
+
- lib/fog/softlayer/models/network/ip.rb
|
244
|
+
- lib/fog/softlayer/models/network/ips.rb
|
245
|
+
- lib/fog/softlayer/models/network/network.rb
|
246
|
+
- lib/fog/softlayer/models/network/networks.rb
|
247
|
+
- lib/fog/softlayer/models/network/subnet.rb
|
248
|
+
- lib/fog/softlayer/models/network/subnets.rb
|
249
|
+
- lib/fog/softlayer/models/network/tag.rb
|
250
|
+
- lib/fog/softlayer/models/network/tags.rb
|
260
251
|
- lib/fog/softlayer/models/storage/directories.rb
|
261
252
|
- lib/fog/softlayer/models/storage/directory.rb
|
262
253
|
- lib/fog/softlayer/models/storage/file.rb
|
263
254
|
- lib/fog/softlayer/models/storage/files.rb
|
255
|
+
- lib/fog/softlayer/network.rb
|
264
256
|
- lib/fog/softlayer/requests/compute/create_bare_metal_server.rb
|
265
257
|
- lib/fog/softlayer/requests/compute/create_bare_metal_tags.rb
|
266
258
|
- lib/fog/softlayer/requests/compute/create_vm.rb
|
@@ -289,6 +281,23 @@ files:
|
|
289
281
|
- lib/fog/softlayer/requests/dns/get_record.rb
|
290
282
|
- lib/fog/softlayer/requests/dns/get_records.rb
|
291
283
|
- lib/fog/softlayer/requests/dns/update_record.rb
|
284
|
+
- lib/fog/softlayer/requests/network/create_network.rb
|
285
|
+
- lib/fog/softlayer/requests/network/create_network_tags.rb
|
286
|
+
- lib/fog/softlayer/requests/network/delete_network.rb
|
287
|
+
- lib/fog/softlayer/requests/network/delete_network_tags.rb
|
288
|
+
- lib/fog/softlayer/requests/network/get_datacenter_routers.rb
|
289
|
+
- lib/fog/softlayer/requests/network/get_datacenters.rb
|
290
|
+
- lib/fog/softlayer/requests/network/get_ip_address.rb
|
291
|
+
- lib/fog/softlayer/requests/network/get_network.rb
|
292
|
+
- lib/fog/softlayer/requests/network/get_network_tags.rb
|
293
|
+
- lib/fog/softlayer/requests/network/get_private_vlan_price_code.rb
|
294
|
+
- lib/fog/softlayer/requests/network/get_public_vlan_price_code.rb
|
295
|
+
- lib/fog/softlayer/requests/network/get_references_by_tag_name.rb
|
296
|
+
- lib/fog/softlayer/requests/network/get_subnet.rb
|
297
|
+
- lib/fog/softlayer/requests/network/get_subnet_package_id.rb
|
298
|
+
- lib/fog/softlayer/requests/network/get_subnet_price_code.rb
|
299
|
+
- lib/fog/softlayer/requests/network/list_networks.rb
|
300
|
+
- lib/fog/softlayer/requests/network/list_subnets.rb
|
292
301
|
- lib/fog/softlayer/requests/storage/copy_object.rb
|
293
302
|
- lib/fog/softlayer/requests/storage/delete_container.rb
|
294
303
|
- lib/fog/softlayer/requests/storage/delete_multiple_objects.rb
|
@@ -342,6 +351,7 @@ files:
|
|
342
351
|
- tests/softlayer/requests/compute/bmc_tests.rb
|
343
352
|
- tests/softlayer/requests/compute/tag_tests.rb
|
344
353
|
- tests/softlayer/requests/compute/vm_tests.rb
|
354
|
+
- tests/softlayer/requests/network/network_tests.rb
|
345
355
|
- tests/softlayer/requests/storage/auth_tests.rb
|
346
356
|
- tests/softlayer/requests/storage/container_tests.rb
|
347
357
|
- tests/softlayer/requests/storage/object_tests.rb
|