mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fixes
This commit is contained in:
parent
307c6708f5
commit
e5c9d7da85
2 changed files with 12 additions and 8 deletions
|
@ -68,7 +68,17 @@ module Fog
|
|||
request :power_reset
|
||||
request :power_shutdown
|
||||
|
||||
module Shared
|
||||
def ecloud_xmlns
|
||||
{
|
||||
"xmlns" => "urn:tmrk:eCloudExtensions-2.5",
|
||||
"xmlns:i" => "http://www.w3.org/2001/XMLSchema-instance"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
class Mock < Fog::Vcloud::Mock
|
||||
include Shared
|
||||
|
||||
def initialize(options={})
|
||||
end
|
||||
|
@ -157,19 +167,13 @@ module Fog
|
|||
end
|
||||
end
|
||||
|
||||
def ecloud_xmlns
|
||||
{
|
||||
"xmlns" => "urn:tmrk:eCloudExtensions-2.5",
|
||||
"xmlns:i" => "http://www.w3.org/2001/XMLSchema-instance"
|
||||
}
|
||||
end
|
||||
|
||||
def mock_data
|
||||
Fog::Vcloud::Terremark::Ecloud::Mock.data
|
||||
end
|
||||
end
|
||||
|
||||
class Real < Fog::Vcloud::Real
|
||||
include Shared
|
||||
|
||||
def supporting_versions
|
||||
["v0.8b-ext2.5", "0.8b-ext2.5"]
|
||||
|
|
|
@ -55,7 +55,7 @@ module Fog
|
|||
builder.Href(ip_address_data[:href])
|
||||
builder.Name(ip_address_data[:name])
|
||||
}
|
||||
if monitor = public_ip_internet_service.monitor
|
||||
if monitor = service_data[:monitor]
|
||||
generate_monitor_section(builder, monitor)
|
||||
end
|
||||
if service_data[:backup_service_uri]
|
||||
|
|
Loading…
Add table
Reference in a new issue