Method: Beaker::OpenStack#network
- Defined in:
- lib/beaker/hypervisor/openstack.rb
#network(n) ⇒ String
Provided a network name return the OpenStack id for that network
87 88 89 90 |
# File 'lib/beaker/hypervisor/openstack.rb', line 87 def network n @logger.debug "OpenStack: Looking up network '#{n}'" @network_client.networks.find { |x| x.name == n } || raise("Couldn't find network: #{n}") end |