Class: VagrantPlugins::Openstack::Domain::Subnet
- Defined in:
- lib/vagrant-openstack-illuin-provider/client/domain.rb
Instance Attribute Summary collapse
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#enable_dhcp ⇒ Object
Returns the value of attribute enable_dhcp.
-
#network_id ⇒ Object
Returns the value of attribute network_id.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name, cidr, enable_dhcp, network_id) ⇒ Subnet
constructor
A new instance of Subnet.
Methods inherited from Item
Constructor Details
#initialize(id, name, cidr, enable_dhcp, network_id) ⇒ Subnet
Returns a new instance of Subnet.
148 149 150 151 152 153 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 148 def initialize(id, name, cidr, enable_dhcp, network_id) @cidr = cidr @enable_dhcp = enable_dhcp @network_id = network_id super(id, name) end |
Instance Attribute Details
#cidr ⇒ Object
Returns the value of attribute cidr.
144 145 146 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 144 def cidr @cidr end |
#enable_dhcp ⇒ Object
Returns the value of attribute enable_dhcp.
145 146 147 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 145 def enable_dhcp @enable_dhcp end |
#network_id ⇒ Object
Returns the value of attribute network_id.
146 147 148 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 146 def network_id @network_id end |