Class: Ansible::Ruby::Modules::Ucs_ip_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ucs_ip_pool
- Defined in:
- lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb
Overview
Configures IP address pools and blocks of IP addresses on Cisco UCS Manager. Examples can be used with the UCS Platform Emulator U(communities.cisco.com/ucspe).
Instance Method Summary collapse
-
#default_gw ⇒ String?
The default gateway associated with the IPv4 addresses in the block.
-
#descrption ⇒ Object?
The user-defined description of the IP address pool.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).
-
#first_addr ⇒ String?
The first IPv4 address in the IPv4 addresses block.,This is the From field in the UCS Manager Add IPv4 Blocks menu.
-
#ipv6_default_gw ⇒ String?
The default gateway associated with the IPv6 addresses in the block.
-
#ipv6_first_addr ⇒ String?
The first IPv6 address in the IPv6 addresses block.,This is the From field in the UCS Manager Add IPv6 Blocks menu.
-
#ipv6_last_addr ⇒ String?
The last IPv6 address in the IPv6 addresses block.,This is the To field in the UCS Manager Add IPv6 Blocks menu.
-
#ipv6_prefix ⇒ String?
The network address prefix associated with the IPv6 addresses in the block.
-
#ipv6_primary_dns ⇒ String?
The primary DNS server that this block of IPv6 addresses should access.
-
#ipv6_secondary_dns ⇒ String?
The secondary DNS server that this block of IPv6 addresses should access.
-
#last_addr ⇒ String?
The last IPv4 address in the IPv4 addresses block.,This is the To field in the UCS Manager Add IPv4 Blocks menu.
-
#name ⇒ String
The name of the IP address pool.,This name can be between 1 and 32 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and .
-
#order ⇒ :default, ...
The Assignment Order field.,This can be one of the following:,default - Cisco UCS Manager selects a random identity from the pool.,sequential - Cisco UCS Manager selects the lowest available identity from the pool.
-
#org_dn ⇒ String?
Org dn (distinguished name).
-
#primary_dns ⇒ String?
The primary DNS server that this block of IPv4 addresses should access.
-
#secondary_dns ⇒ String?
The secondary DNS server that this block of IPv4 addresses should access.
-
#state ⇒ :present, ...
If C(present), will verify IP pool is present and will create if needed.,If C(absent), will verify IP pool is absent and will delete if needed.
-
#subnet_mask ⇒ String?
The subnet mask associated with the IPv4 addresses in the block.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#default_gw ⇒ String?
Returns The default gateway associated with the IPv4 addresses in the block.
40 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 40 attribute :default_gw |
#descrption ⇒ Object?
Returns The user-defined description of the IP address pool.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).
21 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 21 attribute :descrption |
#first_addr ⇒ String?
Returns The first IPv4 address in the IPv4 addresses block.,This is the From field in the UCS Manager Add IPv4 Blocks menu.
28 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 28 attribute :first_addr |
#ipv6_default_gw ⇒ String?
Returns The default gateway associated with the IPv6 addresses in the block.
64 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 64 attribute :ipv6_default_gw |
#ipv6_first_addr ⇒ String?
Returns The first IPv6 address in the IPv6 addresses block.,This is the From field in the UCS Manager Add IPv6 Blocks menu.
52 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 52 attribute :ipv6_first_addr |
#ipv6_last_addr ⇒ String?
Returns The last IPv6 address in the IPv6 addresses block.,This is the To field in the UCS Manager Add IPv6 Blocks menu.
56 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 56 attribute :ipv6_last_addr |
#ipv6_prefix ⇒ String?
Returns The network address prefix associated with the IPv6 addresses in the block.
60 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 60 attribute :ipv6_prefix |
#ipv6_primary_dns ⇒ String?
Returns The primary DNS server that this block of IPv6 addresses should access.
68 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 68 attribute :ipv6_primary_dns |
#ipv6_secondary_dns ⇒ String?
Returns The secondary DNS server that this block of IPv6 addresses should access.
72 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 72 attribute :ipv6_secondary_dns |
#last_addr ⇒ String?
Returns The last IPv4 address in the IPv4 addresses block.,This is the To field in the UCS Manager Add IPv4 Blocks menu.
32 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 32 attribute :last_addr |
#name ⇒ String
Returns The name of the IP address pool.,This name can be between 1 and 32 alphanumeric characters.,You cannot use spaces or any special characters other than - (hyphen), “_” (underscore), : (colon), and . (period).,You cannot change this name after the IP address pool is created.
17 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 17 attribute :name |
#order ⇒ :default, ...
Returns The Assignment Order field.,This can be one of the following:,default - Cisco UCS Manager selects a random identity from the pool.,sequential - Cisco UCS Manager selects the lowest available identity from the pool.
24 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 24 attribute :order |
#org_dn ⇒ String?
Returns Org dn (distinguished name).
76 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 76 attribute :org_dn |
#primary_dns ⇒ String?
Returns The primary DNS server that this block of IPv4 addresses should access.
44 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 44 attribute :primary_dns |
#secondary_dns ⇒ String?
Returns The secondary DNS server that this block of IPv4 addresses should access.
48 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 48 attribute :secondary_dns |
#state ⇒ :present, ...
Returns If C(present), will verify IP pool is present and will create if needed.,If C(absent), will verify IP pool is absent and will delete if needed.
13 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 13 attribute :state |
#subnet_mask ⇒ String?
Returns The subnet mask associated with the IPv4 addresses in the block.
36 |
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ip_pool.rb', line 36 attribute :subnet_mask |