Class: Bosh::OpenStackCloud::ManualNetwork
- Defined in:
- lib/cloud/openstack/manual_network.rb
Overview
Represents OpenStack manual network: where user sets VM’s IP
Constant Summary
Constants included from Helpers
Helpers::DEFAULT_RETRY_TIMEOUT, Helpers::DEFAULT_STATE_TIMEOUT, Helpers::MAX_RETRIES
Instance Method Summary collapse
-
#configure(openstack, server) ⇒ Object
Configures OpenStack manual network.
-
#initialize(name, spec) ⇒ ManualNetwork
constructor
Creates a new manual network.
-
#private_ip ⇒ String
Returns the private IP address.
Methods included from Helpers
#cloud_error, #parse_openstack_response, #task_checkpoint, #wait_resource, #with_openstack
Constructor Details
#initialize(name, spec) ⇒ ManualNetwork
Creates a new manual network
13 14 15 |
# File 'lib/cloud/openstack/manual_network.rb', line 13 def initialize(name, spec) super end |
Instance Method Details
#configure(openstack, server) ⇒ Object
Configures OpenStack manual network. Right now it’s a no-op, as manual networks are completely managed by OpenStack
32 33 |
# File 'lib/cloud/openstack/manual_network.rb', line 32 def configure(openstack, server) end |
#private_ip ⇒ String
Returns the private IP address
21 22 23 |
# File 'lib/cloud/openstack/manual_network.rb', line 21 def private_ip @ip end |