fog 0.0.73 → 0.0.74
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +69 -0
- data/Rakefile +121 -74
- data/fog.gemspec +421 -490
- data/lib/fog.rb +4 -0
- data/lib/fog/aws/requests/s3/get_object.rb +12 -2
- data/lib/fog/aws/s3.rb +16 -10
- data/lib/fog/ssh.rb +42 -0
- data/lib/fog/terremark.rb +53 -2
- data/lib/fog/terremark/bin.rb +15 -4
- data/lib/fog/terremark/models/server.rb +54 -0
- data/lib/fog/terremark/models/servers.rb +53 -0
- data/lib/fog/terremark/models/task.rb +41 -0
- data/lib/fog/terremark/models/tasks.rb +56 -0
- data/lib/fog/terremark/parsers/get_internet_services.rb +58 -0
- data/lib/fog/terremark/parsers/get_node_services.rb +34 -0
- data/lib/fog/terremark/parsers/{get_public_Ips.rb → get_public_ips.rb} +0 -0
- data/lib/fog/terremark/parsers/get_vdc.rb +4 -4
- data/lib/fog/terremark/parsers/public_ip.rb +24 -0
- data/lib/fog/terremark/parsers/vapp.rb +16 -16
- data/lib/fog/terremark/requests/add_node_service.rb +1 -1
- data/lib/fog/terremark/requests/get_catalog.rb +1 -1
- data/lib/fog/terremark/requests/get_internet_services.rb +41 -0
- data/lib/fog/terremark/requests/get_node_services.rb +36 -0
- data/lib/fog/terremark/requests/get_organization.rb +1 -1
- data/lib/fog/terremark/requests/get_organizations.rb +3 -1
- data/lib/fog/terremark/requests/get_public_ip.rb +35 -0
- data/lib/fog/terremark/requests/get_tasks_list.rb +1 -1
- data/lib/fog/terremark/requests/get_vdc.rb +1 -1
- data/lib/fog/terremark/requests/instantiate_vapp_template.rb +9 -4
- data/lib/fog/terremark/requests/shutdown.rb +1 -1
- data/spec/aws/models/s3/files_spec.rb +1 -0
- metadata +57 -99
- data/.document +0 -3
- data/.gitignore +0 -7
- data/VERSION.yml +0 -5
@@ -0,0 +1,58 @@
|
|
1
|
+
module Fog
|
2
|
+
module Parsers
|
3
|
+
module Terremark
|
4
|
+
|
5
|
+
class GetInternetServices < Fog::Parsers::Base
|
6
|
+
|
7
|
+
def reset
|
8
|
+
@in_public_ip_address = false
|
9
|
+
@internet_service = {}
|
10
|
+
@response = { 'InternetServices' => [] }
|
11
|
+
end
|
12
|
+
|
13
|
+
def start_element(name, attributes)
|
14
|
+
@value = ''
|
15
|
+
case name
|
16
|
+
when 'PublicIPAddress'
|
17
|
+
@in_public_ip_address = true
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def end_element(name)
|
22
|
+
case name
|
23
|
+
when 'Description', 'Protocol'
|
24
|
+
@internet_service[name] = @value
|
25
|
+
when 'Enabled'
|
26
|
+
if @value == 'true'
|
27
|
+
@internet_service[name] = true
|
28
|
+
else
|
29
|
+
@internet_service[name] = false
|
30
|
+
end
|
31
|
+
when 'Href', 'Name'
|
32
|
+
if @in_public_ip_address
|
33
|
+
@internet_service['PublicIpAddress'] ||= {}
|
34
|
+
@internet_service['PublicIpAddress'][name] = @value
|
35
|
+
else
|
36
|
+
@internet_service[name] = @value
|
37
|
+
end
|
38
|
+
when 'Id'
|
39
|
+
if @in_public_ip_address
|
40
|
+
@internet_service['PublicIpAddress'] ||= {}
|
41
|
+
@internet_service['PublicIpAddress'][name] = @value.to_i
|
42
|
+
else
|
43
|
+
@internet_service[name] = @value.to_i
|
44
|
+
end
|
45
|
+
when 'InternetService'
|
46
|
+
@response['InternetServices'] << @internet_service
|
47
|
+
@internet_service = {}
|
48
|
+
when 'Port', 'Timeout'
|
49
|
+
@internet_service[name] = @value.to_i
|
50
|
+
when 'PublicIPAddress'
|
51
|
+
@in_public_ip_address = false
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module Fog
|
2
|
+
module Parsers
|
3
|
+
module Terremark
|
4
|
+
|
5
|
+
class GetNodeServices < Fog::Parsers::Base
|
6
|
+
|
7
|
+
def reset
|
8
|
+
@node_service = {}
|
9
|
+
@response = { 'NodeServices' => [] }
|
10
|
+
end
|
11
|
+
|
12
|
+
def end_element(name)
|
13
|
+
case name
|
14
|
+
when 'Description', 'Href', 'Name', 'IpAddress'
|
15
|
+
@node_service[name] = @value
|
16
|
+
when 'Enabled'
|
17
|
+
if @value == 'true'
|
18
|
+
@node_service[name] = true
|
19
|
+
else
|
20
|
+
@node_service[name] = false
|
21
|
+
end
|
22
|
+
when 'Id', 'Port'
|
23
|
+
@node_service[name] = @value.to_i
|
24
|
+
when 'NodeService'
|
25
|
+
@response['NodeServices'] << @node_service
|
26
|
+
@node_service = {}
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
File without changes
|
@@ -74,13 +74,13 @@ module Fog
|
|
74
74
|
case name
|
75
75
|
when 'Allocated', 'Limit', 'Units', 'Used'
|
76
76
|
if @in_cpu
|
77
|
-
@response['
|
77
|
+
@response['ComputeCapacity']['Cpu'][name] = @value
|
78
78
|
elsif @in_deployed_vms_quota
|
79
|
-
@response['
|
79
|
+
@response['ComputeCapacity']['DeployedVmsQuota'][name] = @value
|
80
80
|
elsif @in_instantiated_vms_quota
|
81
|
-
@response['
|
81
|
+
@response['ComputeCapacity']['InstantiatedVmsQuota'][name] = @value
|
82
82
|
elsif @in_memory
|
83
|
-
@response['
|
83
|
+
@response['ComputeCapacity']['Memory'][name] = @value
|
84
84
|
elsif @in_storage_capacity
|
85
85
|
@response['StorageCapacity'][name] = @value
|
86
86
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Fog
|
2
|
+
module Parsers
|
3
|
+
module Terremark
|
4
|
+
|
5
|
+
class PublicIp < Fog::Parsers::Base
|
6
|
+
|
7
|
+
def reset
|
8
|
+
@response = {}
|
9
|
+
end
|
10
|
+
|
11
|
+
def end_element(name)
|
12
|
+
case name
|
13
|
+
when 'Href', 'Name'
|
14
|
+
@response[name] = @value
|
15
|
+
when 'Id'
|
16
|
+
@response[name] = @value.to_i
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -11,23 +11,23 @@ module Fog
|
|
11
11
|
def start_element(name, attributes)
|
12
12
|
@value = ''
|
13
13
|
case name
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
@response['Links'] << link
|
20
|
-
when 'Vapp'
|
21
|
-
vapp = {}
|
22
|
-
until attributes.empty?
|
23
|
-
if attributes.first.is_a?(Array)
|
24
|
-
attribute = attributes.shift
|
25
|
-
vapp[attribute.first] = attribute.last
|
26
|
-
else
|
27
|
-
vapp[attributes.shift] = attributes.shift
|
14
|
+
when 'Link'
|
15
|
+
link = {}
|
16
|
+
until attributes.empty?
|
17
|
+
link[attributes.shift] = attributes.shift
|
28
18
|
end
|
29
|
-
|
30
|
-
|
19
|
+
@response['Links'] << link
|
20
|
+
when 'Vapp'
|
21
|
+
vapp = {}
|
22
|
+
until attributes.empty?
|
23
|
+
if attributes.first.is_a?(Array)
|
24
|
+
attribute = attributes.shift
|
25
|
+
vapp[attribute.first] = attribute.last
|
26
|
+
else
|
27
|
+
vapp[attributes.shift] = attributes.shift
|
28
|
+
end
|
29
|
+
end
|
30
|
+
@response.merge!(vapp.reject {|key,value| !['href', 'name', 'size', 'status', 'type'].include?(key)})
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
@@ -43,7 +43,7 @@ DATA
|
|
43
43
|
:expects => 200,
|
44
44
|
:headers => {'Content-Type' => 'application/xml'},
|
45
45
|
:method => 'POST',
|
46
|
-
:parser => Fog::Parsers::Terremark::
|
46
|
+
:parser => Fog::Parsers::Terremark::NodeService.new,
|
47
47
|
:path => "internetServices/#{service_id}/nodes"
|
48
48
|
)
|
49
49
|
end
|
@@ -16,7 +16,7 @@ module Fog
|
|
16
16
|
# * 'type'<~String> - type of item
|
17
17
|
# * 'description'<~String> - Description of catalog
|
18
18
|
# * 'name'<~String> - Name of catalog
|
19
|
-
def get_catalog(vdc_id)
|
19
|
+
def get_catalog(vdc_id = default_vdc_id)
|
20
20
|
request(
|
21
21
|
:expects => 200,
|
22
22
|
:method => 'GET',
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
class Real
|
4
|
+
|
5
|
+
require 'fog/terremark/parsers/get_internet_services'
|
6
|
+
|
7
|
+
# Get a list of all internet services for a vdc
|
8
|
+
#
|
9
|
+
# ==== Parameters
|
10
|
+
# * vdc_id<~Integer> - Id of vDc to get list of internet services for
|
11
|
+
#
|
12
|
+
# ==== Returns
|
13
|
+
# * response<~Excon::Response>:
|
14
|
+
# * body<~Hash>:
|
15
|
+
# * 'InternetServices'<~Array>
|
16
|
+
# * 'id'<~String> => id of the internet service
|
17
|
+
# * 'name'<~String> => name of service
|
18
|
+
# * 'PublicIPAddress'<~Hash>
|
19
|
+
# * 'Id'<~String> => id of the public IP
|
20
|
+
# * 'name'<~String> => actual ip address
|
21
|
+
#
|
22
|
+
def get_internet_services(vdc_id)
|
23
|
+
request(
|
24
|
+
:expects => 200,
|
25
|
+
:method => 'GET',
|
26
|
+
:parser => Fog::Parsers::Terremark::GetInternetServices.new,
|
27
|
+
:path => "vdc/#{vdc_id}/internetServices"
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
class Mock
|
34
|
+
|
35
|
+
def get_internet_services(vdc_id)
|
36
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
class Real
|
4
|
+
|
5
|
+
require 'fog/terremark/parsers/get_node_services'
|
6
|
+
|
7
|
+
# Get a list of all internet services for a vdc
|
8
|
+
#
|
9
|
+
# ==== Parameters
|
10
|
+
# * service_id<~Integer> - Id of internet service that we want a list of nodes for
|
11
|
+
#
|
12
|
+
# ==== Returns
|
13
|
+
# * response<~Excon::Response>:
|
14
|
+
# * body<~Hash>:
|
15
|
+
|
16
|
+
#
|
17
|
+
def get_node_services(service_id)
|
18
|
+
request(
|
19
|
+
:expects => 200,
|
20
|
+
:method => 'GET',
|
21
|
+
:parser => Fog::Parsers::Terremark::GetNodeServices.new,
|
22
|
+
:path => "InternetServices/#{service_id}/nodes"
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
class Mock
|
29
|
+
|
30
|
+
def get_node_services(vdc_id)
|
31
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -17,7 +17,7 @@ module Fog
|
|
17
17
|
# * 'rel'<~String> - action to perform
|
18
18
|
# * 'type'<~String> - type of link
|
19
19
|
# * 'name'<~String> - Name of organization
|
20
|
-
def get_organization(organization_id)
|
20
|
+
def get_organization(organization_id = default_organization_id)
|
21
21
|
response = request(
|
22
22
|
:expects => 200,
|
23
23
|
:method => 'GET',
|
@@ -14,7 +14,9 @@ module Fog
|
|
14
14
|
request({
|
15
15
|
:expects => 200,
|
16
16
|
:headers => {
|
17
|
-
'Authorization' => "Basic #{Base64.encode64("#{@terremark_username}:#{@terremark_password}").chomp!}"
|
17
|
+
'Authorization' => "Basic #{Base64.encode64("#{@terremark_username}:#{@terremark_password}").chomp!}",
|
18
|
+
# Terremark said they're going to remove passing in the Content-Type to login in a future release
|
19
|
+
'Content-Type' => "application/vnd.vmware.vcloud.orgList+xml"
|
18
20
|
},
|
19
21
|
:method => 'POST',
|
20
22
|
:parser => Fog::Parsers::Terremark::GetOrganizations.new,
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Fog
|
2
|
+
module Terremark
|
3
|
+
class Real
|
4
|
+
|
5
|
+
# Get details for a public ip
|
6
|
+
#
|
7
|
+
# ==== Parameters
|
8
|
+
# * public_ip_id<~Integer> - Id of public ip to look up
|
9
|
+
#
|
10
|
+
# ==== Returns
|
11
|
+
# * response<~Excon::Response>:
|
12
|
+
# * body<~Hash>:
|
13
|
+
# * 'PublicIpAddresses'<~Array>
|
14
|
+
# * 'href'<~String> - linke to item
|
15
|
+
# * 'name'<~String> - name of item
|
16
|
+
def get_public_ip(public_ip_id)
|
17
|
+
request(
|
18
|
+
:expects => 200,
|
19
|
+
:method => 'GET',
|
20
|
+
:parser => Fog::Parsers::Terremark::PublicIp.new,
|
21
|
+
:path => "publicIps/#{public_ip_id}"
|
22
|
+
)
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
class Mock
|
28
|
+
|
29
|
+
def get_public_ip(public_ip_id)
|
30
|
+
raise MockNotImplemented.new("Contributions welcome!")
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -16,7 +16,7 @@ module Fog
|
|
16
16
|
# * 'type'<~String> - type of item
|
17
17
|
# * 'description'<~String> - Description of catalog
|
18
18
|
# * 'name'<~String> - Name of catalog
|
19
|
-
def get_tasks_list(tasks_list_id)
|
19
|
+
def get_tasks_list(tasks_list_id = default_tasks_list_id)
|
20
20
|
request(
|
21
21
|
:expects => 200,
|
22
22
|
:method => 'GET',
|
@@ -19,7 +19,7 @@ module Fog
|
|
19
19
|
# * 'type'<~String> - type of item
|
20
20
|
# * 'description'<~String> - Description of catalog
|
21
21
|
# * 'name'<~String> - Name of catalog
|
22
|
-
def get_vdc(vdc_id)
|
22
|
+
def get_vdc(vdc_id = default_vdc_id)
|
23
23
|
request(
|
24
24
|
:expects => 200,
|
25
25
|
:method => 'GET',
|
@@ -6,7 +6,9 @@ module Fog
|
|
6
6
|
#
|
7
7
|
# ==== Parameters
|
8
8
|
# * vdc_id<~Integer> - Id of vdc to instantiate template in
|
9
|
-
#
|
9
|
+
# * options<~Hash>:
|
10
|
+
# * cpus<~Integer>: Number of cpus in [1, 2, 4, 8], defaults to 1
|
11
|
+
# * memory<~Integer>: Amount of memory either 512 or a multiple of 1024, defaults to 512
|
10
12
|
# ==== Returns
|
11
13
|
# * response<~Excon::Response>:
|
12
14
|
# * body<~Hash>:
|
@@ -19,7 +21,10 @@ module Fog
|
|
19
21
|
# * 'type'<~String> - type of item
|
20
22
|
# * 'description'<~String> - Description of catalog
|
21
23
|
# * 'name'<~String> - Name of catalog
|
22
|
-
def instantiate_vapp_template(name)
|
24
|
+
def instantiate_vapp_template(name, options = {})
|
25
|
+
options['cpus'] ||= 1
|
26
|
+
options['memory'] ||= 512
|
27
|
+
|
23
28
|
# FIXME: much cheating to commence
|
24
29
|
vdc_id = default_vdc_id
|
25
30
|
network_id = default_network_id
|
@@ -68,12 +73,12 @@ module Fog
|
|
68
73
|
<Item xmlns="http://schemas.dmtf.org/ovf/envelope/1">
|
69
74
|
<InstanceID xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">1</InstanceID>
|
70
75
|
<ResourceType xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">3</ResourceType>
|
71
|
-
<VirtualQuantity xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
|
76
|
+
<VirtualQuantity xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">#{options['cpus']}</VirtualQuantity>
|
72
77
|
</Item>
|
73
78
|
<Item xmlns="http://schemas.dmtf.org/ovf/envelope/1">
|
74
79
|
<InstanceID xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">2</InstanceID>
|
75
80
|
<ResourceType xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">4</ResourceType>
|
76
|
-
<VirtualQuantity xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
|
81
|
+
<VirtualQuantity xmlns="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData">#{options['memory']}</VirtualQuantity>
|
77
82
|
</Item>
|
78
83
|
</VirtualHardwareSection>
|
79
84
|
<NetworkConfigSection>
|
@@ -83,6 +83,7 @@ describe 'Fog::AWS::S3::Files' do
|
|
83
83
|
data = File.open(File.dirname(__FILE__) + '/../../../lorem.txt', 'r')
|
84
84
|
file = @directory.files.create(:key => 'fogfilename', :body => data)
|
85
85
|
url = @directory.files.get_url('fogfilename', Time.now + 60 * 10)
|
86
|
+
url.should include("fogfilename", "Expires")
|
86
87
|
unless Fog.mocking?
|
87
88
|
open(url).read.should == File.open(File.dirname(__FILE__) + '/../../../lorem.txt', 'r').read
|
88
89
|
end
|
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
|
+
- 74
|
9
|
+
version: 0.0.74
|
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-20 00:00:00 -07:00
|
18
18
|
default_executable: fog
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -70,7 +70,7 @@ dependencies:
|
|
70
70
|
type: :runtime
|
71
71
|
version_requirements: *id004
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
|
-
name:
|
73
|
+
name: net-ssh
|
74
74
|
prerelease: false
|
75
75
|
requirement: &id005 !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
type: :runtime
|
83
83
|
version_requirements: *id005
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: nokogiri
|
86
86
|
prerelease: false
|
87
87
|
requirement: &id006 !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
@@ -93,6 +93,42 @@ dependencies:
|
|
93
93
|
version: "0"
|
94
94
|
type: :runtime
|
95
95
|
version_requirements: *id006
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: ruby-hmac
|
98
|
+
prerelease: false
|
99
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
type: :runtime
|
107
|
+
version_requirements: *id007
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: rspec
|
110
|
+
prerelease: false
|
111
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
segments:
|
116
|
+
- 0
|
117
|
+
version: "0"
|
118
|
+
type: :development
|
119
|
+
version_requirements: *id008
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: shindo
|
122
|
+
prerelease: false
|
123
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
version: "0"
|
130
|
+
type: :development
|
131
|
+
version_requirements: *id009
|
96
132
|
description: The Ruby cloud computing library.
|
97
133
|
email: geemus@gmail.com
|
98
134
|
executables:
|
@@ -102,12 +138,10 @@ extensions: []
|
|
102
138
|
extra_rdoc_files:
|
103
139
|
- README.rdoc
|
104
140
|
files:
|
105
|
-
- .document
|
106
|
-
- .gitignore
|
107
141
|
- Gemfile
|
142
|
+
- Gemfile.lock
|
108
143
|
- README.rdoc
|
109
144
|
- Rakefile
|
110
|
-
- VERSION.yml
|
111
145
|
- benchs/fog_vs.rb
|
112
146
|
- benchs/params.rb
|
113
147
|
- benchs/parse_vs_push.rb
|
@@ -294,19 +328,27 @@ files:
|
|
294
328
|
- lib/fog/slicehost/requests/get_slice.rb
|
295
329
|
- lib/fog/slicehost/requests/get_slices.rb
|
296
330
|
- lib/fog/slicehost/requests/reboot_slice.rb
|
331
|
+
- lib/fog/ssh.rb
|
297
332
|
- lib/fog/terremark.rb
|
298
333
|
- lib/fog/terremark/bin.rb
|
334
|
+
- lib/fog/terremark/models/server.rb
|
335
|
+
- lib/fog/terremark/models/servers.rb
|
336
|
+
- lib/fog/terremark/models/task.rb
|
337
|
+
- lib/fog/terremark/models/tasks.rb
|
299
338
|
- lib/fog/terremark/parsers/get_catalog.rb
|
300
339
|
- lib/fog/terremark/parsers/get_catalog_item.rb
|
340
|
+
- lib/fog/terremark/parsers/get_internet_services.rb
|
341
|
+
- lib/fog/terremark/parsers/get_node_services.rb
|
301
342
|
- lib/fog/terremark/parsers/get_organization.rb
|
302
343
|
- lib/fog/terremark/parsers/get_organizations.rb
|
303
|
-
- lib/fog/terremark/parsers/
|
344
|
+
- lib/fog/terremark/parsers/get_public_ips.rb
|
304
345
|
- lib/fog/terremark/parsers/get_tasks_list.rb
|
305
346
|
- lib/fog/terremark/parsers/get_vapp_template.rb
|
306
347
|
- lib/fog/terremark/parsers/get_vdc.rb
|
307
348
|
- lib/fog/terremark/parsers/instantiate_vapp_template.rb
|
308
349
|
- lib/fog/terremark/parsers/internet_service.rb
|
309
350
|
- lib/fog/terremark/parsers/node_service.rb
|
351
|
+
- lib/fog/terremark/parsers/public_ip.rb
|
310
352
|
- lib/fog/terremark/parsers/task.rb
|
311
353
|
- lib/fog/terremark/parsers/vapp.rb
|
312
354
|
- lib/fog/terremark/requests/add_internet_service.rb
|
@@ -318,8 +360,11 @@ files:
|
|
318
360
|
- lib/fog/terremark/requests/deploy_vapp.rb
|
319
361
|
- lib/fog/terremark/requests/get_catalog.rb
|
320
362
|
- lib/fog/terremark/requests/get_catalog_item.rb
|
363
|
+
- lib/fog/terremark/requests/get_internet_services.rb
|
364
|
+
- lib/fog/terremark/requests/get_node_services.rb
|
321
365
|
- lib/fog/terremark/requests/get_organization.rb
|
322
366
|
- lib/fog/terremark/requests/get_organizations.rb
|
367
|
+
- lib/fog/terremark/requests/get_public_ip.rb
|
323
368
|
- lib/fog/terremark/requests/get_public_ips.rb
|
324
369
|
- lib/fog/terremark/requests/get_task.rb
|
325
370
|
- lib/fog/terremark/requests/get_tasks_list.rb
|
@@ -480,94 +525,7 @@ requirements: []
|
|
480
525
|
rubyforge_project: fog
|
481
526
|
rubygems_version: 1.3.6
|
482
527
|
signing_key:
|
483
|
-
specification_version:
|
528
|
+
specification_version: 2
|
484
529
|
summary: brings clouds to you
|
485
|
-
test_files:
|
486
|
-
|
487
|
-
- spec/aws/models/ec2/addresses_spec.rb
|
488
|
-
- spec/aws/models/ec2/flavors_spec.rb
|
489
|
-
- spec/aws/models/ec2/key_pair_spec.rb
|
490
|
-
- spec/aws/models/ec2/key_pairs_spec.rb
|
491
|
-
- spec/aws/models/ec2/security_group_spec.rb
|
492
|
-
- spec/aws/models/ec2/security_groups_spec.rb
|
493
|
-
- spec/aws/models/ec2/server_spec.rb
|
494
|
-
- spec/aws/models/ec2/servers_spec.rb
|
495
|
-
- spec/aws/models/ec2/snapshot_spec.rb
|
496
|
-
- spec/aws/models/ec2/snapshots_spec.rb
|
497
|
-
- spec/aws/models/ec2/volume_spec.rb
|
498
|
-
- spec/aws/models/ec2/volumes_spec.rb
|
499
|
-
- spec/aws/models/s3/directories_spec.rb
|
500
|
-
- spec/aws/models/s3/directory_spec.rb
|
501
|
-
- spec/aws/models/s3/file_spec.rb
|
502
|
-
- spec/aws/models/s3/files_spec.rb
|
503
|
-
- spec/aws/requests/ec2/allocate_address_spec.rb
|
504
|
-
- spec/aws/requests/ec2/associate_address_spec.rb
|
505
|
-
- spec/aws/requests/ec2/attach_volume_spec.rb
|
506
|
-
- spec/aws/requests/ec2/authorize_security_group_ingress_spec.rb
|
507
|
-
- spec/aws/requests/ec2/create_key_pair_spec.rb
|
508
|
-
- spec/aws/requests/ec2/create_security_group_spec.rb
|
509
|
-
- spec/aws/requests/ec2/create_snapshot_spec.rb
|
510
|
-
- spec/aws/requests/ec2/create_volume_spec.rb
|
511
|
-
- spec/aws/requests/ec2/delete_key_pair_spec.rb
|
512
|
-
- spec/aws/requests/ec2/delete_security_group_spec.rb
|
513
|
-
- spec/aws/requests/ec2/delete_snapshot_spec.rb
|
514
|
-
- spec/aws/requests/ec2/delete_volume_spec.rb
|
515
|
-
- spec/aws/requests/ec2/describe_addresses_spec.rb
|
516
|
-
- spec/aws/requests/ec2/describe_availability_zones_spec.rb
|
517
|
-
- spec/aws/requests/ec2/describe_images_spec.rb
|
518
|
-
- spec/aws/requests/ec2/describe_instances_spec.rb
|
519
|
-
- spec/aws/requests/ec2/describe_key_pairs_spec.rb
|
520
|
-
- spec/aws/requests/ec2/describe_regions_spec.rb
|
521
|
-
- spec/aws/requests/ec2/describe_security_groups_spec.rb
|
522
|
-
- spec/aws/requests/ec2/describe_snapshots_spec.rb
|
523
|
-
- spec/aws/requests/ec2/describe_volumes_spec.rb
|
524
|
-
- spec/aws/requests/ec2/detach_volume_spec.rb
|
525
|
-
- spec/aws/requests/ec2/disassociate_address_spec.rb
|
526
|
-
- spec/aws/requests/ec2/get_console_output_spec.rb
|
527
|
-
- spec/aws/requests/ec2/reboot_instances_spec.rb
|
528
|
-
- spec/aws/requests/ec2/release_address_spec.rb
|
529
|
-
- spec/aws/requests/ec2/revoke_security_group_ingress_spec.rb
|
530
|
-
- spec/aws/requests/ec2/run_instances_spec.rb
|
531
|
-
- spec/aws/requests/ec2/terminate_instances_spec.rb
|
532
|
-
- spec/aws/requests/s3/copy_object_spec.rb
|
533
|
-
- spec/aws/requests/s3/delete_bucket_spec.rb
|
534
|
-
- spec/aws/requests/s3/delete_object_spec.rb
|
535
|
-
- spec/aws/requests/s3/get_bucket_location_spec.rb
|
536
|
-
- spec/aws/requests/s3/get_bucket_spec.rb
|
537
|
-
- spec/aws/requests/s3/get_object_spec.rb
|
538
|
-
- spec/aws/requests/s3/get_request_payment_spec.rb
|
539
|
-
- spec/aws/requests/s3/get_service_spec.rb
|
540
|
-
- spec/aws/requests/s3/head_object_spec.rb
|
541
|
-
- spec/aws/requests/s3/put_bucket_spec.rb
|
542
|
-
- spec/aws/requests/s3/put_object_spec.rb
|
543
|
-
- spec/aws/requests/s3/put_request_payment_spec.rb
|
544
|
-
- spec/aws/requests/simpledb/batch_put_attributes_spec.rb
|
545
|
-
- spec/aws/requests/simpledb/create_domain_spec.rb
|
546
|
-
- spec/aws/requests/simpledb/delete_attributes_spec.rb
|
547
|
-
- spec/aws/requests/simpledb/delete_domain_spec.rb
|
548
|
-
- spec/aws/requests/simpledb/domain_metadata_spec.rb
|
549
|
-
- spec/aws/requests/simpledb/get_attributes_spec.rb
|
550
|
-
- spec/aws/requests/simpledb/list_domains_spec.rb
|
551
|
-
- spec/aws/requests/simpledb/put_attributes_spec.rb
|
552
|
-
- spec/aws/requests/simpledb/select_spec.rb
|
553
|
-
- spec/compact_progress_bar_formatter.rb
|
554
|
-
- spec/rackspace/models/servers/flavors_spec.rb
|
555
|
-
- spec/rackspace/models/servers/server_spec.rb
|
556
|
-
- spec/rackspace/models/servers/servers_spec.rb
|
557
|
-
- spec/rackspace/requests/files/delete_container_spec.rb
|
558
|
-
- spec/rackspace/requests/files/delete_object_spec.rb
|
559
|
-
- spec/rackspace/requests/files/get_container_spec.rb
|
560
|
-
- spec/rackspace/requests/files/get_containers_spec.rb
|
561
|
-
- spec/rackspace/requests/files/get_object_spec.rb
|
562
|
-
- spec/rackspace/requests/files/head_container_spec.rb
|
563
|
-
- spec/rackspace/requests/files/head_containers_spec.rb
|
564
|
-
- spec/rackspace/requests/files/head_object_spec.rb
|
565
|
-
- spec/rackspace/requests/files/put_container_spec.rb
|
566
|
-
- spec/rackspace/requests/files/put_object_spec.rb
|
567
|
-
- spec/shared_examples/flavors_examples.rb
|
568
|
-
- spec/shared_examples/server_examples.rb
|
569
|
-
- spec/shared_examples/servers_examples.rb
|
570
|
-
- spec/slicehost/models/flavors_spec.rb
|
571
|
-
- spec/slicehost/models/server_spec.rb
|
572
|
-
- spec/slicehost/models/servers_spec.rb
|
573
|
-
- spec/spec_helper.rb
|
530
|
+
test_files: []
|
531
|
+
|