class Vcloud::Walker::Resource::Organization
Public Class Methods
catalogs()
click to toggle source
# File lib/vcloud/walker/resource/organization.rb, line 5 def self.catalogs fog_catalogs = FogInterface.get_catalogs Catalogs.new(fog_catalogs).to_summary end
edgegateways()
click to toggle source
# File lib/vcloud/walker/resource/organization.rb, line 15 def self.edgegateways fog_edge_gateways = FogInterface.get_edge_gateways fog_edge_gateways.collect do |edge_gw| edge_gw[:id] = edge_gw[:href].split('/').last edgegw_service_configuration = edge_gw[:Configuration][:EdgeGatewayServiceConfiguration] if edgegw_service_configuration[:GatewayIpsecVpnService] edgegw_service_configuration[:GatewayIpsecVpnService] = GatewayIpsecVpnService.new(edgegw_service_configuration[:GatewayIpsecVpnService]).to_summary end edge_gw end end
networks()
click to toggle source
# File lib/vcloud/walker/resource/organization.rb, line 27 def self.networks fog_networks = FogInterface.get_networks Networks.new(fog_networks).to_summary end
organization()
click to toggle source
# File lib/vcloud/walker/resource/organization.rb, line 32 def self.organization { :vdcs => vdcs, :networks => networks, :catalogs => catalogs, :edgegateways => edgegateways, } end
vdcs()
click to toggle source
# File lib/vcloud/walker/resource/organization.rb, line 10 def self.vdcs fog_vdcs = FogInterface.get_vdcs Vdcs.new(fog_vdcs).to_summary end