Class: Ansible::Ruby::Modules::Nxos_system
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_system
- Defined in:
- lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb
Overview
This module provides declarative management of node system attributes on Cisco NXOS devices. It provides an option to configure host system parameters or remove those parameters from the device active configuration.
Instance Method Summary collapse
-
#domain_lookup ⇒ Object?
Enables or disables the DNS lookup feature in Cisco NXOS.
-
#domain_name ⇒ String?
Configures the default domain name suffix to be used when referencing this node by its FQDN.
-
#domain_search ⇒ Object?
Configures a list of domain name suffixes to search when performing DNS name resolution.
-
#hostname ⇒ String?
Configure the device hostname parameter.
-
#name_servers ⇒ Array<String>, ...
List of DNS name servers by IP address to use to perform name resolution lookups.
-
#state ⇒ :present, ...
State of the configuration values in the device’s current active configuration.
-
#system_mtu ⇒ Object?
Specifies the mtu, must be an integer or keyword ‘default’.
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
#domain_lookup ⇒ Object?
Returns Enables or disables the DNS lookup feature in Cisco NXOS. This argument accepts boolean values. When enabled, the system will try to resolve hostnames using DNS and when disabled, hostnames will not be resolved.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 20 attribute :domain_lookup |
#domain_name ⇒ String?
Returns Configures the default domain name suffix to be used when referencing this node by its FQDN. This argument accepts either a list of domain names or a list of dicts that configure the domain name and VRF name or keyword ‘default’. See examples.
16 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 16 attribute :domain_name |
#domain_search ⇒ Object?
Returns Configures a list of domain name suffixes to search when performing DNS name resolution. This argument accepts either a list of domain names or a list of dicts that configure the domain name and VRF name or keyword ‘default’. See examples.
23 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 23 attribute :domain_search |
#hostname ⇒ String?
Returns Configure the device hostname parameter. This option takes an ASCII string value or keyword ‘default’.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 12 attribute :hostname |
#name_servers ⇒ Array<String>, ...
Returns List of DNS name servers by IP address to use to perform name resolution lookups. This argument accepts either a list of DNS servers or a list of hashes that configure the name server and VRF name or keyword ‘default’. See examples.
26 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 26 attribute :name_servers |
#state ⇒ :present, ...
Returns State of the configuration values in the device’s current active configuration. When set to I(present), the values should be configured in the device active configuration and when set to I(absent) the values should not be in the device active configuration.
33 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 33 attribute :state |
#system_mtu ⇒ Object?
Returns Specifies the mtu, must be an integer or keyword ‘default’.
30 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_system.rb', line 30 attribute :system_mtu |