mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
corrected name of edgegateway generator
This commit is contained in:
parent
1b7dfb2fc9
commit
dd3d80eb78
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ module Fog
|
|||
module Generators
|
||||
module Compute
|
||||
module VcloudDirector
|
||||
class EdgeGateway
|
||||
class EdgeGatewayServiceConfiguration
|
||||
def initialize(configuration={})
|
||||
@configuration = configuration
|
||||
end
|
|
@ -3,7 +3,7 @@ module Fog
|
|||
class VcloudDirector
|
||||
class Real
|
||||
|
||||
require 'fog/vcloud_director/generators/compute/edge_gateway'
|
||||
require 'fog/vcloud_director/generators/compute/edge_gateway_service_configuration'
|
||||
|
||||
# Configure edge gateway services like firewall, nat and load balancer.
|
||||
#
|
||||
|
@ -21,7 +21,7 @@ module Fog
|
|||
# vCloud API Documentaion
|
||||
# @since vCloud API version 5.1
|
||||
def post_configure_edge_gateway_services(id, configuration)
|
||||
body = Fog::Generators::Compute::VcloudDirector::EdgeGateway.new(configuration).generate_xml
|
||||
body = Fog::Generators::Compute::VcloudDirector::EdgeGatewayServiceConfiguration.new(configuration).generate_xml
|
||||
|
||||
request(
|
||||
:body => body,
|
||||
|
|
Loading…
Reference in a new issue