Class: Ansible::Ruby::Modules::Nxos_system

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#domain_lookupObject?

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.

Returns:

  • (Object, nil)

    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_nameString?

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.

Returns:

  • (String, nil)

    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_searchObject?

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.

Returns:

  • (Object, nil)

    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

#hostnameString?

Returns Configure the device hostname parameter. This option takes an ASCII string value or keyword ‘default’.

Returns:

  • (String, nil)

    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_serversArray<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.

Returns:

  • (Array<String>, String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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_mtuObject?

Returns Specifies the mtu, must be an integer or keyword ‘default’.

Returns:

  • (Object, nil)

    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