fog-softlayer 0.4.2.pre → 0.4.2

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 (61) hide show
  1. checksums.yaml +5 -13
  2. data/CONTRIBUTORS.md +2 -0
  3. data/examples/compute.md +37 -1
  4. data/lib/fog/softlayer/compute.rb +8 -1
  5. data/lib/fog/softlayer/dns.rb +0 -1
  6. data/lib/fog/softlayer/ext/hash.rb +6 -0
  7. data/lib/fog/softlayer/ext/string.rb +20 -0
  8. data/lib/fog/softlayer/models/compute/flavor.rb +0 -2
  9. data/lib/fog/softlayer/models/compute/flavors.rb +0 -1
  10. data/lib/fog/softlayer/models/compute/image.rb +0 -2
  11. data/lib/fog/softlayer/models/compute/images.rb +0 -1
  12. data/lib/fog/softlayer/models/compute/key_pair.rb +0 -2
  13. data/lib/fog/softlayer/models/compute/key_pairs.rb +0 -1
  14. data/lib/fog/softlayer/models/compute/network_component.rb +0 -2
  15. data/lib/fog/softlayer/models/compute/network_components.rb +0 -1
  16. data/lib/fog/softlayer/models/compute/server.rb +10 -0
  17. data/lib/fog/softlayer/models/compute/servers.rb +25 -1
  18. data/lib/fog/softlayer/models/compute/tag.rb +0 -2
  19. data/lib/fog/softlayer/models/compute/tags.rb +0 -1
  20. data/lib/fog/softlayer/models/dns/domain.rb +1 -1
  21. data/lib/fog/softlayer/models/dns/domains.rb +1 -1
  22. data/lib/fog/softlayer/models/dns/record.rb +0 -1
  23. data/lib/fog/softlayer/models/dns/records.rb +1 -1
  24. data/lib/fog/softlayer/models/network/datacenter.rb +0 -2
  25. data/lib/fog/softlayer/models/network/datacenters.rb +0 -1
  26. data/lib/fog/softlayer/models/network/ip.rb +0 -2
  27. data/lib/fog/softlayer/models/network/ips.rb +0 -1
  28. data/lib/fog/softlayer/models/network/network.rb +0 -2
  29. data/lib/fog/softlayer/models/network/networks.rb +0 -1
  30. data/lib/fog/softlayer/models/network/subnet.rb +0 -2
  31. data/lib/fog/softlayer/models/network/subnets.rb +0 -1
  32. data/lib/fog/softlayer/models/network/tag.rb +0 -1
  33. data/lib/fog/softlayer/models/network/tags.rb +1 -1
  34. data/lib/fog/softlayer/models/product/item.rb +0 -1
  35. data/lib/fog/softlayer/models/product/items.rb +0 -1
  36. data/lib/fog/softlayer/models/product/package.rb +0 -1
  37. data/lib/fog/softlayer/models/product/packages.rb +0 -1
  38. data/lib/fog/softlayer/models/storage/directories.rb +0 -1
  39. data/lib/fog/softlayer/models/storage/directory.rb +0 -1
  40. data/lib/fog/softlayer/models/storage/file.rb +0 -2
  41. data/lib/fog/softlayer/models/storage/files.rb +0 -1
  42. data/lib/fog/softlayer/network.rb +0 -2
  43. data/lib/fog/softlayer/product.rb +0 -1
  44. data/lib/fog/softlayer/requests/compute/create_bare_metal_server.rb +1 -0
  45. data/lib/fog/softlayer/requests/compute/create_vms.rb +1 -0
  46. data/lib/fog/softlayer/requests/compute/get_bare_metal_active_tickets.rb +79 -0
  47. data/lib/fog/softlayer/requests/compute/get_bare_metal_create_options.rb +1116 -0
  48. data/lib/fog/softlayer/requests/compute/get_bare_metal_server_by_ip.rb +32 -0
  49. data/lib/fog/softlayer/requests/compute/get_bare_metal_users.rb +148 -0
  50. data/lib/fog/softlayer/requests/compute/get_virtual_guest_active_tickets.rb +79 -0
  51. data/lib/fog/softlayer/requests/compute/get_virtual_guest_by_ip.rb +32 -0
  52. data/lib/fog/softlayer/requests/compute/get_virtual_guest_create_options.rb +4060 -0
  53. data/lib/fog/softlayer/requests/compute/get_virtual_guest_users.rb +148 -0
  54. data/lib/fog/softlayer/slapi.rb +96 -0
  55. data/lib/fog/softlayer/storage.rb +1 -3
  56. data/lib/fog/softlayer/version.rb +1 -1
  57. data/lib/fog/softlayer.rb +69 -6
  58. data/tests/softlayer/requests/compute/bmc_tests.rb +38 -0
  59. data/tests/softlayer/requests/compute/vm_tests.rb +37 -0
  60. metadata +41 -32
  61. data/lib/fog/softlayer/core.rb +0 -176
@@ -0,0 +1,1116 @@
1
+ #
2
+ # Author:: Matheus Francisco Barra Mina (<mfbmina@gmail.com>)
3
+ # © Copyright IBM Corporation 2015.
4
+ #
5
+ # LICENSE: MIT (http://opensource.org/licenses/MIT)
6
+ #
7
+ module Fog
8
+ module Compute
9
+ class Softlayer
10
+ class Mock
11
+ # Gets all Bare Metal buy options
12
+ # @return [Excon::Response]
13
+ def get_bare_metal_create_options
14
+ response = Excon::Response.new
15
+ response.body = bare_metal_options
16
+ response.status = 200
17
+ response
18
+ end
19
+ end
20
+
21
+ class Real
22
+ def get_bare_metal_create_options
23
+ request(:hardware_server, "getCreateObjectOptions", :http_method => :GET)
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
29
+
30
+ module Fog
31
+ module Compute
32
+ class Softlayer
33
+ class Mock
34
+ def bare_metal_options
35
+ {
36
+ "datacenters"=>
37
+ [
38
+ {
39
+ "template"=>
40
+ {
41
+ "datacenter"=>
42
+ {
43
+ "name"=>"ams01"
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "template"=>
49
+ {
50
+ "datacenter"=>
51
+ {
52
+ "name"=>"dal01"
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "template"=>
58
+ {
59
+ "datacenter"=>
60
+ {
61
+ "name"=>"dal05"
62
+ }
63
+ }
64
+ },
65
+ {
66
+ "template"=>
67
+ {
68
+ "datacenter"=>
69
+ {
70
+ "name"=>"dal06"
71
+ }
72
+ }
73
+ },
74
+ {
75
+ "template"=>
76
+ {
77
+ "datacenter"=>
78
+ {
79
+ "name"=>"dal09"
80
+ }
81
+ }
82
+ },
83
+ {
84
+ "template"=>
85
+ {
86
+ "datacenter"=>
87
+ {
88
+ "name"=>"fra02"
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "template"=>
94
+ {
95
+ "datacenter"=>
96
+ {
97
+ "name"=>"hkg02"
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "template"=>
103
+ {
104
+ "datacenter"=>
105
+ {
106
+ "name"=>"hou02"
107
+ }
108
+ }
109
+ },
110
+ {
111
+ "template"=>
112
+ {
113
+ "datacenter"=>
114
+ {
115
+ "name"=>"lon02"
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "template"=>
121
+ {
122
+ "datacenter"=>
123
+ {
124
+ "name"=>"mel01"
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "template"=>
130
+ {
131
+ "datacenter"=>
132
+ {
133
+ "name"=>"mex01"
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "template"=>
139
+ {
140
+ "datacenter"=>
141
+ {
142
+ "name"=>"mon01"
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "template"=>
148
+ {
149
+ "datacenter"=>
150
+ {
151
+ "name"=>"par01"
152
+ }
153
+ }
154
+ },
155
+ {
156
+ "template"=>
157
+ {
158
+ "datacenter"=>
159
+ {
160
+ "name"=>"sea01"
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "template"=>
166
+ {
167
+ "datacenter"=>
168
+ {
169
+ "name"=>"sjc01"
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "template"=>
175
+ {
176
+ "datacenter"=>
177
+ {
178
+ "name"=>"sng01"
179
+ }
180
+ }
181
+ },
182
+ {
183
+ "template"=>
184
+ {
185
+ "datacenter"=>
186
+ {
187
+ "name"=>"syd01"
188
+ }
189
+ }
190
+ },
191
+ {
192
+ "template"=>
193
+ {
194
+ "datacenter"=>
195
+ {
196
+ "name"=>"tok02"
197
+ }
198
+ }
199
+ },
200
+ {
201
+ "template"=>
202
+ {
203
+ "datacenter"=>
204
+ {
205
+ "name"=>"tor01"
206
+ }
207
+ }
208
+ },
209
+ {
210
+ "template"=>
211
+ {
212
+ "datacenter"=>
213
+ {
214
+ "name"=>"wdc01"
215
+ }
216
+ }
217
+ }
218
+ ], "hardDrives"=>
219
+ [
220
+ {
221
+ "itemPrice"=>
222
+ {
223
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
224
+ {
225
+ "description"=>"500 GB SATA II"
226
+ }
227
+ },
228
+ "template"=>
229
+ {
230
+ "hardDrives"=>
231
+ [
232
+ {
233
+ "capacity"=>"500"
234
+ }
235
+ ]
236
+ }
237
+ }
238
+ ], "networkComponents"=>
239
+ [
240
+ {
241
+ "itemPrice"=>
242
+ {
243
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
244
+ {
245
+ "description"=>"10 Mbps Private Network Uplink"
246
+ }
247
+ },
248
+ "template"=>
249
+ {
250
+ "networkComponents"=>
251
+ [
252
+ {
253
+ "maxSpeed"=>10}
254
+ ]
255
+ }
256
+ },
257
+ {
258
+ "itemPrice"=>
259
+ {
260
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
261
+ {
262
+ "description"=>"100 Mbps Dual Public & Private Network Uplinks (Unbonded)"
263
+ }
264
+ },
265
+ "template"=>
266
+ {
267
+ "networkComponents"=>
268
+ [
269
+ {
270
+ "maxSpeed"=>100}
271
+ ]
272
+ }
273
+ },
274
+ {
275
+ "itemPrice"=>
276
+ {
277
+ "hourlyRecurringFee"=>".02", "recurringFee"=>"10", "item"=>
278
+ {
279
+ "description"=>"1 Gbps Private Network Uplink"
280
+ }
281
+ },
282
+ "template"=>
283
+ {
284
+ "networkComponents"=>
285
+ [
286
+ {
287
+ "maxSpeed"=>1000}
288
+ ]
289
+ }
290
+ }
291
+ ], "operatingSystems"=>
292
+ [
293
+ {
294
+ "itemPrice"=>
295
+ {
296
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
297
+ {
298
+ "description"=>"CentOS 7.x - Minimal Install (64 bit)"
299
+ }
300
+ },
301
+ "template"=>
302
+ {
303
+ "operatingSystemReferenceCode"=>"CENTOS_7_64"
304
+ }
305
+ },
306
+ {
307
+ "itemPrice"=>
308
+ {
309
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
310
+ {
311
+ "description"=>"CentOS 6.x - Minimal Install (64 bit)"
312
+ }
313
+ },
314
+ "template"=>
315
+ {
316
+ "operatingSystemReferenceCode"=>"CENTOS_6_64"
317
+ }
318
+ },
319
+ {
320
+ "itemPrice"=>
321
+ {
322
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
323
+ {
324
+ "description"=>"CentOS 6.x - Minimal Install (32 bit)"
325
+ }
326
+ },
327
+ "template"=>
328
+ {
329
+ "operatingSystemReferenceCode"=>"CENTOS_6_32"
330
+ }
331
+ },
332
+ {
333
+ "itemPrice"=>
334
+ {
335
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
336
+ {
337
+ "description"=>"CentOS 5.x - Minimal Install (64 bit)"
338
+ }
339
+ },
340
+ "template"=>
341
+ {
342
+ "operatingSystemReferenceCode"=>"CENTOS_5_64"
343
+ }
344
+ },
345
+ {
346
+ "itemPrice"=>
347
+ {
348
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
349
+ {
350
+ "description"=>"CentOS 5.x - Minimal Install (32 bit)"
351
+ }
352
+ },
353
+ "template"=>
354
+ {
355
+ "operatingSystemReferenceCode"=>"CENTOS_5_32"
356
+ }
357
+ },
358
+ {
359
+ "itemPrice"=>
360
+ {
361
+ "recurringFee"=>"12", "item"=>
362
+ {
363
+ "description"=>"CloudLinux 6.x (64 bit)"
364
+ }
365
+ },
366
+ "template"=>
367
+ {
368
+ "operatingSystemReferenceCode"=>"CLOUDLINUX_6_64"
369
+ }
370
+ },
371
+ {
372
+ "itemPrice"=>
373
+ {
374
+ "recurringFee"=>"12", "item"=>
375
+ {
376
+ "description"=>"CloudLinux 6.x (32 bit)"
377
+ }
378
+ },
379
+ "template"=>
380
+ {
381
+ "operatingSystemReferenceCode"=>"CLOUDLINUX_6_32"
382
+ }
383
+ },
384
+ {
385
+ "itemPrice"=>
386
+ {
387
+ "recurringFee"=>"12", "item"=>
388
+ {
389
+ "description"=>"CloudLinux 5.x (64 bit)"
390
+ }
391
+ },
392
+ "template"=>
393
+ {
394
+ "operatingSystemReferenceCode"=>"CLOUDLINUX_5_64"
395
+ }
396
+ },
397
+ {
398
+ "itemPrice"=>
399
+ {
400
+ "recurringFee"=>"12", "item"=>
401
+ {
402
+ "description"=>"CloudLinux 5.x (32 bit)"
403
+ }
404
+ },
405
+ "template"=>
406
+ {
407
+ "operatingSystemReferenceCode"=>"CLOUDLINUX_5_32"
408
+ }
409
+ },
410
+ {
411
+ "itemPrice"=>
412
+ {
413
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
414
+ {
415
+ "description"=>"No Operating System"
416
+ }
417
+ },
418
+ "template"=>
419
+ {
420
+ "operatingSystemReferenceCode"=>"CUSTOS_1_64"
421
+ }
422
+ },
423
+ {
424
+ "itemPrice"=>
425
+ {
426
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
427
+ {
428
+ "description"=>"Debian GNU/Linux 7.x Wheezy/Stable - Minimal Install (64 bit)"
429
+ }
430
+ },
431
+ "template"=>
432
+ {
433
+ "operatingSystemReferenceCode"=>"DEBIAN_7_64"
434
+ }
435
+ },
436
+ {
437
+ "itemPrice"=>
438
+ {
439
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
440
+ {
441
+ "description"=>"Debian GNU/Linux 7.x Wheezy/Stable - Minimal Install (32 bit)"
442
+ }
443
+ },
444
+ "template"=>
445
+ {
446
+ "operatingSystemReferenceCode"=>"DEBIAN_7_32"
447
+ }
448
+ },
449
+ {
450
+ "itemPrice"=>
451
+ {
452
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
453
+ {
454
+ "description"=>"Debian GNU/Linux 6.x Squeeze/Stable - Minimal Install (64 bit)"
455
+ }
456
+ },
457
+ "template"=>
458
+ {
459
+ "operatingSystemReferenceCode"=>"DEBIAN_6_64"
460
+ }
461
+ },
462
+ {
463
+ "itemPrice"=>
464
+ {
465
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
466
+ {
467
+ "description"=>"Debian GNU/Linux 6.x Squeeze/Stable - Minimal Install (32 bit)"
468
+ }
469
+ },
470
+ "template"=>
471
+ {
472
+ "operatingSystemReferenceCode"=>"DEBIAN_6_32"
473
+ }
474
+ },
475
+ {
476
+ "itemPrice"=>
477
+ {
478
+ "recurringFee"=>"0", "item"=>
479
+ {
480
+ "description"=>"VMware ESX 4.1"
481
+ }
482
+ },
483
+ "template"=>
484
+ {
485
+ "operatingSystemReferenceCode"=>"ESX_4_64"
486
+ }
487
+ },
488
+ {
489
+ "itemPrice"=>
490
+ {
491
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
492
+ {
493
+ "description"=>"VMware ESXi 5.5"
494
+ }
495
+ },
496
+ "template"=>
497
+ {
498
+ "operatingSystemReferenceCode"=>"ESXI_5.5_64"
499
+ }
500
+ },
501
+ {
502
+ "itemPrice"=>
503
+ {
504
+ "recurringFee"=>"0", "item"=>
505
+ {
506
+ "description"=>"VMware ESXi 5.1"
507
+ }
508
+ },
509
+ "template"=>
510
+ {
511
+ "operatingSystemReferenceCode"=>"ESXI_5.1_64"
512
+ }
513
+ },
514
+ {
515
+ "itemPrice"=>
516
+ {
517
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
518
+ {
519
+ "description"=>"FreeBSD 10.x (64 bit)"
520
+ }
521
+ },
522
+ "template"=>
523
+ {
524
+ "operatingSystemReferenceCode"=>"FREEBSD_10_64"
525
+ }
526
+ },
527
+ {
528
+ "itemPrice"=>
529
+ {
530
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
531
+ {
532
+ "description"=>"FreeBSD 10.x (32 bit)"
533
+ }
534
+ },
535
+ "template"=>
536
+ {
537
+ "operatingSystemReferenceCode"=>"FREEBSD_10_32"
538
+ }
539
+ },
540
+ {
541
+ "itemPrice"=>
542
+ {
543
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
544
+ {
545
+ "description"=>"FreeBSD 9.x (64 bit)"
546
+ }
547
+ },
548
+ "template"=>
549
+ {
550
+ "operatingSystemReferenceCode"=>"FREEBSD_9_64"
551
+ }
552
+ },
553
+ {
554
+ "itemPrice"=>
555
+ {
556
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
557
+ {
558
+ "description"=>"FreeBSD 9.x (32 bit)"
559
+ }
560
+ },
561
+ "template"=>
562
+ {
563
+ "operatingSystemReferenceCode"=>"FREEBSD_9_32"
564
+ }
565
+ },
566
+ {
567
+ "itemPrice"=>
568
+ {
569
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
570
+ {
571
+ "description"=>"FreeBSD 8.x (64 bit)"
572
+ }
573
+ },
574
+ "template"=>
575
+ {
576
+ "operatingSystemReferenceCode"=>"FREEBSD_8_64"
577
+ }
578
+ },
579
+ {
580
+ "itemPrice"=>
581
+ {
582
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
583
+ {
584
+ "description"=>"FreeBSD 8.x (32 bit)"
585
+ }
586
+ },
587
+ "template"=>
588
+ {
589
+ "operatingSystemReferenceCode"=>"FREEBSD_8_32"
590
+ }
591
+ },
592
+ {
593
+ "itemPrice"=>
594
+ {
595
+ "recurringFee"=>"45", "item"=>
596
+ {
597
+ "description"=>"Red Hat Enterprise Linux 6.x - Minimal Install (64 bit)"
598
+ }
599
+ },
600
+ "template"=>
601
+ {
602
+ "operatingSystemReferenceCode"=>"REDHAT_6_64"
603
+ }
604
+ },
605
+ {
606
+ "itemPrice"=>
607
+ {
608
+ "recurringFee"=>"45", "item"=>
609
+ {
610
+ "description"=>"Red Hat Enterprise Linux 6.x - Minimal Install (32 bit)"
611
+ }
612
+ },
613
+ "template"=>
614
+ {
615
+ "operatingSystemReferenceCode"=>"REDHAT_6_32"
616
+ }
617
+ },
618
+ {
619
+ "itemPrice"=>
620
+ {
621
+ "recurringFee"=>"45", "item"=>
622
+ {
623
+ "description"=>"Red Hat Enterprise Linux 5.x - Minimal Install (64 bit)"
624
+ }
625
+ },
626
+ "template"=>
627
+ {
628
+ "operatingSystemReferenceCode"=>"REDHAT_5_64"
629
+ }
630
+ },
631
+ {
632
+ "itemPrice"=>
633
+ {
634
+ "recurringFee"=>"45", "item"=>
635
+ {
636
+ "description"=>"Red Hat Enterprise Linux 5.x - Minimal Install (32 bit)"
637
+ }
638
+ },
639
+ "template"=>
640
+ {
641
+ "operatingSystemReferenceCode"=>"REDHAT_5_32"
642
+ }
643
+ },
644
+ {
645
+ "itemPrice"=>
646
+ {
647
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
648
+ {
649
+ "description"=>"Ubuntu Linux 14.04 LTS Trusty Tahr - Minimal Install (64 bit)"
650
+ }
651
+ },
652
+ "template"=>
653
+ {
654
+ "operatingSystemReferenceCode"=>"UBUNTU_14_64"
655
+ }
656
+ },
657
+ {
658
+ "itemPrice"=>
659
+ {
660
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
661
+ {
662
+ "description"=>"Ubuntu Linux 14.04 LTS Trusty Tahr - Minimal Install (32 bit)"
663
+ }
664
+ },
665
+ "template"=>
666
+ {
667
+ "operatingSystemReferenceCode"=>"UBUNTU_14_32"
668
+ }
669
+ },
670
+ {
671
+ "itemPrice"=>
672
+ {
673
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
674
+ {
675
+ "description"=>"Ubuntu Linux 12.04 LTS Precise Pangolin - Minimal Install (64 bit)"
676
+ }
677
+ },
678
+ "template"=>
679
+ {
680
+ "operatingSystemReferenceCode"=>"UBUNTU_12_64"
681
+ }
682
+ },
683
+ {
684
+ "itemPrice"=>
685
+ {
686
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
687
+ {
688
+ "description"=>"Ubuntu Linux 12.04 LTS Precise Pangolin - Minimal Install (32 bit)"
689
+ }
690
+ },
691
+ "template"=>
692
+ {
693
+ "operatingSystemReferenceCode"=>"UBUNTU_12_32"
694
+ }
695
+ },
696
+ {
697
+ "itemPrice"=>
698
+ {
699
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
700
+ {
701
+ "description"=>"Ubuntu Linux 10.04 LTS Lucid Lynx - Minimal Install (64 bit)"
702
+ }
703
+ },
704
+ "template"=>
705
+ {
706
+ "operatingSystemReferenceCode"=>"UBUNTU_10_64"
707
+ }
708
+ },
709
+ {
710
+ "itemPrice"=>
711
+ {
712
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
713
+ {
714
+ "description"=>"Ubuntu Linux 10.04 LTS Lucid Lynx - Minimal Install (32 bit)"
715
+ }
716
+ },
717
+ "template"=>
718
+ {
719
+ "operatingSystemReferenceCode"=>"UBUNTU_10_32"
720
+ }
721
+ },
722
+ {
723
+ "itemPrice"=>
724
+ {
725
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
726
+ {
727
+ "description"=>"Vyatta 6.6 Community Edition (64 bit)"
728
+ }
729
+ },
730
+ "template"=>
731
+ {
732
+ "operatingSystemReferenceCode"=>"VYATTACE_6.6R1_64"
733
+ }
734
+ },
735
+ {
736
+ "itemPrice"=>
737
+ {
738
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
739
+ {
740
+ "description"=>"Vyatta 6.5 Community Edition (64 bit)"
741
+ }
742
+ },
743
+ "template"=>
744
+ {
745
+ "operatingSystemReferenceCode"=>"VYATTACE_6.5R1_64"
746
+ }
747
+ },
748
+ {
749
+ "itemPrice"=>
750
+ {
751
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"219", "item"=>
752
+ {
753
+ "description"=>"Vyatta 6.x Subscription Edition (64 bit)"
754
+ }
755
+ },
756
+ "template"=>
757
+ {
758
+ "operatingSystemReferenceCode"=>"VYATTASE_6.6R2_64"
759
+ }
760
+ },
761
+ {
762
+ "itemPrice"=>
763
+ {
764
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
765
+ {
766
+ "description"=>"Windows Server 2012 Standard Edition (64 bit)"
767
+ }
768
+ },
769
+ "template"=>
770
+ {
771
+ "operatingSystemReferenceCode"=>"WIN_2012-STD_64"
772
+ }
773
+ },
774
+ {
775
+ "itemPrice"=>
776
+ {
777
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
778
+ {
779
+ "description"=>"Windows Server 2012 Datacenter Edition (64bit)"
780
+ }
781
+ },
782
+ "template"=>
783
+ {
784
+ "operatingSystemReferenceCode"=>"WIN_2012-DC_64"
785
+ }
786
+ },
787
+ {
788
+ "itemPrice"=>
789
+ {
790
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
791
+ {
792
+ "description"=>"Windows Server 2008 Standard Edition SP2 (64bit)"
793
+ }
794
+ },
795
+ "template"=>
796
+ {
797
+ "operatingSystemReferenceCode"=>"WIN_2008-STD-SP2_64"
798
+ }
799
+ },
800
+ {
801
+ "itemPrice"=>
802
+ {
803
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
804
+ {
805
+ "description"=>"Windows Server 2008 Standard Edition SP2 (32bit)"
806
+ }
807
+ },
808
+ "template"=>
809
+ {
810
+ "operatingSystemReferenceCode"=>"WIN_2008-STD-SP2_32"
811
+ }
812
+ },
813
+ {
814
+ "itemPrice"=>
815
+ {
816
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
817
+ {
818
+ "description"=>"Windows Server 2008 Standard SP1 with R2 (64 bit)"
819
+ }
820
+ },
821
+ "template"=>
822
+ {
823
+ "operatingSystemReferenceCode"=>"WIN_2008-STD-R2-SP1_64"
824
+ }
825
+ },
826
+ {
827
+ "itemPrice"=>
828
+ {
829
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
830
+ {
831
+ "description"=>"Windows Server 2008 R2 Standard Edition (64bit)"
832
+ }
833
+ },
834
+ "template"=>
835
+ {
836
+ "operatingSystemReferenceCode"=>"WIN_2008-STD-R2_64"
837
+ }
838
+ },
839
+ {
840
+ "itemPrice"=>
841
+ {
842
+ "hourlyRecurringFee"=>".092", "recurringFee"=>"64", "item"=>
843
+ {
844
+ "description"=>"Windows Server 2008 Enterprise Edition SP2 (64bit)"
845
+ }
846
+ },
847
+ "template"=>
848
+ {
849
+ "operatingSystemReferenceCode"=>"WIN_2008-ENT-SP2_64"
850
+ }
851
+ },
852
+ {
853
+ "itemPrice"=>
854
+ {
855
+ "hourlyRecurringFee"=>".092", "recurringFee"=>"64", "item"=>
856
+ {
857
+ "description"=>"Windows Server 2008 Enterprise Edition SP2 (32bit)"
858
+ }
859
+ },
860
+ "template"=>
861
+ {
862
+ "operatingSystemReferenceCode"=>"WIN_2008-ENT-SP2_32"
863
+ }
864
+ },
865
+ {
866
+ "itemPrice"=>
867
+ {
868
+ "hourlyRecurringFee"=>".092", "recurringFee"=>"64", "item"=>
869
+ {
870
+ "description"=>"Windows Server 2008 R2 Enterprise Edition (64bit)"
871
+ }
872
+ },
873
+ "template"=>
874
+ {
875
+ "operatingSystemReferenceCode"=>"WIN_2008-ENT-R2_64"
876
+ }
877
+ },
878
+ {
879
+ "itemPrice"=>
880
+ {
881
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
882
+ {
883
+ "description"=>"Windows Server 2008 Datacenter Edition SP2 (64bit)"
884
+ }
885
+ },
886
+ "template"=>
887
+ {
888
+ "operatingSystemReferenceCode"=>"WIN_2008-DC-SP2_64"
889
+ }
890
+ },
891
+ {
892
+ "itemPrice"=>
893
+ {
894
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
895
+ {
896
+ "description"=>"Windows Server 2008 Datacenter Edition SP2 (32bit)"
897
+ }
898
+ },
899
+ "template"=>
900
+ {
901
+ "operatingSystemReferenceCode"=>"WIN_2008-DC-SP2_32"
902
+ }
903
+ },
904
+ {
905
+ "itemPrice"=>
906
+ {
907
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
908
+ {
909
+ "description"=>"Windows Server 2008 R2 Datacenter Edition (64bit)"
910
+ }
911
+ },
912
+ "template"=>
913
+ {
914
+ "operatingSystemReferenceCode"=>"WIN_2008-DC-R2_64"
915
+ }
916
+ },
917
+ {
918
+ "itemPrice"=>
919
+ {
920
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
921
+ {
922
+ "description"=>"Windows Server 2003 Standard SP2 with R2 (64 bit)"
923
+ }
924
+ },
925
+ "template"=>
926
+ {
927
+ "operatingSystemReferenceCode"=>"WIN_2003-STD-SP2-5_64"
928
+ }
929
+ },
930
+ {
931
+ "itemPrice"=>
932
+ {
933
+ "hourlyRecurringFee"=>".024", "recurringFee"=>"17", "item"=>
934
+ {
935
+ "description"=>"Windows Server 2003 Standard SP2 with R2 (32 bit)"
936
+ }
937
+ },
938
+ "template"=>
939
+ {
940
+ "operatingSystemReferenceCode"=>"WIN_2003-STD-SP2-5_32"
941
+ }
942
+ },
943
+ {
944
+ "itemPrice"=>
945
+ {
946
+ "hourlyRecurringFee"=>".092", "recurringFee"=>"64", "item"=>
947
+ {
948
+ "description"=>"Windows Server 2003 Enterprise SP2 with R2 (64 bit)"
949
+ }
950
+ },
951
+ "template"=>
952
+ {
953
+ "operatingSystemReferenceCode"=>"WIN_2003-ENT-SP2-5_64"
954
+ }
955
+ },
956
+ {
957
+ "itemPrice"=>
958
+ {
959
+ "hourlyRecurringFee"=>".092", "recurringFee"=>"64", "item"=>
960
+ {
961
+ "description"=>"Windows Server 2003 Enterprise SP2 with R2 (32 bit)"
962
+ }
963
+ },
964
+ "template"=>
965
+ {
966
+ "operatingSystemReferenceCode"=>"WIN_2003-ENT-SP2-5_32"
967
+ }
968
+ },
969
+ {
970
+ "itemPrice"=>
971
+ {
972
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
973
+ {
974
+ "description"=>"Windows Server 2003 Datacenter SP2 with R2 (64 bit)"
975
+ }
976
+ },
977
+ "template"=>
978
+ {
979
+ "operatingSystemReferenceCode"=>"WIN_2003-DC-SP2-1_64"
980
+ }
981
+ },
982
+ {
983
+ "itemPrice"=>
984
+ {
985
+ "hourlyRecurringFee"=>".18", "recurringFee"=>"125", "item"=>
986
+ {
987
+ "description"=>"Windows Server 2003 Datacenter SP2 with R2 (32 bit)"
988
+ }
989
+ },
990
+ "template"=>
991
+ {
992
+ "operatingSystemReferenceCode"=>"WIN_2003-DC-SP2-1_32"
993
+ }
994
+ },
995
+ {
996
+ "itemPrice"=>
997
+ {
998
+ "recurringFee"=>"0", "item"=>
999
+ {
1000
+ "description"=>"Citrix XenServer 6.2"
1001
+ }
1002
+ },
1003
+ "template"=>
1004
+ {
1005
+ "operatingSystemReferenceCode"=>"XENSERVER_6.2_64"
1006
+ }
1007
+ },
1008
+ {
1009
+ "itemPrice"=>
1010
+ {
1011
+ "recurringFee"=>"0", "item"=>
1012
+ {
1013
+ "description"=>"Citrix XenServer 6.1"
1014
+ }
1015
+ },
1016
+ "template"=>
1017
+ {
1018
+ "operatingSystemReferenceCode"=>"XENSERVER_6.1_64"
1019
+ }
1020
+ },
1021
+ {
1022
+ "itemPrice"=>
1023
+ {
1024
+ "recurringFee"=>"0", "item"=>
1025
+ {
1026
+ "description"=>"Citrix XenServer 6.0.2"
1027
+ }
1028
+ },
1029
+ "template"=>
1030
+ {
1031
+ "operatingSystemReferenceCode"=>"XENSERVER_6.0_64"
1032
+ }
1033
+ },
1034
+ {
1035
+ "itemPrice"=>
1036
+ {
1037
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
1038
+ {
1039
+ "description"=>"Citrix XenServer 5.6"
1040
+ }
1041
+ },
1042
+ "template"=>
1043
+ {
1044
+ "operatingSystemReferenceCode"=>"XENSERVER_5.6_64"
1045
+ }
1046
+ },
1047
+ {
1048
+ "itemPrice"=>
1049
+ {
1050
+ "hourlyRecurringFee"=>"0", "recurringFee"=>"0", "item"=>
1051
+ {
1052
+ "description"=>"Citrix XenServer 5.5"
1053
+ }
1054
+ },
1055
+ "template"=>
1056
+ {
1057
+ "operatingSystemReferenceCode"=>"XENSERVER_5.5_64"
1058
+ }
1059
+ }
1060
+ ], "processors"=>
1061
+ [
1062
+ {
1063
+ "itemPrice"=>
1064
+ {
1065
+ "hourlyRecurringFee"=>".3", "recurringFee"=>"199", "item"=>
1066
+ {
1067
+ "description"=>"2 x 2.0 GHz Core Bare Metal Instance - 8 GB Ram "
1068
+ }
1069
+ },
1070
+ "template"=>
1071
+ {
1072
+ "memoryCapacity"=>8, "processorCoreAmount"=>2}
1073
+ },
1074
+ {
1075
+ "itemPrice"=>
1076
+ {
1077
+ "hourlyRecurringFee"=>".496", "recurringFee"=>"329", "item"=>
1078
+ {
1079
+ "description"=>"4 x 2.0 GHz Core Bare Metal Instance - 16 GB Ram"
1080
+ }
1081
+ },
1082
+ "template"=>
1083
+ {
1084
+ "memoryCapacity"=>16, "processorCoreAmount"=>4}
1085
+ },
1086
+ {
1087
+ "itemPrice"=>
1088
+ {
1089
+ "hourlyRecurringFee"=>".571", "recurringFee"=>"379", "item"=>
1090
+ {
1091
+ "description"=>"8 x 2.0 GHz Core Bare Metal Instance - 8 GB Ram"
1092
+ }
1093
+ },
1094
+ "template"=>
1095
+ {
1096
+ "memoryCapacity"=>8, "processorCoreAmount"=>8}
1097
+ },
1098
+ {
1099
+ "itemPrice"=>
1100
+ {
1101
+ "hourlyRecurringFee"=>".692", "recurringFee"=>"459", "item"=>
1102
+ {
1103
+ "description"=>"16 x 2.0 GHz Core Bare Metal Instance - 16 GB Ram"
1104
+ }
1105
+ },
1106
+ "template"=>
1107
+ {
1108
+ "memoryCapacity"=>16, "processorCoreAmount"=>16}
1109
+ }
1110
+ ]
1111
+ }
1112
+ end
1113
+ end
1114
+ end
1115
+ end
1116
+ end