class Bosh::OpenStackCloud::ManualNetwork

Represents OpenStack manual network: where user sets VM's IP

Public Class Methods

new(name, spec) click to toggle source

Creates a new manual network

@param [String] name Network name @param [Hash] spec Raw network spec

Calls superclass method
# File lib/cloud/openstack/manual_network.rb, line 13
def initialize(name, spec)
  super
end

Public Instance Methods

configure(openstack, server) click to toggle source

Configures OpenStack manual network. Right now it's a no-op, as manual networks are completely managed by OpenStack

@param [Fog::Compute::OpenStack] openstack Fog OpenStack Compute client @param [Fog::Compute::OpenStack::Server] server OpenStack server to

configure
# File lib/cloud/openstack/manual_network.rb, line 32
def configure(openstack, server)
end
private_ip() click to toggle source

Returns the private IP address

@return [String] ip address

# File lib/cloud/openstack/manual_network.rb, line 21
def private_ip
  @ip
end