Class: VagrantPlugins::Openstack::Domain::FloatingIP

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-openstack-provider/client/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip, pool, instance_id) ⇒ FloatingIP

Returns a new instance of FloatingIP.



56
57
58
59
60
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 56

def initialize(ip, pool, instance_id)
  @ip = ip
  @pool = pool
  @instance_id = instance_id
end

Instance Attribute Details

#instance_idObject

Returns the value of attribute instance_id.



55
56
57
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 55

def instance_id
  @instance_id
end

#ipObject

Returns the value of attribute ip.



55
56
57
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 55

def ip
  @ip
end

#poolObject

Returns the value of attribute pool.



55
56
57
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 55

def pool
  @pool
end