Class: Ansible::Ruby::Modules::Cli_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cli_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/cli/cli_config.rb
Overview
This module provides platform agnostic way of pushing text based configuration to network devices over network_cli connection plugin.
Instance Method Summary collapse
-
#commit ⇒ Symbol?
The C(commit) argument instructs the module to push the configuration to the device.
-
#commit_comment ⇒ String?
The C(commit_comment) argument specifies a text string to be used when committing the configuration.
-
#config ⇒ String?
The config to be pushed to the network device.
-
#defaults ⇒ :yes, ...
The I(defaults) argument will influence how the running-config is collected from the device.
-
#diff_ignore_lines ⇒ Object?
Use this argument to specify one or more lines that should be ignored during the diff.
-
#diff_match ⇒ :line, ...
Instructs the module on the way to perform the matching of the set of commands against the current device config.
-
#diff_replace ⇒ :line, ...
Instructs the module on the way to perform the configuration on the device.
-
#multiline_delimiter ⇒ String?
This argument is used when pushing a multiline configuration element to the device.
-
#replace ⇒ String?
If the C(replace) argument is set to C(yes), it will replace the entire running-config of the device with the C(config) argument value.
-
#rollback ⇒ Object?
The C(rollback) argument instructs the module to rollback the current configuration to the identifier specified in the argument.
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
#commit ⇒ Symbol?
16 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 16 attribute :commit |
#commit_comment ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 27 attribute :commit_comment |
#config ⇒ String?
12 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 12 attribute :config |
#defaults ⇒ :yes, ...
31 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 31 attribute :defaults |
#diff_ignore_lines ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 47 attribute :diff_ignore_lines |
#diff_match ⇒ :line, ...
43 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 43 attribute :diff_match |
#diff_replace ⇒ :line, ...
39 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 39 attribute :diff_replace |
#multiline_delimiter ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 35 attribute :multiline_delimiter |
#replace ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 20 attribute :replace |
#rollback ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/network/cli/cli_config.rb', line 24 attribute :rollback |