Method: Vcloud::Core::Fog::ServiceInterface#find_networks
- Defined in:
- lib/vcloud/core/fog/service_interface.rb
#find_networks(network_names, vdc_name) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
262 263 264 265 266 267 268 |
# File 'lib/vcloud/core/fog/service_interface.rb', line 262 def find_networks(network_names, vdc_name) network_names.collect do |network| vdc(vdc_name)[:AvailableNetworks][:Network].detect do |l| l[:type] == ContentTypes::NETWORK && l[:name] == network end end end |