mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[terremark|ecloud] aim at 2.6
This commit is contained in:
parent
f267bc54af
commit
a28af56223
1 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ module Fog
|
|||
module Shared
|
||||
def ecloud_xmlns
|
||||
{
|
||||
"xmlns" => "urn:tmrk:eCloudExtensions-2.5",
|
||||
"xmlns" => "urn:tmrk:eCloudExtensions-2.6",
|
||||
"xmlns:i" => "http://www.w3.org/2001/XMLSchema-instance"
|
||||
}
|
||||
end
|
||||
|
@ -84,7 +84,7 @@ module Fog
|
|||
end
|
||||
|
||||
def self.base_url
|
||||
"https://fakey.com/api/v0.8b-ext2.5"
|
||||
"https://fakey.com/api/v0.8b-ext2.6"
|
||||
end
|
||||
|
||||
def self.data_reset
|
||||
|
@ -95,7 +95,7 @@ module Fog
|
|||
def self.data( base_url = self.base_url )
|
||||
@mock_data ||= Fog::Vcloud::Mock.data(base_url).tap do |vcloud_mock_data|
|
||||
vcloud_mock_data.versions.clear
|
||||
vcloud_mock_data.versions << MockVersion.new(:version => "v0.8b-ext2.5")
|
||||
vcloud_mock_data.versions << MockVersion.new(:version => "v0.8b-ext2.6")
|
||||
|
||||
vcloud_mock_data.organizations.detect {|o| o.name == "Boom Inc." }.tap do |mock_organization|
|
||||
mock_organization.vdcs.detect {|v| v.name == "Boomstick" }.tap do |mock_vdc|
|
||||
|
@ -176,7 +176,7 @@ module Fog
|
|||
include Shared
|
||||
|
||||
def supporting_versions
|
||||
["v0.8b-ext2.5", "0.8b-ext2.5"]
|
||||
["v0.8b-ext2.6", "0.8b-ext2.6"]
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue