fog 0.0.77 → 0.0.78
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -2
- data/fog.gemspec +59 -48
- data/lib/fog.rb +2 -1
- data/lib/fog/aws/models/ec2/snapshot.rb +3 -1
- data/lib/fog/aws/models/ec2/volume.rb +4 -2
- data/lib/fog/aws/s3.rb +1 -1
- data/lib/fog/deprecation.rb +14 -0
- data/lib/fog/terremark.rb +7 -220
- data/lib/fog/terremark/bin.rb +24 -14
- data/lib/fog/terremark/ecloud.rb +51 -0
- data/lib/fog/terremark/models/shared/address.rb +29 -0
- data/lib/fog/terremark/models/shared/addresses.rb +49 -0
- data/lib/fog/terremark/models/shared/network.rb +30 -0
- data/lib/fog/terremark/models/shared/networks.rb +52 -0
- data/lib/fog/terremark/models/shared/server.rb +57 -0
- data/lib/fog/terremark/models/shared/servers.rb +55 -0
- data/lib/fog/terremark/models/shared/task.rb +43 -0
- data/lib/fog/terremark/models/shared/tasks.rb +58 -0
- data/lib/fog/terremark/parser.rb +18 -0
- data/lib/fog/terremark/parsers/shared/get_catalog.rb +46 -0
- data/lib/fog/terremark/parsers/shared/get_catalog_item.rb +46 -0
- data/lib/fog/terremark/parsers/shared/get_internet_services.rb +60 -0
- data/lib/fog/terremark/parsers/{get_node_services.rb → shared/get_node_services.rb} +10 -11
- data/lib/fog/terremark/parsers/shared/get_organization.rb +47 -0
- data/lib/fog/terremark/parsers/shared/get_organizations.rb +27 -0
- data/lib/fog/terremark/parsers/shared/get_public_ips.rb +30 -0
- data/lib/fog/terremark/parsers/shared/get_tasks_list.rb +52 -0
- data/lib/fog/terremark/parsers/shared/get_vapp_template.rb +46 -0
- data/lib/fog/terremark/parsers/shared/get_vdc.rb +108 -0
- data/lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb +41 -0
- data/lib/fog/terremark/parsers/shared/internet_service.rb +65 -0
- data/lib/fog/terremark/parsers/shared/network.rb +51 -0
- data/lib/fog/terremark/parsers/shared/node_service.rb +32 -0
- data/lib/fog/terremark/parsers/shared/public_ip.rb +26 -0
- data/lib/fog/terremark/parsers/shared/task.rb +40 -0
- data/lib/fog/terremark/parsers/shared/vapp.rb +47 -0
- data/lib/fog/terremark/requests/shared/add_internet_service.rb +63 -0
- data/lib/fog/terremark/requests/shared/add_node_service.rb +63 -0
- data/lib/fog/terremark/requests/shared/create_internet_service.rb +63 -0
- data/lib/fog/terremark/requests/shared/delete_internet_service.rb +42 -0
- data/lib/fog/terremark/requests/shared/delete_node_service.rb +42 -0
- data/lib/fog/terremark/requests/shared/delete_public_ip.rb +30 -0
- data/lib/fog/terremark/requests/shared/delete_vapp.rb +42 -0
- data/lib/fog/terremark/requests/shared/deploy_vapp.rb +43 -0
- data/lib/fog/terremark/requests/shared/get_catalog.rb +40 -0
- data/lib/fog/terremark/requests/shared/get_catalog_item.rb +43 -0
- data/lib/fog/terremark/requests/shared/get_internet_services.rb +43 -0
- data/lib/fog/terremark/requests/shared/get_network.rb +37 -0
- data/lib/fog/terremark/requests/shared/get_node_services.rb +38 -0
- data/lib/fog/terremark/requests/shared/get_organization.rb +42 -0
- data/lib/fog/terremark/requests/shared/get_organizations.rb +39 -0
- data/lib/fog/terremark/requests/shared/get_public_ip.rb +41 -0
- data/lib/fog/terremark/requests/shared/get_public_ips.rb +41 -0
- data/lib/fog/terremark/requests/shared/get_task.rb +47 -0
- data/lib/fog/terremark/requests/shared/get_tasks_list.rb +40 -0
- data/lib/fog/terremark/requests/shared/get_vapp.rb +50 -0
- data/lib/fog/terremark/requests/shared/get_vapp_template.rb +43 -0
- data/lib/fog/terremark/requests/shared/get_vdc.rb +43 -0
- data/lib/fog/terremark/requests/shared/instantiate_vapp_template.rb +79 -0
- data/lib/fog/terremark/requests/shared/power_off.rb +43 -0
- data/lib/fog/terremark/requests/shared/power_on.rb +43 -0
- data/lib/fog/terremark/requests/shared/reset.rb +43 -0
- data/lib/fog/terremark/requests/shared/shutdown.rb +43 -0
- data/lib/fog/terremark/shared.rb +139 -0
- data/lib/fog/terremark/vcloud.rb +98 -0
- metadata +60 -49
- data/lib/fog/terremark/models/server.rb +0 -56
- data/lib/fog/terremark/models/servers.rb +0 -53
- data/lib/fog/terremark/models/task.rb +0 -41
- data/lib/fog/terremark/models/tasks.rb +0 -56
- data/lib/fog/terremark/parsers/get_catalog.rb +0 -44
- data/lib/fog/terremark/parsers/get_catalog_item.rb +0 -44
- data/lib/fog/terremark/parsers/get_internet_services.rb +0 -58
- data/lib/fog/terremark/parsers/get_organization.rb +0 -45
- data/lib/fog/terremark/parsers/get_organizations.rb +0 -26
- data/lib/fog/terremark/parsers/get_public_ips.rb +0 -28
- data/lib/fog/terremark/parsers/get_tasks_list.rb +0 -50
- data/lib/fog/terremark/parsers/get_vapp_template.rb +0 -44
- data/lib/fog/terremark/parsers/get_vdc.rb +0 -106
- data/lib/fog/terremark/parsers/instantiate_vapp_template.rb +0 -39
- data/lib/fog/terremark/parsers/internet_service.rb +0 -63
- data/lib/fog/terremark/parsers/node_service.rb +0 -30
- data/lib/fog/terremark/parsers/public_ip.rb +0 -24
- data/lib/fog/terremark/parsers/task.rb +0 -38
- data/lib/fog/terremark/parsers/vapp.rb +0 -45
- data/lib/fog/terremark/requests/add_internet_service.rb +0 -61
- data/lib/fog/terremark/requests/add_node_service.rb +0 -61
- data/lib/fog/terremark/requests/create_internet_service.rb +0 -61
- data/lib/fog/terremark/requests/delete_internet_service.rb +0 -40
- data/lib/fog/terremark/requests/delete_node_service.rb +0 -40
- data/lib/fog/terremark/requests/delete_public_ip.rb +0 -28
- data/lib/fog/terremark/requests/delete_vapp.rb +0 -40
- data/lib/fog/terremark/requests/deploy_vapp.rb +0 -41
- data/lib/fog/terremark/requests/get_catalog.rb +0 -38
- data/lib/fog/terremark/requests/get_catalog_item.rb +0 -41
- data/lib/fog/terremark/requests/get_internet_services.rb +0 -41
- data/lib/fog/terremark/requests/get_node_services.rb +0 -36
- data/lib/fog/terremark/requests/get_organization.rb +0 -40
- data/lib/fog/terremark/requests/get_organizations.rb +0 -37
- data/lib/fog/terremark/requests/get_public_ip.rb +0 -35
- data/lib/fog/terremark/requests/get_public_ips.rb +0 -35
- data/lib/fog/terremark/requests/get_task.rb +0 -45
- data/lib/fog/terremark/requests/get_tasks_list.rb +0 -38
- data/lib/fog/terremark/requests/get_vapp.rb +0 -48
- data/lib/fog/terremark/requests/get_vapp_template.rb +0 -41
- data/lib/fog/terremark/requests/get_vdc.rb +0 -41
- data/lib/fog/terremark/requests/instantiate_vapp_template.rb +0 -77
- data/lib/fog/terremark/requests/power_off.rb +0 -41
- data/lib/fog/terremark/requests/power_on.rb +0 -41
- data/lib/fog/terremark/requests/reset.rb +0 -41
- data/lib/fog/terremark/requests/shutdown.rb +0 -41
@@ -0,0 +1,43 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
module Shared
|
4
|
+
module Real
|
5
|
+
|
6
|
+
# Power on a vapp
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# * vapp_id<~Integer> - Id of vapp to power on
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Hash>:
|
14
|
+
# * 'endTime'<~String> - endTime of task
|
15
|
+
# * 'href'<~String> - link to task
|
16
|
+
# * 'startTime'<~String> - startTime of task
|
17
|
+
# * 'status'<~String> - status of task
|
18
|
+
# * 'type'<~String> - type of task
|
19
|
+
# * 'Owner'<~String> -
|
20
|
+
# * 'href'<~String> - href of owner
|
21
|
+
# * 'name'<~String> - name of owner
|
22
|
+
# * 'type'<~String> - type of owner
|
23
|
+
def power_on(vapp_id)
|
24
|
+
request(
|
25
|
+
:expects => 202,
|
26
|
+
:method => 'POST',
|
27
|
+
:parser => Fog::Parsers::Terremark::Shared::Task.new,
|
28
|
+
:path => "vApp/#{vapp_id}/power/action/powerOn"
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
module Mock
|
35
|
+
|
36
|
+
def power_on(vapp_id)
|
37
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
module Shared
|
4
|
+
module Real
|
5
|
+
|
6
|
+
# Reset a vapp
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# * vapp_id<~Integer> - Id of vapp to reset
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Hash>:
|
14
|
+
# * 'endTime'<~String> - endTime of task
|
15
|
+
# * 'href'<~String> - link to task
|
16
|
+
# * 'startTime'<~String> - startTime of task
|
17
|
+
# * 'status'<~String> - status of task
|
18
|
+
# * 'type'<~String> - type of task
|
19
|
+
# * 'Owner'<~String> -
|
20
|
+
# * 'href'<~String> - href of owner
|
21
|
+
# * 'name'<~String> - name of owner
|
22
|
+
# * 'type'<~String> - type of owner
|
23
|
+
def reset(vapp_id)
|
24
|
+
request(
|
25
|
+
:expects => 202,
|
26
|
+
:method => 'POST',
|
27
|
+
:parser => Fog::Parsers::Terremark::Shared::Task.new,
|
28
|
+
:path => "vApp/#{vapp_id}/power/action/reset"
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
module Mock
|
35
|
+
|
36
|
+
def reset(vapp_id)
|
37
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
module Shared
|
4
|
+
module Real
|
5
|
+
|
6
|
+
# Shutdown a vapp
|
7
|
+
#
|
8
|
+
# ==== Parameters
|
9
|
+
# * vapp_id<~Integer> - Id of vapp to shutdown
|
10
|
+
#
|
11
|
+
# ==== Returns
|
12
|
+
# * response<~Excon::Response>:
|
13
|
+
# * body<~Hash>:
|
14
|
+
# * 'endTime'<~String> - endTime of task
|
15
|
+
# * 'href'<~String> - link to task
|
16
|
+
# * 'startTime'<~String> - startTime of task
|
17
|
+
# * 'status'<~String> - status of task
|
18
|
+
# * 'type'<~String> - type of task
|
19
|
+
# * 'Owner'<~String> -
|
20
|
+
# * 'href'<~String> - href of owner
|
21
|
+
# * 'name'<~String> - name of owner
|
22
|
+
# * 'type'<~String> - type of owner
|
23
|
+
def shutdown(vapp_id)
|
24
|
+
request(
|
25
|
+
:expects => 202,
|
26
|
+
:method => 'POST',
|
27
|
+
:parser => Fog::Parsers::Terremark::Shared::Task.new,
|
28
|
+
:path => "vApp/#{vapp_id}/power/action/shutdown"
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
module Mock
|
35
|
+
|
36
|
+
def shutdown(vapp_id)
|
37
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
module Shared
|
4
|
+
|
5
|
+
module Parser
|
6
|
+
|
7
|
+
def parse(data)
|
8
|
+
case data['type']
|
9
|
+
when 'application/vnd.vmware.vcloud.vApp+xml'
|
10
|
+
servers.new(data.merge!(:connection => self))
|
11
|
+
else
|
12
|
+
data
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
module Real
|
19
|
+
|
20
|
+
# TODO: bust cache on organization creation?
|
21
|
+
def default_organization_id
|
22
|
+
@default_organization_id ||= begin
|
23
|
+
org_list = get_organizations.body['OrgList']
|
24
|
+
if org_list.length == 1
|
25
|
+
org_list.first['href'].split('/').last.to_i
|
26
|
+
else
|
27
|
+
nil
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def request(params)
|
35
|
+
@connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}")
|
36
|
+
headers = {}
|
37
|
+
if @cookie
|
38
|
+
headers.merge!('Cookie' => @cookie)
|
39
|
+
end
|
40
|
+
response = @connection.request({
|
41
|
+
:body => params[:body],
|
42
|
+
:expects => params[:expects],
|
43
|
+
:headers => headers.merge!(params[:headers] || {}),
|
44
|
+
:host => @host,
|
45
|
+
:method => params[:method],
|
46
|
+
:parser => params[:parser],
|
47
|
+
:path => "#{@path}/#{params[:path]}"
|
48
|
+
})
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
module Mock
|
54
|
+
def self.data
|
55
|
+
@data ||= Hash.new do |hash, key|
|
56
|
+
hash[key] = {}
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def self.reset_data(keys=data.keys)
|
61
|
+
for key in [*keys]
|
62
|
+
data.delete(key)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
def initialize(options={})
|
67
|
+
@terremark_username = options[:terremark_username]
|
68
|
+
@data = self.class.data[@terremark_username]
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
def check_shared_options(options)
|
73
|
+
%w{ecloud vcloud}.each do |cloud|
|
74
|
+
cloud_option_keys = options.keys.select { |key| key.to_s =~ /^terremark_#{cloud}_.*/ }
|
75
|
+
unless cloud_option_keys.length == 0 || cloud_option_keys.length == 2
|
76
|
+
raise ArgumentError.new("terremark_#{cloud}_username and terremark_#{cloud}_password required to access teremark")
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def shared_requires
|
82
|
+
require 'fog/terremark/models/shared/address'
|
83
|
+
require 'fog/terremark/models/shared/addresses'
|
84
|
+
require 'fog/terremark/models/shared/network'
|
85
|
+
require 'fog/terremark/models/shared/networks'
|
86
|
+
require 'fog/terremark/models/shared/server'
|
87
|
+
require 'fog/terremark/models/shared/servers'
|
88
|
+
require 'fog/terremark/models/shared/task'
|
89
|
+
require 'fog/terremark/models/shared/tasks'
|
90
|
+
require 'fog/terremark/parsers/shared/get_catalog'
|
91
|
+
require 'fog/terremark/parsers/shared/get_catalog_item'
|
92
|
+
require 'fog/terremark/parsers/shared/get_internet_services'
|
93
|
+
require 'fog/terremark/parsers/shared/get_node_services'
|
94
|
+
require 'fog/terremark/parsers/shared/get_organization'
|
95
|
+
require 'fog/terremark/parsers/shared/get_organizations'
|
96
|
+
require 'fog/terremark/parsers/shared/get_public_ips'
|
97
|
+
require 'fog/terremark/parsers/shared/get_tasks_list'
|
98
|
+
require 'fog/terremark/parsers/shared/get_vapp_template'
|
99
|
+
require 'fog/terremark/parsers/shared/get_vdc'
|
100
|
+
require 'fog/terremark/parsers/shared/instantiate_vapp_template'
|
101
|
+
require 'fog/terremark/parsers/shared/internet_service'
|
102
|
+
require 'fog/terremark/parsers/shared/network'
|
103
|
+
require 'fog/terremark/parsers/shared/node_service'
|
104
|
+
require 'fog/terremark/parsers/shared/public_ip'
|
105
|
+
require 'fog/terremark/parsers/shared/task'
|
106
|
+
require 'fog/terremark/parsers/shared/vapp'
|
107
|
+
require 'fog/terremark/requests/shared/add_internet_service'
|
108
|
+
require 'fog/terremark/requests/shared/add_node_service'
|
109
|
+
require 'fog/terremark/requests/shared/create_internet_service'
|
110
|
+
require 'fog/terremark/requests/shared/delete_internet_service'
|
111
|
+
require 'fog/terremark/requests/shared/delete_public_ip'
|
112
|
+
require 'fog/terremark/requests/shared/delete_node_service'
|
113
|
+
require 'fog/terremark/requests/shared/delete_vapp'
|
114
|
+
require 'fog/terremark/requests/shared/deploy_vapp'
|
115
|
+
require 'fog/terremark/requests/shared/get_catalog'
|
116
|
+
require 'fog/terremark/requests/shared/get_catalog_item'
|
117
|
+
require 'fog/terremark/requests/shared/get_internet_services'
|
118
|
+
require 'fog/terremark/requests/shared/get_network'
|
119
|
+
require 'fog/terremark/requests/shared/get_node_services'
|
120
|
+
require 'fog/terremark/requests/shared/get_organization'
|
121
|
+
require 'fog/terremark/requests/shared/get_organizations'
|
122
|
+
require 'fog/terremark/requests/shared/get_public_ip'
|
123
|
+
require 'fog/terremark/requests/shared/get_public_ips'
|
124
|
+
require 'fog/terremark/requests/shared/get_task'
|
125
|
+
require 'fog/terremark/requests/shared/get_tasks_list'
|
126
|
+
require 'fog/terremark/requests/shared/get_vapp'
|
127
|
+
require 'fog/terremark/requests/shared/get_vapp_template'
|
128
|
+
require 'fog/terremark/requests/shared/get_vdc'
|
129
|
+
require 'fog/terremark/requests/shared/instantiate_vapp_template'
|
130
|
+
require 'fog/terremark/requests/shared/reset'
|
131
|
+
require 'fog/terremark/requests/shared/power_off'
|
132
|
+
require 'fog/terremark/requests/shared/power_on'
|
133
|
+
require 'fog/terremark/requests/shared/shutdown'
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
module Vcloud
|
4
|
+
|
5
|
+
module Bin
|
6
|
+
end
|
7
|
+
|
8
|
+
extend Fog::Terremark::Shared
|
9
|
+
|
10
|
+
def self.new(options={})
|
11
|
+
|
12
|
+
unless @required
|
13
|
+
shared_requires
|
14
|
+
@required = true
|
15
|
+
end
|
16
|
+
|
17
|
+
check_shared_options(options)
|
18
|
+
|
19
|
+
if Fog.mocking?
|
20
|
+
Fog::Terremark::Vcloud::Mock.new(options)
|
21
|
+
else
|
22
|
+
Fog::Terremark::Vcloud::Real.new(options)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
class Real
|
27
|
+
|
28
|
+
include Fog::Terremark::Shared::Real
|
29
|
+
include Fog::Terremark::Shared::Parser
|
30
|
+
|
31
|
+
def initialize(options={})
|
32
|
+
@terremark_password = options[:terremark_vcloud_password]
|
33
|
+
@terremark_username = options[:terremark_vcloud_username]
|
34
|
+
@host = options[:host] || "services.vcloudexpress.terremark.com"
|
35
|
+
@path = options[:path] || "/api/v0.8"
|
36
|
+
@port = options[:port] || 443
|
37
|
+
@scheme = options[:scheme] || 'https'
|
38
|
+
@cookie = get_organizations.headers['Set-Cookie']
|
39
|
+
end
|
40
|
+
|
41
|
+
def default_vdc_id
|
42
|
+
if default_organization_id
|
43
|
+
@default_vdc_id ||= begin
|
44
|
+
vdcs = get_organization(default_organization_id).body['Links'].select {|link|
|
45
|
+
link['type'] == 'application/vnd.vmware.vcloud.vdc+xml'
|
46
|
+
}
|
47
|
+
if vdcs.length == 1
|
48
|
+
vdcs.first['href'].split('/').last.to_i
|
49
|
+
else
|
50
|
+
nil
|
51
|
+
end
|
52
|
+
end
|
53
|
+
else
|
54
|
+
nil
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def default_network_id
|
59
|
+
if default_vdc_id
|
60
|
+
@default_network_id ||= begin
|
61
|
+
networks = get_vdc(default_vdc_id).body['AvailableNetworks']
|
62
|
+
if networks.length == 1
|
63
|
+
networks.first['href'].split('/').last.to_i
|
64
|
+
else
|
65
|
+
nil
|
66
|
+
end
|
67
|
+
end
|
68
|
+
else
|
69
|
+
nil
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
def default_public_ip_id
|
74
|
+
if default_vdc_id
|
75
|
+
@default_public_ip_id ||= begin
|
76
|
+
ips = get_public_ips(default_vdc_id).body['PublicIpAddresses']
|
77
|
+
if ips.length == 1
|
78
|
+
ips.first['href'].split('/').last.to_i
|
79
|
+
else
|
80
|
+
nil
|
81
|
+
end
|
82
|
+
end
|
83
|
+
else
|
84
|
+
nil
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
class Mock
|
90
|
+
include Fog::Terremark::Shared::Mock
|
91
|
+
include Fog::Terremark::Shared::Parser
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 78
|
9
|
+
version: 0.0.78
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- geemus (Wesley Beary)
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-25 00:00:00 -07:00
|
18
18
|
default_executable: fog
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -258,6 +258,7 @@ files:
|
|
258
258
|
- lib/fog/collection.rb
|
259
259
|
- lib/fog/connection.rb
|
260
260
|
- lib/fog/credentials.rb
|
261
|
+
- lib/fog/deprecation.rb
|
261
262
|
- lib/fog/model.rb
|
262
263
|
- lib/fog/parser.rb
|
263
264
|
- lib/fog/rackspace.rb
|
@@ -331,52 +332,62 @@ files:
|
|
331
332
|
- lib/fog/ssh.rb
|
332
333
|
- lib/fog/terremark.rb
|
333
334
|
- lib/fog/terremark/bin.rb
|
334
|
-
- lib/fog/terremark/
|
335
|
-
- lib/fog/terremark/models/
|
336
|
-
- lib/fog/terremark/models/
|
337
|
-
- lib/fog/terremark/models/
|
338
|
-
- lib/fog/terremark/
|
339
|
-
- lib/fog/terremark/
|
340
|
-
- lib/fog/terremark/
|
341
|
-
- lib/fog/terremark/
|
342
|
-
- lib/fog/terremark/
|
343
|
-
- lib/fog/terremark/
|
344
|
-
- lib/fog/terremark/parsers/
|
345
|
-
- lib/fog/terremark/parsers/
|
346
|
-
- lib/fog/terremark/parsers/
|
347
|
-
- lib/fog/terremark/parsers/
|
348
|
-
- lib/fog/terremark/parsers/
|
349
|
-
- lib/fog/terremark/parsers/
|
350
|
-
- lib/fog/terremark/parsers/
|
351
|
-
- lib/fog/terremark/parsers/
|
352
|
-
- lib/fog/terremark/parsers/
|
353
|
-
- lib/fog/terremark/parsers/
|
354
|
-
- lib/fog/terremark/
|
355
|
-
- lib/fog/terremark/
|
356
|
-
- lib/fog/terremark/
|
357
|
-
- lib/fog/terremark/
|
358
|
-
- lib/fog/terremark/
|
359
|
-
- lib/fog/terremark/
|
360
|
-
- lib/fog/terremark/
|
361
|
-
- lib/fog/terremark/requests/
|
362
|
-
- lib/fog/terremark/requests/
|
363
|
-
- lib/fog/terremark/requests/
|
364
|
-
- lib/fog/terremark/requests/
|
365
|
-
- lib/fog/terremark/requests/
|
366
|
-
- lib/fog/terremark/requests/
|
367
|
-
- lib/fog/terremark/requests/
|
368
|
-
- lib/fog/terremark/requests/
|
369
|
-
- lib/fog/terremark/requests/
|
370
|
-
- lib/fog/terremark/requests/
|
371
|
-
- lib/fog/terremark/requests/
|
372
|
-
- lib/fog/terremark/requests/
|
373
|
-
- lib/fog/terremark/requests/
|
374
|
-
- lib/fog/terremark/requests/
|
375
|
-
- lib/fog/terremark/requests/
|
376
|
-
- lib/fog/terremark/requests/
|
377
|
-
- lib/fog/terremark/requests/
|
378
|
-
- lib/fog/terremark/requests/
|
379
|
-
- lib/fog/terremark/requests/
|
335
|
+
- lib/fog/terremark/ecloud.rb
|
336
|
+
- lib/fog/terremark/models/shared/address.rb
|
337
|
+
- lib/fog/terremark/models/shared/addresses.rb
|
338
|
+
- lib/fog/terremark/models/shared/network.rb
|
339
|
+
- lib/fog/terremark/models/shared/networks.rb
|
340
|
+
- lib/fog/terremark/models/shared/server.rb
|
341
|
+
- lib/fog/terremark/models/shared/servers.rb
|
342
|
+
- lib/fog/terremark/models/shared/task.rb
|
343
|
+
- lib/fog/terremark/models/shared/tasks.rb
|
344
|
+
- lib/fog/terremark/parser.rb
|
345
|
+
- lib/fog/terremark/parsers/shared/get_catalog.rb
|
346
|
+
- lib/fog/terremark/parsers/shared/get_catalog_item.rb
|
347
|
+
- lib/fog/terremark/parsers/shared/get_internet_services.rb
|
348
|
+
- lib/fog/terremark/parsers/shared/get_node_services.rb
|
349
|
+
- lib/fog/terremark/parsers/shared/get_organization.rb
|
350
|
+
- lib/fog/terremark/parsers/shared/get_organizations.rb
|
351
|
+
- lib/fog/terremark/parsers/shared/get_public_ips.rb
|
352
|
+
- lib/fog/terremark/parsers/shared/get_tasks_list.rb
|
353
|
+
- lib/fog/terremark/parsers/shared/get_vapp_template.rb
|
354
|
+
- lib/fog/terremark/parsers/shared/get_vdc.rb
|
355
|
+
- lib/fog/terremark/parsers/shared/instantiate_vapp_template.rb
|
356
|
+
- lib/fog/terremark/parsers/shared/internet_service.rb
|
357
|
+
- lib/fog/terremark/parsers/shared/network.rb
|
358
|
+
- lib/fog/terremark/parsers/shared/node_service.rb
|
359
|
+
- lib/fog/terremark/parsers/shared/public_ip.rb
|
360
|
+
- lib/fog/terremark/parsers/shared/task.rb
|
361
|
+
- lib/fog/terremark/parsers/shared/vapp.rb
|
362
|
+
- lib/fog/terremark/requests/shared/add_internet_service.rb
|
363
|
+
- lib/fog/terremark/requests/shared/add_node_service.rb
|
364
|
+
- lib/fog/terremark/requests/shared/create_internet_service.rb
|
365
|
+
- lib/fog/terremark/requests/shared/delete_internet_service.rb
|
366
|
+
- lib/fog/terremark/requests/shared/delete_node_service.rb
|
367
|
+
- lib/fog/terremark/requests/shared/delete_public_ip.rb
|
368
|
+
- lib/fog/terremark/requests/shared/delete_vapp.rb
|
369
|
+
- lib/fog/terremark/requests/shared/deploy_vapp.rb
|
370
|
+
- lib/fog/terremark/requests/shared/get_catalog.rb
|
371
|
+
- lib/fog/terremark/requests/shared/get_catalog_item.rb
|
372
|
+
- lib/fog/terremark/requests/shared/get_internet_services.rb
|
373
|
+
- lib/fog/terremark/requests/shared/get_network.rb
|
374
|
+
- lib/fog/terremark/requests/shared/get_node_services.rb
|
375
|
+
- lib/fog/terremark/requests/shared/get_organization.rb
|
376
|
+
- lib/fog/terremark/requests/shared/get_organizations.rb
|
377
|
+
- lib/fog/terremark/requests/shared/get_public_ip.rb
|
378
|
+
- lib/fog/terremark/requests/shared/get_public_ips.rb
|
379
|
+
- lib/fog/terremark/requests/shared/get_task.rb
|
380
|
+
- lib/fog/terremark/requests/shared/get_tasks_list.rb
|
381
|
+
- lib/fog/terremark/requests/shared/get_vapp.rb
|
382
|
+
- lib/fog/terremark/requests/shared/get_vapp_template.rb
|
383
|
+
- lib/fog/terremark/requests/shared/get_vdc.rb
|
384
|
+
- lib/fog/terremark/requests/shared/instantiate_vapp_template.rb
|
385
|
+
- lib/fog/terremark/requests/shared/power_off.rb
|
386
|
+
- lib/fog/terremark/requests/shared/power_on.rb
|
387
|
+
- lib/fog/terremark/requests/shared/reset.rb
|
388
|
+
- lib/fog/terremark/requests/shared/shutdown.rb
|
389
|
+
- lib/fog/terremark/shared.rb
|
390
|
+
- lib/fog/terremark/vcloud.rb
|
380
391
|
- spec/aws/models/ec2/address_spec.rb
|
381
392
|
- spec/aws/models/ec2/addresses_spec.rb
|
382
393
|
- spec/aws/models/ec2/flavors_spec.rb
|