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.



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

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.



75
76
77
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 75

def instance_id
  @instance_id
end

#ipObject

Returns the value of attribute ip.



75
76
77
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 75

def ip
  @ip
end

#poolObject

Returns the value of attribute pool.



75
76
77
# File 'lib/vagrant-openstack-provider/client/domain.rb', line 75

def pool
  @pool
end