fog-storm_on_demand 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fog-storm_on_demand.gemspec +4 -1
- data/lib/fog/account/storm_on_demand.rb +4 -4
- data/lib/fog/account/storm_on_demand/models/token.rb +1 -1
- data/lib/fog/account/storm_on_demand/requests/create_token.rb +1 -1
- data/lib/fog/account/storm_on_demand/requests/expire_token.rb +1 -1
- data/lib/fog/billing/storm_on_demand.rb +6 -6
- data/lib/fog/billing/storm_on_demand/models/invoices.rb +1 -1
- data/lib/fog/billing/storm_on_demand/models/payments.rb +1 -1
- data/lib/fog/billing/storm_on_demand/requests/get_invoice.rb +1 -1
- data/lib/fog/billing/storm_on_demand/requests/list_invoices.rb +1 -1
- data/lib/fog/billing/storm_on_demand/requests/make_payment.rb +1 -1
- data/lib/fog/billing/storm_on_demand/requests/next_invoice.rb +1 -1
- data/lib/fog/bin/storm_on_demand.rb +1 -1
- data/lib/fog/compute/storm_on_demand.rb +14 -14
- data/lib/fog/compute/storm_on_demand/models/configs.rb +1 -1
- data/lib/fog/compute/storm_on_demand/models/images.rb +1 -1
- data/lib/fog/compute/storm_on_demand/models/notifications.rb +2 -2
- data/lib/fog/compute/storm_on_demand/models/product.rb +1 -1
- data/lib/fog/compute/storm_on_demand/models/products.rb +1 -1
- data/lib/fog/compute/storm_on_demand/models/server.rb +2 -2
- data/lib/fog/compute/storm_on_demand/models/servers.rb +1 -1
- data/lib/fog/compute/storm_on_demand/models/templates.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/create_image.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/current_notifications.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/delete_image.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_config_details.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_image_details.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_notification.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_product.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_product_code.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_product_price.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_product_starting_price.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/get_template_details.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/list_notifications.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/list_products.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/resolve_notification.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/restore_image.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/restore_template.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/server_history.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/server_status.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/shutdown_server.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/start_server.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/update_image.rb +1 -1
- data/lib/fog/compute/storm_on_demand/requests/update_server.rb +1 -1
- data/lib/fog/dns/storm_on_demand.rb +10 -10
- data/lib/fog/dns/storm_on_demand/models/domains.rb +1 -1
- data/lib/fog/dns/storm_on_demand/models/records.rb +1 -1
- data/lib/fog/dns/storm_on_demand/models/zone.rb +2 -2
- data/lib/fog/dns/storm_on_demand/models/zones.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/check_zone_delegation.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/create_record.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/create_record_region.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/create_zone.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/delete_record.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/delete_record_region.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/delete_reverse.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/delete_zone.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/get_record.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/get_zone.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/list_domains.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/list_records.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/list_zones.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/renew_domain.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/update_record.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/update_record_region.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/update_reverse.rb +1 -1
- data/lib/fog/dns/storm_on_demand/requests/update_zone.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand.rb +8 -8
- data/lib/fog/monitoring/storm_on_demand/models/monitor_services.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_graph.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_bandwidth_stats.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_load_graph.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_load_stats.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_service.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/get_service_status.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/monitoring_ips.rb +1 -1
- data/lib/fog/monitoring/storm_on_demand/requests/update_service.rb +1 -1
- data/lib/fog/network/storm_on_demand.rb +12 -12
- data/lib/fog/network/storm_on_demand/models/balancers.rb +4 -4
- data/lib/fog/network/storm_on_demand/models/firewalls.rb +2 -2
- data/lib/fog/network/storm_on_demand/models/network_ips.rb +3 -3
- data/lib/fog/network/storm_on_demand/models/pools.rb +1 -1
- data/lib/fog/network/storm_on_demand/models/private_ips.rb +5 -5
- data/lib/fog/network/storm_on_demand/models/rulesets.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/add_balancer_service.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/add_ip_to_server.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/attach_server_to_private_ip.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/check_balancer_available.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/check_server_attached.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/create_balancer.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/create_pool.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/create_ruleset.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/delete_balancer.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/delete_pool.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/detach_server_from_private_ip.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_assignments.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_balancer_details.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_balancer_possible_nodes.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_balancer_strategies.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_firewall.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_firewall_basic_options.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_firewall_rules.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_ip_details.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_pool.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_private_ip.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_ruleset.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/get_zone.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/list_ip_public_accounts.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/list_network_ips.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/list_network_public_ips.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/list_rulesets.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/list_zones.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/remove_balancer_service.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/remove_ip_from_server.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/request_new_ips.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/set_default_zone.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/update_balancer.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/update_firewall.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/update_pool.rb +1 -1
- data/lib/fog/network/storm_on_demand/requests/update_ruleset.rb +1 -1
- data/lib/fog/storage/storm_on_demand.rb +6 -6
- data/lib/fog/storage/storm_on_demand/models/clusters.rb +1 -1
- data/lib/fog/storage/storm_on_demand/models/volumes.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/attach_volume_to_server.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/create_volume.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/delete_volume.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/detach_volume_from_server.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/get_volume.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/list_clusters.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/list_volumes.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/resize_volume.rb +1 -1
- data/lib/fog/storage/storm_on_demand/requests/update_volume.rb +1 -1
- data/lib/fog/storm_on_demand.rb +22 -22
- data/lib/fog/storm_on_demand/shared.rb +5 -5
- data/lib/fog/storm_on_demand/version.rb +1 -1
- data/lib/fog/support/storm_on_demand.rb +6 -6
- data/lib/fog/support/storm_on_demand/models/alerts.rb +1 -1
- data/lib/fog/support/storm_on_demand/models/ticket.rb +4 -4
- data/lib/fog/support/storm_on_demand/models/tickets.rb +2 -2
- data/lib/fog/support/storm_on_demand/requests/add_feedback.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/add_transaction_feedback.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/authenticate.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/close_ticket.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/create_ticket.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/get_active_alert.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/get_ticket_details.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/list_ticket_types.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/list_tickets.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/reopen_ticket.rb +1 -1
- data/lib/fog/support/storm_on_demand/requests/reply_ticket.rb +1 -1
- data/lib/fog/vpn/storm_on_demand.rb +4 -4
- data/lib/fog/vpn/storm_on_demand/models/vpns.rb +1 -1
- data/lib/fog/vpn/storm_on_demand/requests/create_vpn.rb +1 -1
- data/lib/fog/vpn/storm_on_demand/requests/get_vpn.rb +1 -1
- data/lib/fog/vpn/storm_on_demand/requests/list_vpn_users.rb +1 -1
- data/lib/fog/vpn/storm_on_demand/requests/update_vpn.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8baf89bb2de5b908bcf5a9eee87b9b640519d6db
|
4
|
+
data.tar.gz: 4bab779ec4c136473572d109fe61f6d755cdfb9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6b78f12e188ab0761a91ac29d46f2fafa38eb49baf73d1634fd7936dc2c047d08897374d81fa30b99104c818023e44c03bc7b85460dfd510a5b401416e97cd9
|
7
|
+
data.tar.gz: c1245b29a8889ed35e278168aa0635cec345ce6d1adb1e78af36f92dc7297a671b5552b1c8a30c9923c86d7371b9b14d33b1708a39b9296d1292ce216c582955
|
data/fog-storm_on_demand.gemspec
CHANGED
@@ -14,7 +14,10 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = ""
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
|
17
|
+
files = `git ls-files -z`.split("\x0")
|
18
|
+
files.delete(".hound.yml")
|
19
|
+
spec.files = files
|
20
|
+
|
18
21
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
23
|
spec.require_paths = ["lib"]
|
@@ -1,17 +1,17 @@
|
|
1
1
|
module Fog
|
2
2
|
module Account
|
3
3
|
class StormOnDemand < Fog::Service
|
4
|
-
autoload :Token,
|
5
|
-
autoload :Tokens,
|
4
|
+
autoload :Token, File.expand_path("../account/storm_on_demand/models/token", __FILE__)
|
5
|
+
autoload :Tokens, File.expand_path("../account/storm_on_demand/models/tokens", __FILE__)
|
6
6
|
|
7
7
|
requires :storm_on_demand_username, :storm_on_demand_password
|
8
8
|
recognizes :storm_on_demand_auth_url
|
9
9
|
|
10
|
-
model_path
|
10
|
+
model_path "fog/account/storm_on_demand/models"
|
11
11
|
model :token
|
12
12
|
collection :tokens
|
13
13
|
|
14
|
-
request_path
|
14
|
+
request_path "fog/account/storm_on_demand/requests"
|
15
15
|
request :create_token
|
16
16
|
request :expire_token
|
17
17
|
|
@@ -1,21 +1,21 @@
|
|
1
1
|
module Fog
|
2
2
|
module Billing
|
3
3
|
class StormOnDemand < Fog::Service
|
4
|
-
autoload :Invoice,
|
5
|
-
autoload :Invoices,
|
6
|
-
autoload :Payment,
|
7
|
-
autoload :Payments,
|
4
|
+
autoload :Invoice, File.expand_path("../billing/storm_on_demand/models/invoice", __FILE__)
|
5
|
+
autoload :Invoices, File.expand_path("../billing/storm_on_demand/models/invoices", __FILE__)
|
6
|
+
autoload :Payment, File.expand_path("../billing/storm_on_demand/models/payment", __FILE__)
|
7
|
+
autoload :Payments, File.expand_path("../billing/storm_on_demand/models/payments", __FILE__)
|
8
8
|
|
9
9
|
requires :storm_on_demand_username, :storm_on_demand_password
|
10
10
|
recognizes :storm_on_demand_auth_url
|
11
11
|
|
12
|
-
model_path
|
12
|
+
model_path "fog/billing/storm_on_demand/models"
|
13
13
|
model :invoice
|
14
14
|
collection :invoices
|
15
15
|
model :payment
|
16
16
|
collection :payments
|
17
17
|
|
18
|
-
request_path
|
18
|
+
request_path "fog/billing/storm_on_demand/requests"
|
19
19
|
request :list_invoices
|
20
20
|
request :get_invoice
|
21
21
|
request :next_invoice
|
@@ -14,7 +14,7 @@ class StormOnDemand < Fog::Bin
|
|
14
14
|
hash[key] = case key
|
15
15
|
when :storm_on_demand
|
16
16
|
Fog::Logger.warning("StormOnDemand[:compute] is not recommended, use Compute[:stormondemand] for portability")
|
17
|
-
Fog::Compute.new(:provider =>
|
17
|
+
Fog::Compute.new(:provider => "StormOnDemand")
|
18
18
|
else
|
19
19
|
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
20
20
|
end
|
@@ -1,23 +1,23 @@
|
|
1
1
|
module Fog
|
2
2
|
module Compute
|
3
3
|
class StormOnDemand < Fog::Service
|
4
|
-
autoload :Config,
|
5
|
-
autoload :Configs,
|
6
|
-
autoload :Image,
|
7
|
-
autoload :Images,
|
8
|
-
autoload :Notification,
|
9
|
-
autoload :Notifications,
|
10
|
-
autoload :Product,
|
11
|
-
autoload :Products,
|
12
|
-
autoload :Server,
|
13
|
-
autoload :Servers,
|
14
|
-
autoload :Template,
|
15
|
-
autoload :Templates,
|
4
|
+
autoload :Config, File.expand_path("../compute/storm_on_demand/models/config", __FILE__)
|
5
|
+
autoload :Configs, File.expand_path("../compute/storm_on_demand/models/configs", __FILE__)
|
6
|
+
autoload :Image, File.expand_path("../compute/storm_on_demand/models/image", __FILE__)
|
7
|
+
autoload :Images, File.expand_path("../compute/storm_on_demand/models/images", __FILE__)
|
8
|
+
autoload :Notification, File.expand_path("../compute/storm_on_demand/models/notification", __FILE__)
|
9
|
+
autoload :Notifications, File.expand_path("../compute/storm_on_demand/models/notifications", __FILE__)
|
10
|
+
autoload :Product, File.expand_path("../compute/storm_on_demand/models/product", __FILE__)
|
11
|
+
autoload :Products, File.expand_path("../compute/storm_on_demand/models/products", __FILE__)
|
12
|
+
autoload :Server, File.expand_path("../compute/storm_on_demand/models/server", __FILE__)
|
13
|
+
autoload :Servers, File.expand_path("../compute/storm_on_demand/models/servers", __FILE__)
|
14
|
+
autoload :Template, File.expand_path("../compute/storm_on_demand/models/template", __FILE__)
|
15
|
+
autoload :Templates, File.expand_path("../compute/storm_on_demand/models/templates", __FILE__)
|
16
16
|
|
17
17
|
requires :storm_on_demand_username, :storm_on_demand_password
|
18
18
|
recognizes :storm_on_demand_auth_url
|
19
19
|
|
20
|
-
model_path
|
20
|
+
model_path "fog/compute/storm_on_demand/models"
|
21
21
|
model :config
|
22
22
|
collection :configs
|
23
23
|
model :image
|
@@ -31,7 +31,7 @@ module Fog
|
|
31
31
|
model :notification
|
32
32
|
collection :notifications
|
33
33
|
|
34
|
-
request_path
|
34
|
+
request_path "fog/compute/storm_on_demand/requests"
|
35
35
|
request :clone_server
|
36
36
|
request :delete_server
|
37
37
|
request :reboot_server
|
@@ -5,12 +5,12 @@ module Fog
|
|
5
5
|
model Fog::Compute::StormOnDemand::Notification
|
6
6
|
|
7
7
|
def all(options = {})
|
8
|
-
data = service.list_notifications(options).body[
|
8
|
+
data = service.list_notifications(options).body["items"]
|
9
9
|
load(data)
|
10
10
|
end
|
11
11
|
|
12
12
|
def current(options = {})
|
13
|
-
data = service.current_notifications(options).body[
|
13
|
+
data = service.current_notifications(options).body["items"]
|
14
14
|
load(data)
|
15
15
|
end
|
16
16
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require "fog/compute/models/server"
|
2
2
|
|
3
3
|
module Fog
|
4
4
|
module Compute
|
@@ -59,7 +59,7 @@ module Fog
|
|
59
59
|
requires :identity
|
60
60
|
params = {:uniq_id => identity}.merge!(options)
|
61
61
|
res = service.server_history(params).body
|
62
|
-
res[
|
62
|
+
res["items"]
|
63
63
|
end
|
64
64
|
|
65
65
|
def shutdown(options = {})
|