squall 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/.rbenv-version +1 -0
- data/.rspec +1 -1
- data/.rvmrc +41 -1
- data/.travis.yml +13 -3
- data/README.md +122 -27
- data/Rakefile +5 -34
- data/lib/squall/data_store_zone.rb +58 -0
- data/lib/squall/firewall_rule.rb +66 -0
- data/lib/squall/hypervisor.rb +63 -11
- data/lib/squall/hypervisor_zone.rb +135 -0
- data/lib/squall/ip_address.rb +50 -3
- data/lib/squall/ip_address_join.rb +46 -0
- data/lib/squall/network.rb +21 -4
- data/lib/squall/network_zone.rb +73 -0
- data/lib/squall/payment.rb +59 -0
- data/lib/squall/role.rb +28 -11
- data/lib/squall/statistic.rb +3 -3
- data/lib/squall/{base.rb → support/base.rb} +8 -4
- data/lib/squall/{config.rb → support/config.rb} +4 -0
- data/lib/squall/{exception.rb → support/exception.rb} +0 -0
- data/lib/squall/{params.rb → support/params.rb} +0 -0
- data/lib/squall/support/version.rb +3 -0
- data/lib/squall/support/yaml.rb +5 -0
- data/lib/squall/template.rb +4 -0
- data/lib/squall/transaction.rb +4 -0
- data/lib/squall/user.rb +126 -30
- data/lib/squall/user_group.rb +56 -0
- data/lib/squall/virtual_machine.rb +176 -52
- data/lib/squall/whitelist.rb +74 -0
- data/lib/squall.rb +21 -12
- data/spec/spec_helper.rb +21 -16
- data/spec/squall/data_store_zone_spec.rb +97 -0
- data/spec/squall/firewall_rule_spec.rb +112 -0
- data/spec/squall/hypervisor_spec.rb +101 -48
- data/spec/squall/hypervisor_zone_spec.rb +190 -0
- data/spec/squall/ip_address_join_spec.rb +67 -0
- data/spec/squall/ip_address_spec.rb +68 -6
- data/spec/squall/network_spec.rb +0 -1
- data/spec/squall/network_zone_spec.rb +147 -0
- data/spec/squall/payment_spec.rb +98 -0
- data/spec/squall/role_spec.rb +31 -46
- data/spec/squall/statistic_spec.rb +7 -9
- data/spec/squall/{base_spec.rb → support/base_spec.rb} +5 -7
- data/spec/squall/{config_spec.rb → support/config_spec.rb} +0 -0
- data/spec/{params_spec.rb → squall/support/params_spec.rb} +0 -0
- data/spec/squall/template_spec.rb +0 -1
- data/spec/squall/transaction_spec.rb +0 -1
- data/spec/squall/user_group_spec.rb +74 -0
- data/spec/squall/user_spec.rb +142 -59
- data/spec/squall/virtual_machine_spec.rb +179 -67
- data/spec/squall/whitelist_spec.rb +113 -0
- data/spec/squall_spec.rb +4 -8
- data/spec/vcr_cassettes/data_store_zone/create.yml +40 -0
- data/spec/vcr_cassettes/data_store_zone/delete.yml +77 -0
- data/spec/vcr_cassettes/data_store_zone/edit.yml +77 -0
- data/spec/vcr_cassettes/data_store_zone/list.yml +40 -0
- data/spec/vcr_cassettes/data_store_zone/show.yml +77 -0
- data/spec/vcr_cassettes/firewall_rule/create.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/delete.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/edit.yml +75 -0
- data/spec/vcr_cassettes/firewall_rule/list.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/add_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/add_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/create.yml +7 -44
- data/spec/vcr_cassettes/hypervisor/data_store_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/delete.yml +11 -11
- data/spec/vcr_cassettes/hypervisor/edit.yml +7 -46
- data/spec/vcr_cassettes/hypervisor/list.yml +7 -7
- data/spec/vcr_cassettes/hypervisor/network_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/reboot.yml +13 -13
- data/spec/vcr_cassettes/hypervisor/remove_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/remove_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor/show.yml +13 -13
- data/spec/vcr_cassettes/hypervisor_zones/add_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/add_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/create.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/data_store_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/delete.yml +77 -0
- data/spec/vcr_cassettes/hypervisor_zones/edit.yml +77 -0
- data/spec/vcr_cassettes/hypervisor_zones/hypervisors.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/list.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/network_joins.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/remove_data_store_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/remove_network_join.yml +40 -0
- data/spec/vcr_cassettes/hypervisor_zones/show.yml +77 -0
- data/spec/vcr_cassettes/ipaddress/create.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/delete.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/edit.yml +40 -0
- data/spec/vcr_cassettes/ipaddress/list.yml +17 -17
- data/spec/vcr_cassettes/ipaddress_join/assign.yml +77 -0
- data/spec/vcr_cassettes/ipaddress_join/delete.yml +77 -0
- data/spec/vcr_cassettes/ipaddress_join/list.yml +77 -0
- data/spec/vcr_cassettes/network/create.yml +15 -15
- data/spec/vcr_cassettes/network/delete.yml +6 -6
- data/spec/vcr_cassettes/network/edit.yml +18 -18
- data/spec/vcr_cassettes/network/list.yml +3 -3
- data/spec/vcr_cassettes/network_zones/attach.yml +114 -0
- data/spec/vcr_cassettes/network_zones/create.yml +40 -0
- data/spec/vcr_cassettes/network_zones/delete.yml +77 -0
- data/spec/vcr_cassettes/network_zones/detach.yml +114 -0
- data/spec/vcr_cassettes/network_zones/edit.yml +77 -0
- data/spec/vcr_cassettes/network_zones/list.yml +40 -0
- data/spec/vcr_cassettes/network_zones/show.yml +77 -0
- data/spec/vcr_cassettes/payment/create.yml +78 -0
- data/spec/vcr_cassettes/payment/delete.yml +77 -0
- data/spec/vcr_cassettes/payment/edit.yml +77 -0
- data/spec/vcr_cassettes/payment/list.yml +41 -0
- data/spec/vcr_cassettes/role/create.yml +7 -44
- data/spec/vcr_cassettes/role/delete.yml +6 -6
- data/spec/vcr_cassettes/role/edit.yml +13 -75
- data/spec/vcr_cassettes/role/list.yml +7 -7
- data/spec/vcr_cassettes/role/permissions.yml +7 -7
- data/spec/vcr_cassettes/role/show.yml +13 -13
- data/spec/vcr_cassettes/statistic/usage_statistics.yml +7 -7
- data/spec/vcr_cassettes/template/list.yml +3 -3
- data/spec/vcr_cassettes/template/make_public.yml +6 -6
- data/spec/vcr_cassettes/transaction/list.yml +3 -3
- data/spec/vcr_cassettes/transaction/show.yml +6 -6
- data/spec/vcr_cassettes/user/activate.yml +7 -7
- data/spec/vcr_cassettes/user/create.yml +7 -83
- data/spec/vcr_cassettes/user/data_store_zones.yml +79 -0
- data/spec/vcr_cassettes/user/delete.yml +11 -11
- data/spec/vcr_cassettes/user/edit.yml +40 -0
- data/spec/vcr_cassettes/user/edit_role.yml +9 -9
- data/spec/vcr_cassettes/user/generate_api_key.yml +7 -7
- data/spec/vcr_cassettes/user/hypervisors.yml +77 -0
- data/spec/vcr_cassettes/user/limits.yml +77 -0
- data/spec/vcr_cassettes/user/list.yml +8 -8
- data/spec/vcr_cassettes/user/monthly_bills.yml +40 -0
- data/spec/vcr_cassettes/user/network_zones.yml +79 -0
- data/spec/vcr_cassettes/user/show.yml +29 -29
- data/spec/vcr_cassettes/user/stats.yml +6 -6
- data/spec/vcr_cassettes/user/suspend.yml +7 -7
- data/spec/vcr_cassettes/user/virtual_machines.yml +18 -20
- data/spec/vcr_cassettes/user_group/create.yml +40 -0
- data/spec/vcr_cassettes/user_group/delete.yml +77 -0
- data/spec/vcr_cassettes/user_group/edit.yml +77 -0
- data/spec/vcr_cassettes/user_group/list.yml +40 -0
- data/spec/vcr_cassettes/virtual_machine/build.yml +7 -7
- data/spec/vcr_cassettes/virtual_machine/change_owner.yml +8 -8
- data/spec/vcr_cassettes/virtual_machine/change_password.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/console.yml +63 -0
- data/spec/vcr_cassettes/virtual_machine/create.yml +9 -11
- data/spec/vcr_cassettes/virtual_machine/delete.yml +11 -11
- data/spec/vcr_cassettes/virtual_machine/edit.yml +16 -18
- data/spec/vcr_cassettes/virtual_machine/list.yml +3 -3
- data/spec/vcr_cassettes/virtual_machine/migrate.yml +22 -24
- data/spec/vcr_cassettes/virtual_machine/reboot.yml +22 -22
- data/spec/vcr_cassettes/virtual_machine/resize.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/segregate.yml +114 -0
- data/spec/vcr_cassettes/virtual_machine/set_ssh_keys.yml +77 -0
- data/spec/vcr_cassettes/virtual_machine/set_vip.yml +77 -0
- data/spec/vcr_cassettes/virtual_machine/show.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/shutdown.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/startup.yml +6 -6
- data/spec/vcr_cassettes/virtual_machine/stats.yml +63 -0
- data/spec/vcr_cassettes/virtual_machine/stop.yml +22 -22
- data/spec/vcr_cassettes/virtual_machine/suspend.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/unlock.yml +13 -13
- data/spec/vcr_cassettes/virtual_machine/unsuspend.yml +6 -6
- data/spec/vcr_cassettes/whitelist/create.yml +77 -0
- data/spec/vcr_cassettes/whitelist/delete.yml +77 -0
- data/spec/vcr_cassettes/whitelist/edit.yml +77 -0
- data/spec/vcr_cassettes/whitelist/list.yml +40 -0
- data/spec/vcr_cassettes/whitelist/show.yml +77 -0
- data/squall.gemspec +3 -2
- metadata +247 -131
- data/Gemfile.lock +0 -100
- data/lib/squall/version.rb +0 -3
metadata
CHANGED
@@ -1,187 +1,221 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: squall
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 1.0.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Justin Mazzi
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: httparty
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70349368130980 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 7
|
33
|
-
- 4
|
34
|
-
version: 0.7.4
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.8.1
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rspec
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *70349368130980
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rspec
|
27
|
+
requirement: &70349368130460 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
29
|
+
requirements:
|
43
30
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 5
|
49
|
-
version: "2.5"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.5'
|
50
33
|
type: :development
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: fakeweb
|
54
34
|
prerelease: false
|
55
|
-
|
35
|
+
version_requirements: *70349368130460
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: fakeweb
|
38
|
+
requirement: &70349368130000 !ruby/object:Gem::Requirement
|
56
39
|
none: false
|
57
|
-
requirements:
|
40
|
+
requirements:
|
58
41
|
- - ~>
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 3
|
64
|
-
version: "1.3"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.3'
|
65
44
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: vcr
|
69
45
|
prerelease: false
|
70
|
-
|
46
|
+
version_requirements: *70349368130000
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: vcr
|
49
|
+
requirement: &70349368129540 !ruby/object:Gem::Requirement
|
71
50
|
none: false
|
72
|
-
requirements:
|
51
|
+
requirements:
|
73
52
|
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
77
|
-
- 1
|
78
|
-
- 8
|
79
|
-
version: "1.8"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.8'
|
80
55
|
type: :development
|
81
|
-
|
82
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70349368129540
|
58
|
+
- !ruby/object:Gem::Dependency
|
83
59
|
name: awesome_print
|
60
|
+
requirement: &70349368159880 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
84
67
|
prerelease: false
|
85
|
-
|
68
|
+
version_requirements: *70349368159880
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: &70349368159340 !ruby/object:Gem::Requirement
|
86
72
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
|
91
|
-
segments:
|
92
|
-
- 0
|
93
|
-
version: "0"
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.8.7
|
94
77
|
type: :development
|
95
|
-
version_requirements: *id005
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
name: rcov
|
98
78
|
prerelease: false
|
99
|
-
|
79
|
+
version_requirements: *70349368159340
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rcov
|
82
|
+
requirement: &70349368158800 !ruby/object:Gem::Requirement
|
100
83
|
none: false
|
101
|
-
requirements:
|
84
|
+
requirements:
|
102
85
|
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
- 9
|
108
|
-
version: "0.9"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0.9'
|
109
88
|
type: :development
|
110
|
-
version_requirements: *id006
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: metric_fu
|
113
89
|
prerelease: false
|
114
|
-
|
90
|
+
version_requirements: *70349368158800
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: metric_fu
|
93
|
+
requirement: &70349368158340 !ruby/object:Gem::Requirement
|
115
94
|
none: false
|
116
|
-
requirements:
|
95
|
+
requirements:
|
117
96
|
- - ~>
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
segments:
|
121
|
-
- 2
|
122
|
-
- 1
|
123
|
-
version: "2.1"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '2.1'
|
124
99
|
type: :development
|
125
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70349368158340
|
126
102
|
description: A Ruby library for working with the OnApp REST API
|
127
|
-
email:
|
103
|
+
email:
|
128
104
|
- jmazzi@site5.com
|
129
105
|
executables: []
|
130
|
-
|
131
106
|
extensions: []
|
132
|
-
|
133
107
|
extra_rdoc_files: []
|
134
|
-
|
135
|
-
files:
|
108
|
+
files:
|
136
109
|
- .gitignore
|
110
|
+
- .rbenv-version
|
137
111
|
- .rspec
|
138
112
|
- .rvmrc
|
139
113
|
- .travis.yml
|
140
114
|
- Gemfile
|
141
|
-
- Gemfile.lock
|
142
115
|
- LICENSE
|
143
116
|
- README.md
|
144
117
|
- Rakefile
|
145
118
|
- lib/squall.rb
|
146
|
-
- lib/squall/
|
147
|
-
- lib/squall/
|
148
|
-
- lib/squall/exception.rb
|
119
|
+
- lib/squall/data_store_zone.rb
|
120
|
+
- lib/squall/firewall_rule.rb
|
149
121
|
- lib/squall/hypervisor.rb
|
122
|
+
- lib/squall/hypervisor_zone.rb
|
150
123
|
- lib/squall/ip_address.rb
|
124
|
+
- lib/squall/ip_address_join.rb
|
151
125
|
- lib/squall/network.rb
|
152
|
-
- lib/squall/
|
126
|
+
- lib/squall/network_zone.rb
|
127
|
+
- lib/squall/payment.rb
|
153
128
|
- lib/squall/role.rb
|
154
129
|
- lib/squall/statistic.rb
|
130
|
+
- lib/squall/support/base.rb
|
131
|
+
- lib/squall/support/config.rb
|
132
|
+
- lib/squall/support/exception.rb
|
133
|
+
- lib/squall/support/params.rb
|
134
|
+
- lib/squall/support/version.rb
|
135
|
+
- lib/squall/support/yaml.rb
|
155
136
|
- lib/squall/template.rb
|
156
137
|
- lib/squall/transaction.rb
|
157
138
|
- lib/squall/user.rb
|
158
|
-
- lib/squall/
|
139
|
+
- lib/squall/user_group.rb
|
159
140
|
- lib/squall/virtual_machine.rb
|
160
|
-
-
|
141
|
+
- lib/squall/whitelist.rb
|
161
142
|
- spec/spec_helper.rb
|
162
|
-
- spec/squall/
|
163
|
-
- spec/squall/
|
143
|
+
- spec/squall/data_store_zone_spec.rb
|
144
|
+
- spec/squall/firewall_rule_spec.rb
|
164
145
|
- spec/squall/hypervisor_spec.rb
|
146
|
+
- spec/squall/hypervisor_zone_spec.rb
|
147
|
+
- spec/squall/ip_address_join_spec.rb
|
165
148
|
- spec/squall/ip_address_spec.rb
|
166
149
|
- spec/squall/network_spec.rb
|
150
|
+
- spec/squall/network_zone_spec.rb
|
151
|
+
- spec/squall/payment_spec.rb
|
167
152
|
- spec/squall/role_spec.rb
|
168
153
|
- spec/squall/statistic_spec.rb
|
154
|
+
- spec/squall/support/base_spec.rb
|
155
|
+
- spec/squall/support/config_spec.rb
|
156
|
+
- spec/squall/support/params_spec.rb
|
169
157
|
- spec/squall/template_spec.rb
|
170
158
|
- spec/squall/transaction_spec.rb
|
159
|
+
- spec/squall/user_group_spec.rb
|
171
160
|
- spec/squall/user_spec.rb
|
172
161
|
- spec/squall/virtual_machine_spec.rb
|
162
|
+
- spec/squall/whitelist_spec.rb
|
173
163
|
- spec/squall_spec.rb
|
164
|
+
- spec/vcr_cassettes/data_store_zone/create.yml
|
165
|
+
- spec/vcr_cassettes/data_store_zone/delete.yml
|
166
|
+
- spec/vcr_cassettes/data_store_zone/edit.yml
|
167
|
+
- spec/vcr_cassettes/data_store_zone/list.yml
|
168
|
+
- spec/vcr_cassettes/data_store_zone/show.yml
|
169
|
+
- spec/vcr_cassettes/firewall_rule/create.yml
|
170
|
+
- spec/vcr_cassettes/firewall_rule/delete.yml
|
171
|
+
- spec/vcr_cassettes/firewall_rule/edit.yml
|
172
|
+
- spec/vcr_cassettes/firewall_rule/list.yml
|
173
|
+
- spec/vcr_cassettes/hypervisor/add_data_store_join.yml
|
174
|
+
- spec/vcr_cassettes/hypervisor/add_network_join.yml
|
174
175
|
- spec/vcr_cassettes/hypervisor/create.yml
|
176
|
+
- spec/vcr_cassettes/hypervisor/data_store_joins.yml
|
175
177
|
- spec/vcr_cassettes/hypervisor/delete.yml
|
176
178
|
- spec/vcr_cassettes/hypervisor/edit.yml
|
177
179
|
- spec/vcr_cassettes/hypervisor/list.yml
|
180
|
+
- spec/vcr_cassettes/hypervisor/network_joins.yml
|
178
181
|
- spec/vcr_cassettes/hypervisor/reboot.yml
|
182
|
+
- spec/vcr_cassettes/hypervisor/remove_data_store_join.yml
|
183
|
+
- spec/vcr_cassettes/hypervisor/remove_network_join.yml
|
179
184
|
- spec/vcr_cassettes/hypervisor/show.yml
|
185
|
+
- spec/vcr_cassettes/hypervisor_zones/add_data_store_join.yml
|
186
|
+
- spec/vcr_cassettes/hypervisor_zones/add_network_join.yml
|
187
|
+
- spec/vcr_cassettes/hypervisor_zones/create.yml
|
188
|
+
- spec/vcr_cassettes/hypervisor_zones/data_store_joins.yml
|
189
|
+
- spec/vcr_cassettes/hypervisor_zones/delete.yml
|
190
|
+
- spec/vcr_cassettes/hypervisor_zones/edit.yml
|
191
|
+
- spec/vcr_cassettes/hypervisor_zones/hypervisors.yml
|
192
|
+
- spec/vcr_cassettes/hypervisor_zones/list.yml
|
193
|
+
- spec/vcr_cassettes/hypervisor_zones/network_joins.yml
|
194
|
+
- spec/vcr_cassettes/hypervisor_zones/remove_data_store_join.yml
|
195
|
+
- spec/vcr_cassettes/hypervisor_zones/remove_network_join.yml
|
196
|
+
- spec/vcr_cassettes/hypervisor_zones/show.yml
|
197
|
+
- spec/vcr_cassettes/ipaddress/create.yml
|
198
|
+
- spec/vcr_cassettes/ipaddress/delete.yml
|
199
|
+
- spec/vcr_cassettes/ipaddress/edit.yml
|
180
200
|
- spec/vcr_cassettes/ipaddress/list.yml
|
201
|
+
- spec/vcr_cassettes/ipaddress_join/assign.yml
|
202
|
+
- spec/vcr_cassettes/ipaddress_join/delete.yml
|
203
|
+
- spec/vcr_cassettes/ipaddress_join/list.yml
|
181
204
|
- spec/vcr_cassettes/network/create.yml
|
182
205
|
- spec/vcr_cassettes/network/delete.yml
|
183
206
|
- spec/vcr_cassettes/network/edit.yml
|
184
207
|
- spec/vcr_cassettes/network/list.yml
|
208
|
+
- spec/vcr_cassettes/network_zones/attach.yml
|
209
|
+
- spec/vcr_cassettes/network_zones/create.yml
|
210
|
+
- spec/vcr_cassettes/network_zones/delete.yml
|
211
|
+
- spec/vcr_cassettes/network_zones/detach.yml
|
212
|
+
- spec/vcr_cassettes/network_zones/edit.yml
|
213
|
+
- spec/vcr_cassettes/network_zones/list.yml
|
214
|
+
- spec/vcr_cassettes/network_zones/show.yml
|
215
|
+
- spec/vcr_cassettes/payment/create.yml
|
216
|
+
- spec/vcr_cassettes/payment/delete.yml
|
217
|
+
- spec/vcr_cassettes/payment/edit.yml
|
218
|
+
- spec/vcr_cassettes/payment/list.yml
|
185
219
|
- spec/vcr_cassettes/role/create.yml
|
186
220
|
- spec/vcr_cassettes/role/delete.yml
|
187
221
|
- spec/vcr_cassettes/role/edit.yml
|
@@ -195,17 +229,28 @@ files:
|
|
195
229
|
- spec/vcr_cassettes/transaction/show.yml
|
196
230
|
- spec/vcr_cassettes/user/activate.yml
|
197
231
|
- spec/vcr_cassettes/user/create.yml
|
232
|
+
- spec/vcr_cassettes/user/data_store_zones.yml
|
198
233
|
- spec/vcr_cassettes/user/delete.yml
|
234
|
+
- spec/vcr_cassettes/user/edit.yml
|
199
235
|
- spec/vcr_cassettes/user/edit_role.yml
|
200
236
|
- spec/vcr_cassettes/user/generate_api_key.yml
|
237
|
+
- spec/vcr_cassettes/user/hypervisors.yml
|
238
|
+
- spec/vcr_cassettes/user/limits.yml
|
201
239
|
- spec/vcr_cassettes/user/list.yml
|
240
|
+
- spec/vcr_cassettes/user/monthly_bills.yml
|
241
|
+
- spec/vcr_cassettes/user/network_zones.yml
|
202
242
|
- spec/vcr_cassettes/user/show.yml
|
203
243
|
- spec/vcr_cassettes/user/stats.yml
|
204
244
|
- spec/vcr_cassettes/user/suspend.yml
|
205
245
|
- spec/vcr_cassettes/user/virtual_machines.yml
|
246
|
+
- spec/vcr_cassettes/user_group/create.yml
|
247
|
+
- spec/vcr_cassettes/user_group/delete.yml
|
248
|
+
- spec/vcr_cassettes/user_group/edit.yml
|
249
|
+
- spec/vcr_cassettes/user_group/list.yml
|
206
250
|
- spec/vcr_cassettes/virtual_machine/build.yml
|
207
251
|
- spec/vcr_cassettes/virtual_machine/change_owner.yml
|
208
252
|
- spec/vcr_cassettes/virtual_machine/change_password.yml
|
253
|
+
- spec/vcr_cassettes/virtual_machine/console.yml
|
209
254
|
- spec/vcr_cassettes/virtual_machine/create.yml
|
210
255
|
- spec/vcr_cassettes/virtual_machine/delete.yml
|
211
256
|
- spec/vcr_cassettes/virtual_machine/edit.yml
|
@@ -213,74 +258,125 @@ files:
|
|
213
258
|
- spec/vcr_cassettes/virtual_machine/migrate.yml
|
214
259
|
- spec/vcr_cassettes/virtual_machine/reboot.yml
|
215
260
|
- spec/vcr_cassettes/virtual_machine/resize.yml
|
261
|
+
- spec/vcr_cassettes/virtual_machine/segregate.yml
|
262
|
+
- spec/vcr_cassettes/virtual_machine/set_ssh_keys.yml
|
263
|
+
- spec/vcr_cassettes/virtual_machine/set_vip.yml
|
216
264
|
- spec/vcr_cassettes/virtual_machine/show.yml
|
217
265
|
- spec/vcr_cassettes/virtual_machine/shutdown.yml
|
218
266
|
- spec/vcr_cassettes/virtual_machine/startup.yml
|
267
|
+
- spec/vcr_cassettes/virtual_machine/stats.yml
|
219
268
|
- spec/vcr_cassettes/virtual_machine/stop.yml
|
220
269
|
- spec/vcr_cassettes/virtual_machine/suspend.yml
|
221
270
|
- spec/vcr_cassettes/virtual_machine/unlock.yml
|
222
271
|
- spec/vcr_cassettes/virtual_machine/unsuspend.yml
|
272
|
+
- spec/vcr_cassettes/whitelist/create.yml
|
273
|
+
- spec/vcr_cassettes/whitelist/delete.yml
|
274
|
+
- spec/vcr_cassettes/whitelist/edit.yml
|
275
|
+
- spec/vcr_cassettes/whitelist/list.yml
|
276
|
+
- spec/vcr_cassettes/whitelist/show.yml
|
223
277
|
- squall.gemspec
|
224
|
-
|
225
|
-
homepage: ""
|
278
|
+
homepage: ''
|
226
279
|
licenses: []
|
227
|
-
|
228
280
|
post_install_message:
|
229
281
|
rdoc_options: []
|
230
|
-
|
231
|
-
require_paths:
|
282
|
+
require_paths:
|
232
283
|
- lib
|
233
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
234
285
|
none: false
|
235
|
-
requirements:
|
236
|
-
- -
|
237
|
-
- !ruby/object:Gem::Version
|
238
|
-
|
239
|
-
|
240
|
-
- 0
|
241
|
-
version: "0"
|
242
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
286
|
+
requirements:
|
287
|
+
- - ! '>='
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
291
|
none: false
|
244
|
-
requirements:
|
245
|
-
- -
|
246
|
-
- !ruby/object:Gem::Version
|
247
|
-
|
248
|
-
segments:
|
249
|
-
- 0
|
250
|
-
version: "0"
|
292
|
+
requirements:
|
293
|
+
- - ! '>='
|
294
|
+
- !ruby/object:Gem::Version
|
295
|
+
version: '0'
|
251
296
|
requirements: []
|
252
|
-
|
253
297
|
rubyforge_project: squall
|
254
|
-
rubygems_version: 1.
|
298
|
+
rubygems_version: 1.8.10
|
255
299
|
signing_key:
|
256
300
|
specification_version: 3
|
257
301
|
summary: A Ruby library for working with the OnApp REST API
|
258
|
-
test_files:
|
259
|
-
- spec/params_spec.rb
|
302
|
+
test_files:
|
260
303
|
- spec/spec_helper.rb
|
261
|
-
- spec/squall/
|
262
|
-
- spec/squall/
|
304
|
+
- spec/squall/data_store_zone_spec.rb
|
305
|
+
- spec/squall/firewall_rule_spec.rb
|
263
306
|
- spec/squall/hypervisor_spec.rb
|
307
|
+
- spec/squall/hypervisor_zone_spec.rb
|
308
|
+
- spec/squall/ip_address_join_spec.rb
|
264
309
|
- spec/squall/ip_address_spec.rb
|
265
310
|
- spec/squall/network_spec.rb
|
311
|
+
- spec/squall/network_zone_spec.rb
|
312
|
+
- spec/squall/payment_spec.rb
|
266
313
|
- spec/squall/role_spec.rb
|
267
314
|
- spec/squall/statistic_spec.rb
|
315
|
+
- spec/squall/support/base_spec.rb
|
316
|
+
- spec/squall/support/config_spec.rb
|
317
|
+
- spec/squall/support/params_spec.rb
|
268
318
|
- spec/squall/template_spec.rb
|
269
319
|
- spec/squall/transaction_spec.rb
|
320
|
+
- spec/squall/user_group_spec.rb
|
270
321
|
- spec/squall/user_spec.rb
|
271
322
|
- spec/squall/virtual_machine_spec.rb
|
323
|
+
- spec/squall/whitelist_spec.rb
|
272
324
|
- spec/squall_spec.rb
|
325
|
+
- spec/vcr_cassettes/data_store_zone/create.yml
|
326
|
+
- spec/vcr_cassettes/data_store_zone/delete.yml
|
327
|
+
- spec/vcr_cassettes/data_store_zone/edit.yml
|
328
|
+
- spec/vcr_cassettes/data_store_zone/list.yml
|
329
|
+
- spec/vcr_cassettes/data_store_zone/show.yml
|
330
|
+
- spec/vcr_cassettes/firewall_rule/create.yml
|
331
|
+
- spec/vcr_cassettes/firewall_rule/delete.yml
|
332
|
+
- spec/vcr_cassettes/firewall_rule/edit.yml
|
333
|
+
- spec/vcr_cassettes/firewall_rule/list.yml
|
334
|
+
- spec/vcr_cassettes/hypervisor/add_data_store_join.yml
|
335
|
+
- spec/vcr_cassettes/hypervisor/add_network_join.yml
|
273
336
|
- spec/vcr_cassettes/hypervisor/create.yml
|
337
|
+
- spec/vcr_cassettes/hypervisor/data_store_joins.yml
|
274
338
|
- spec/vcr_cassettes/hypervisor/delete.yml
|
275
339
|
- spec/vcr_cassettes/hypervisor/edit.yml
|
276
340
|
- spec/vcr_cassettes/hypervisor/list.yml
|
341
|
+
- spec/vcr_cassettes/hypervisor/network_joins.yml
|
277
342
|
- spec/vcr_cassettes/hypervisor/reboot.yml
|
343
|
+
- spec/vcr_cassettes/hypervisor/remove_data_store_join.yml
|
344
|
+
- spec/vcr_cassettes/hypervisor/remove_network_join.yml
|
278
345
|
- spec/vcr_cassettes/hypervisor/show.yml
|
346
|
+
- spec/vcr_cassettes/hypervisor_zones/add_data_store_join.yml
|
347
|
+
- spec/vcr_cassettes/hypervisor_zones/add_network_join.yml
|
348
|
+
- spec/vcr_cassettes/hypervisor_zones/create.yml
|
349
|
+
- spec/vcr_cassettes/hypervisor_zones/data_store_joins.yml
|
350
|
+
- spec/vcr_cassettes/hypervisor_zones/delete.yml
|
351
|
+
- spec/vcr_cassettes/hypervisor_zones/edit.yml
|
352
|
+
- spec/vcr_cassettes/hypervisor_zones/hypervisors.yml
|
353
|
+
- spec/vcr_cassettes/hypervisor_zones/list.yml
|
354
|
+
- spec/vcr_cassettes/hypervisor_zones/network_joins.yml
|
355
|
+
- spec/vcr_cassettes/hypervisor_zones/remove_data_store_join.yml
|
356
|
+
- spec/vcr_cassettes/hypervisor_zones/remove_network_join.yml
|
357
|
+
- spec/vcr_cassettes/hypervisor_zones/show.yml
|
358
|
+
- spec/vcr_cassettes/ipaddress/create.yml
|
359
|
+
- spec/vcr_cassettes/ipaddress/delete.yml
|
360
|
+
- spec/vcr_cassettes/ipaddress/edit.yml
|
279
361
|
- spec/vcr_cassettes/ipaddress/list.yml
|
362
|
+
- spec/vcr_cassettes/ipaddress_join/assign.yml
|
363
|
+
- spec/vcr_cassettes/ipaddress_join/delete.yml
|
364
|
+
- spec/vcr_cassettes/ipaddress_join/list.yml
|
280
365
|
- spec/vcr_cassettes/network/create.yml
|
281
366
|
- spec/vcr_cassettes/network/delete.yml
|
282
367
|
- spec/vcr_cassettes/network/edit.yml
|
283
368
|
- spec/vcr_cassettes/network/list.yml
|
369
|
+
- spec/vcr_cassettes/network_zones/attach.yml
|
370
|
+
- spec/vcr_cassettes/network_zones/create.yml
|
371
|
+
- spec/vcr_cassettes/network_zones/delete.yml
|
372
|
+
- spec/vcr_cassettes/network_zones/detach.yml
|
373
|
+
- spec/vcr_cassettes/network_zones/edit.yml
|
374
|
+
- spec/vcr_cassettes/network_zones/list.yml
|
375
|
+
- spec/vcr_cassettes/network_zones/show.yml
|
376
|
+
- spec/vcr_cassettes/payment/create.yml
|
377
|
+
- spec/vcr_cassettes/payment/delete.yml
|
378
|
+
- spec/vcr_cassettes/payment/edit.yml
|
379
|
+
- spec/vcr_cassettes/payment/list.yml
|
284
380
|
- spec/vcr_cassettes/role/create.yml
|
285
381
|
- spec/vcr_cassettes/role/delete.yml
|
286
382
|
- spec/vcr_cassettes/role/edit.yml
|
@@ -294,17 +390,28 @@ test_files:
|
|
294
390
|
- spec/vcr_cassettes/transaction/show.yml
|
295
391
|
- spec/vcr_cassettes/user/activate.yml
|
296
392
|
- spec/vcr_cassettes/user/create.yml
|
393
|
+
- spec/vcr_cassettes/user/data_store_zones.yml
|
297
394
|
- spec/vcr_cassettes/user/delete.yml
|
395
|
+
- spec/vcr_cassettes/user/edit.yml
|
298
396
|
- spec/vcr_cassettes/user/edit_role.yml
|
299
397
|
- spec/vcr_cassettes/user/generate_api_key.yml
|
398
|
+
- spec/vcr_cassettes/user/hypervisors.yml
|
399
|
+
- spec/vcr_cassettes/user/limits.yml
|
300
400
|
- spec/vcr_cassettes/user/list.yml
|
401
|
+
- spec/vcr_cassettes/user/monthly_bills.yml
|
402
|
+
- spec/vcr_cassettes/user/network_zones.yml
|
301
403
|
- spec/vcr_cassettes/user/show.yml
|
302
404
|
- spec/vcr_cassettes/user/stats.yml
|
303
405
|
- spec/vcr_cassettes/user/suspend.yml
|
304
406
|
- spec/vcr_cassettes/user/virtual_machines.yml
|
407
|
+
- spec/vcr_cassettes/user_group/create.yml
|
408
|
+
- spec/vcr_cassettes/user_group/delete.yml
|
409
|
+
- spec/vcr_cassettes/user_group/edit.yml
|
410
|
+
- spec/vcr_cassettes/user_group/list.yml
|
305
411
|
- spec/vcr_cassettes/virtual_machine/build.yml
|
306
412
|
- spec/vcr_cassettes/virtual_machine/change_owner.yml
|
307
413
|
- spec/vcr_cassettes/virtual_machine/change_password.yml
|
414
|
+
- spec/vcr_cassettes/virtual_machine/console.yml
|
308
415
|
- spec/vcr_cassettes/virtual_machine/create.yml
|
309
416
|
- spec/vcr_cassettes/virtual_machine/delete.yml
|
310
417
|
- spec/vcr_cassettes/virtual_machine/edit.yml
|
@@ -312,10 +419,19 @@ test_files:
|
|
312
419
|
- spec/vcr_cassettes/virtual_machine/migrate.yml
|
313
420
|
- spec/vcr_cassettes/virtual_machine/reboot.yml
|
314
421
|
- spec/vcr_cassettes/virtual_machine/resize.yml
|
422
|
+
- spec/vcr_cassettes/virtual_machine/segregate.yml
|
423
|
+
- spec/vcr_cassettes/virtual_machine/set_ssh_keys.yml
|
424
|
+
- spec/vcr_cassettes/virtual_machine/set_vip.yml
|
315
425
|
- spec/vcr_cassettes/virtual_machine/show.yml
|
316
426
|
- spec/vcr_cassettes/virtual_machine/shutdown.yml
|
317
427
|
- spec/vcr_cassettes/virtual_machine/startup.yml
|
428
|
+
- spec/vcr_cassettes/virtual_machine/stats.yml
|
318
429
|
- spec/vcr_cassettes/virtual_machine/stop.yml
|
319
430
|
- spec/vcr_cassettes/virtual_machine/suspend.yml
|
320
431
|
- spec/vcr_cassettes/virtual_machine/unlock.yml
|
321
432
|
- spec/vcr_cassettes/virtual_machine/unsuspend.yml
|
433
|
+
- spec/vcr_cassettes/whitelist/create.yml
|
434
|
+
- spec/vcr_cassettes/whitelist/delete.yml
|
435
|
+
- spec/vcr_cassettes/whitelist/edit.yml
|
436
|
+
- spec/vcr_cassettes/whitelist/list.yml
|
437
|
+
- spec/vcr_cassettes/whitelist/show.yml
|
data/Gemfile.lock
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
squall (1.0.1)
|
5
|
-
httparty (~> 0.7.4)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
Saikuro (1.1.0)
|
11
|
-
abstract (1.0.0)
|
12
|
-
activesupport (3.0.6)
|
13
|
-
arrayfields (4.7.4)
|
14
|
-
awesome_print (0.3.2)
|
15
|
-
chronic (0.3.0)
|
16
|
-
churn (0.0.13)
|
17
|
-
chronic (>= 0.2.3)
|
18
|
-
hirb
|
19
|
-
json_pure
|
20
|
-
main
|
21
|
-
ruby_parser (~> 2.0.4)
|
22
|
-
sexp_processor (~> 3.0.3)
|
23
|
-
colored (1.2)
|
24
|
-
crack (0.1.8)
|
25
|
-
diff-lcs (1.1.2)
|
26
|
-
erubis (2.6.6)
|
27
|
-
abstract (>= 1.0.0)
|
28
|
-
fakeweb (1.3.0)
|
29
|
-
fattr (2.2.0)
|
30
|
-
flay (1.4.2)
|
31
|
-
ruby_parser (~> 2.0)
|
32
|
-
sexp_processor (~> 3.0)
|
33
|
-
flog (2.5.1)
|
34
|
-
ruby_parser (~> 2.0)
|
35
|
-
sexp_processor (~> 3.0)
|
36
|
-
haml (3.0.25)
|
37
|
-
hirb (0.4.3)
|
38
|
-
httparty (0.7.7)
|
39
|
-
crack (= 0.1.8)
|
40
|
-
i18n (0.5.0)
|
41
|
-
json_pure (1.5.1)
|
42
|
-
main (4.4.0)
|
43
|
-
arrayfields (>= 4.7.4)
|
44
|
-
fattr (>= 2.1.0)
|
45
|
-
metric_fu (2.1.1)
|
46
|
-
Saikuro (>= 1.1.0)
|
47
|
-
activesupport (>= 2.0.0)
|
48
|
-
chronic (~> 0.3.0)
|
49
|
-
churn (>= 0.0.7)
|
50
|
-
flay (>= 1.2.1)
|
51
|
-
flog (>= 2.3.0)
|
52
|
-
rails_best_practices (>= 0.6.4)
|
53
|
-
rcov (>= 0.8.3.3)
|
54
|
-
reek (>= 1.2.6)
|
55
|
-
roodi (>= 2.1.0)
|
56
|
-
syntax
|
57
|
-
rails_best_practices (0.7.5)
|
58
|
-
activesupport
|
59
|
-
colored (~> 1.2)
|
60
|
-
erubis (~> 2.6.6)
|
61
|
-
haml (~> 3.0.18)
|
62
|
-
i18n
|
63
|
-
ruby-progressbar (~> 0.0.9)
|
64
|
-
ruby_parser (~> 2.0.4)
|
65
|
-
rcov (0.9.9)
|
66
|
-
reek (1.2.8)
|
67
|
-
ruby2ruby (~> 1.2)
|
68
|
-
ruby_parser (~> 2.0)
|
69
|
-
sexp_processor (~> 3.0)
|
70
|
-
roodi (2.1.0)
|
71
|
-
ruby_parser
|
72
|
-
rspec (2.5.0)
|
73
|
-
rspec-core (~> 2.5.0)
|
74
|
-
rspec-expectations (~> 2.5.0)
|
75
|
-
rspec-mocks (~> 2.5.0)
|
76
|
-
rspec-core (2.5.1)
|
77
|
-
rspec-expectations (2.5.0)
|
78
|
-
diff-lcs (~> 1.1.2)
|
79
|
-
rspec-mocks (2.5.0)
|
80
|
-
ruby-progressbar (0.0.9)
|
81
|
-
ruby2ruby (1.2.5)
|
82
|
-
ruby_parser (~> 2.0)
|
83
|
-
sexp_processor (~> 3.0)
|
84
|
-
ruby_parser (2.0.6)
|
85
|
-
sexp_processor (~> 3.0)
|
86
|
-
sexp_processor (3.0.5)
|
87
|
-
syntax (1.0.0)
|
88
|
-
vcr (1.8.0)
|
89
|
-
|
90
|
-
PLATFORMS
|
91
|
-
ruby
|
92
|
-
|
93
|
-
DEPENDENCIES
|
94
|
-
awesome_print
|
95
|
-
fakeweb (~> 1.3)
|
96
|
-
metric_fu (~> 2.1)
|
97
|
-
rcov (~> 0.9)
|
98
|
-
rspec (~> 2.5)
|
99
|
-
squall!
|
100
|
-
vcr (~> 1.8)
|
data/lib/squall/version.rb
DELETED