Class: Ansible::Ruby::Modules::Iosxr_system
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iosxr_system
- Defined in:
- lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb
Overview
This module provides declarative management of node system attributes on Cisco IOS XR devices. It provides an option to configure host system parameters or remove those parameters from the device active configuration.
Instance Method Summary collapse
-
#domain_name ⇒ String?
Configure the IP domain name on the remote device to the provided value.
-
#domain_search ⇒ Object?
Provides the list of domain suffixes to append to the hostname for the purpose of doing name resolution.
-
#hostname ⇒ String?
Configure the device hostname parameter.
-
#lookup_enabled ⇒ Symbol?
Provides administrative control for enabling or disabling DNS lookups.
-
#lookup_source ⇒ String?
The C(lookup_source) argument provides one or more source interfaces to use for performing DNS lookups.
-
#name_servers ⇒ Array<String>, ...
The C(name_serves) argument accepts a list of DNS name servers by way of either FQDN or IP address to use to perform name resolution lookups.
-
#state ⇒ :present, ...
State of the configuration values in the device’s current active configuration.
-
#vrf ⇒ String?
VRF name for domain services.
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_name ⇒ String?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 20 attribute :domain_name |
#domain_search ⇒ Object?
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.
24 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 24 attribute :domain_search |
#hostname ⇒ String?
Returns Configure the device hostname parameter. This option takes an ASCII string value.
12 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 12 attribute :hostname |
#lookup_enabled ⇒ Symbol?
Returns Provides 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.
31 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 31 attribute :lookup_enabled |
#lookup_source ⇒ String?
Returns The C(lookup_source) argument 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.
27 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 27 attribute :lookup_source |
#name_servers ⇒ Array<String>, ...
Returns The C(name_serves) argument accepts a list of DNS name servers by way of either FQDN or IP address to use to perform name resolution lookups. This argument accepts wither a list of DNS servers See examples.
35 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 35 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.
39 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 39 attribute :state |
#vrf ⇒ String?
Returns VRF name for domain services.
16 |
# File 'lib/ansible/ruby/modules/generated/network/iosxr/iosxr_system.rb', line 16 attribute :vrf |