Class: Ansible::Ruby::Modules::Os_subnet
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_subnet
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb
Instance Method Summary collapse
-
#allocation_pool_end ⇒ Object?
From the subnet pool the last IP that should be assigned to the virtual machines.
-
#allocation_pool_start ⇒ Object?
From the subnet pool the starting address from which the IP should be allocated.
-
#cidr ⇒ String?
The CIDR representation of the subnet that should be assigned to the subnet.
-
#dns_nameservers ⇒ Array<String>, ...
List of DNS nameservers for this subnet.
-
#enable_dhcp ⇒ Boolean?
Whether DHCP should be enabled for this subnet.
-
#gateway_ip ⇒ Object?
The ip that would be assigned to the gateway for this subnet.
-
#host_routes ⇒ Array<Hash>, ...
A list of host route dictionaries for the subnet.
-
#ip_version ⇒ Integer?
The IP version of the subnet 4 or 6.
-
#ipv6_address_mode ⇒ :"dhcpv6-stateful", ...
IPv6 address mode.
-
#ipv6_ra_mode ⇒ :"dhcpv6-stateful", ...
IPv6 router advertisement mode.
-
#name ⇒ String
The name of the subnet that should be created.
-
#network_name ⇒ String?
Name of the network to which the subnet should be attached,requried when I(state) is ‘present’.
-
#project ⇒ Object?
Project name or ID containing the subnet (name admin-only).
-
#state ⇒ :present, ...
Indicate desired state of the resource.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#allocation_pool_end ⇒ Object?
Returns From the subnet pool the last IP that should be assigned to the virtual machines.
44 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 44 attribute :allocation_pool_end |
#allocation_pool_start ⇒ Object?
Returns From the subnet pool the starting address from which the IP should be allocated.
41 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 41 attribute :allocation_pool_start |
#cidr ⇒ String?
Returns The CIDR representation of the subnet that should be assigned to the subnet. Required when I(state) is ‘present’.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 22 attribute :cidr |
#dns_nameservers ⇒ Array<String>, ...
Returns List of DNS nameservers for this subnet.
37 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 37 attribute :dns_nameservers |
#enable_dhcp ⇒ Boolean?
Returns Whether DHCP should be enabled for this subnet.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 30 attribute :enable_dhcp |
#gateway_ip ⇒ Object?
Returns The ip that would be assigned to the gateway for this subnet.
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 34 attribute :gateway_ip |
#host_routes ⇒ Array<Hash>, ...
Returns A list of host route dictionaries for the subnet.
47 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 47 attribute :host_routes |
#ip_version ⇒ Integer?
Returns The IP version of the subnet 4 or 6.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 26 attribute :ip_version |
#ipv6_address_mode ⇒ :"dhcpv6-stateful", ...
Returns IPv6 address mode.
55 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 55 attribute :ipv6_address_mode |
#ipv6_ra_mode ⇒ :"dhcpv6-stateful", ...
Returns IPv6 router advertisement mode.
51 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 51 attribute :ipv6_ra_mode |
#name ⇒ String
Returns The name of the subnet that should be created. Although Neutron allows for non-unique subnet names, this module enforces subnet name uniqueness.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 18 attribute :name |
#network_name ⇒ String?
Returns Name of the network to which the subnet should be attached,requried when I(state) is ‘present’.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 14 attribute :network_name |
#project ⇒ Object?
Returns Project name or ID containing the subnet (name admin-only).
59 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 59 attribute :project |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_subnet.rb', line 10 attribute :state |