Class: Ansible::Ruby::Modules::Ios_system

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/ios/ios_system.rb

Overview

This module provides declarative management of node system attributes on Cisco IOS 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_nameString?

Returns Configure the IP domain name on the remote device to the provided value. Value should be in the dotted name form and will be appended to the C(hostname) to create a fully-qualified domain name.

Returns:

  • (String, nil)

    Configure the IP domain name on the remote device to the provided value. Value should be in the dotted name form and will be appended to the C(hostname) to create a fully-qualified domain name.



16
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 16

attribute :domain_name

#domain_searchArray<String>, ...

Returns Provides the list of domain suffixes to append to the hostname for the purpose of doing name resolution. This argument accepts a list of names and will be reconciled with the current active configuration on the running node.

Returns:

  • (Array<String>, String, nil)

    Provides the list of domain suffixes to append to the hostname for the purpose of doing name resolution. This argument accepts a list of names and will be reconciled with the current active configuration on the running node.



20
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 20

attribute :domain_search

#hostnameString?

Returns Configure the device hostname parameter. This option takes an ASCII string value.

Returns:

  • (String, nil)

    Configure the device hostname parameter. This option takes an ASCII string value.



12
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 12

attribute :hostname

#lookup_enabledSymbol?

Returns Administrative control for enabling or disabling DNS lookups. When this argument is set to True, lookups are performed and when it is set to False, lookups are not performed.

Returns:

  • (Symbol, nil)

    Administrative control for enabling or disabling DNS lookups. When this argument is set to True, lookups are performed and when it is set to False, lookups are not performed.



28
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 28

attribute :lookup_enabled

#lookup_sourceString?

Returns Provides one or more source interfaces to use for performing DNS lookups. The interface provided in C(lookup_source) must be a valid interface configured on the device.

Returns:

  • (String, nil)

    Provides one or more source interfaces to use for performing DNS lookups. The interface provided in C(lookup_source) must be a valid interface configured on the device.



24
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 24

attribute :lookup_source

#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 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 See examples.



32
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 32

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



36
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_system.rb', line 36

attribute :state