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.



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_idObject

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

#ipObject

Returns the value of attribute ip.



79
80
81
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 79

def ip
  @ip
end

#poolObject

Returns the value of attribute pool.



79
80
81
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 79

def pool
  @pool
end