Class: VagrantPlugins::Openstack::Domain::FloatingIP
- Inherits:
-
Object
- Object
- VagrantPlugins::Openstack::Domain::FloatingIP
- Defined in:
- lib/vagrant-openstack-provider/client/domain.rb
Instance Attribute Summary collapse
-
#instance_id ⇒ Object
Returns the value of attribute instance_id.
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#pool ⇒ Object
Returns the value of attribute pool.
Instance Method Summary collapse
-
#initialize(ip, pool, instance_id) ⇒ FloatingIP
constructor
A new instance of FloatingIP.
Constructor Details
#initialize(ip, pool, instance_id) ⇒ FloatingIP
Returns a new instance of FloatingIP.
80 81 82 83 84 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 80 def initialize(ip, pool, instance_id) @ip = ip @pool = pool @instance_id = instance_id end |
Instance Attribute Details
#instance_id ⇒ Object
Returns the value of attribute instance_id.
79 80 81 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 79 def instance_id @instance_id end |
#ip ⇒ Object
Returns the value of attribute ip.
79 80 81 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 79 def ip @ip end |
#pool ⇒ Object
Returns the value of attribute pool.
79 80 81 |
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 79 def pool @pool end |