Class: Ansible::Ruby::Modules::Junos_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_config.rb
Overview
This module provides an implementation for working with the active configuration running on Juniper JUNOS devices. It provides a set of arguments for loading configuration, performing rollback operations and zeroing the active configuration on the device.
Instance Method Summary collapse
-
#backup ⇒ :yes, ...
This argument will cause the module to create a full backup of the current C(running-config) from the remote device before any changes are made.
-
#comment ⇒ String?
The C(comment) argument specifies a text string to be used when committing the configuration.
-
#confirm ⇒ Integer?
The C(confirm) argument will configure a time out value in minutes for the commit to be confirmed before it is automatically rolled back.
-
#confirm_commit ⇒ :yes, ...
This argument will execute commit operation on remote device.
-
#lines ⇒ Array<String>, ...
This argument takes a list of C(set) or C(delete) configuration lines to push into the remote device.
-
#replace ⇒ :yes, ...
The C(replace) argument will instruct the remote device to replace the current configuration hierarchy with the one specified in the corresponding hierarchy of the source configuration loaded from this module.,Note this argument should be considered deprecated.
-
#rollback ⇒ Integer?
The C(rollback) argument instructs the module to rollback the current configuration to the identifier specified in the argument.
-
#src ⇒ String?
The I(src) argument provides a path to the configuration file to load into the remote system.
-
#src_format ⇒ :xml, ...
The I(src_format) argument specifies the format of the configuration found int I(src).
-
#update ⇒ :merge, ...
This argument will decide how to load the configuration data particulary when the candidate configuration and loaded configuration contain conflicting statements.
-
#zeroize ⇒ Boolean?
The C(zeroize) argument is used to completely sanitize the remote device configuration back to initial defaults.
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
#backup ⇒ :yes, ...
44 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 44 attribute :backup |
#comment ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 36 attribute :comment |
#confirm ⇒ Integer?
32 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 32 attribute :confirm |
#confirm_commit ⇒ :yes, ...
52 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 52 attribute :confirm_commit |
#lines ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 12 attribute :lines |
#replace ⇒ :yes, ...
40 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 40 attribute :replace |
#rollback ⇒ Integer?
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 24 attribute :rollback |
#src ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 16 attribute :src |
#src_format ⇒ :xml, ...
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 20 attribute :src_format |
#update ⇒ :merge, ...
48 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 48 attribute :update |
#zeroize ⇒ Boolean?
28 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_config.rb', line 28 attribute :zeroize |