1
0
Fork 0
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:
Sneha Somwanshi 2013-10-18 11:32:22 +01:00
parent 1b7dfb2fc9
commit dd3d80eb78
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ module Fog
module Generators
module Compute
module VcloudDirector
class EdgeGateway
class EdgeGatewayServiceConfiguration
def initialize(configuration={})
@configuration = configuration
end

View file

@ -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,