Class: Ansible::Ruby::Modules::Junos_system
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_system
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_system.rb
Overview
This module provides declarative management of node system attributes on Juniper JUNOS devices. It provides an option to configure host system parameters or remove those parameters from the device active configuration.
Instance Method Summary collapse
-
#active ⇒ Boolean?
Specifies whether or not the configuration is active or deactivated.
-
#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.
-
#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.
Methods inherited from Base
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
#active ⇒ Boolean?
Returns Specifies whether or not the configuration is active or deactivated.
31 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_system.rb', line 31 attribute :active |
#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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_system.rb', line 16 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.
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_system.rb', line 20 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/junos/junos_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 See examples.
23 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_system.rb', line 23 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.
27 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_system.rb', line 27 attribute :state |