Class: Ansible::Ruby::Modules::Dellos6_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Dellos6_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb
Overview
OS6 configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with OS6 configuration sections in a deterministic way.
Instance Method Summary collapse
-
#after ⇒ Object?
The ordered set of commands to append to the end of the command stack if a change needs to be made.
-
#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.
-
#before ⇒ Array<String>, ...
The ordered set of commands to push on to the command stack if a change needs to be made.
-
#config ⇒ Object?
The module, by default, will connect to the remote device and retrieve the current running-config to use as a base for comparing against the contents of source.
-
#lines ⇒ Array<String>, ...
The ordered set of commands that should be configured in the section.
-
#match ⇒ :line, ...
Instructs the module on the way to perform the matching of the set of commands against the current device config.
-
#parents ⇒ Array<String>, ...
The ordered set of parents that uniquely identify the section or hierarchy the commands should be checked against.
-
#replace ⇒ :line, ...
Instructs the module on the way to perform the configuration on the device.
-
#save ⇒ :yes, ...
The C(save) argument instructs the module to save the running- config to the startup-config at the conclusion of the module running.
-
#src ⇒ Object?
Specifies the source path to the file that contains the configuration or configuration template to load.
-
#update ⇒ :merge, ...
The I(update) argument controls how the configuration statements are processed on the remote device.
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
#after ⇒ Object?
27 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 27 attribute :after |
#backup ⇒ :yes, ...
49 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 49 attribute :backup |
#before ⇒ Array<String>, ...
23 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 23 attribute :before |
#config ⇒ Object?
46 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 46 attribute :config |
#lines ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 12 attribute :lines |
#match ⇒ :line, ...
30 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 30 attribute :match |
#parents ⇒ Array<String>, ...
16 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 16 attribute :parents |
#replace ⇒ :line, ...
34 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 34 attribute :replace |
#save ⇒ :yes, ...
42 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 42 attribute :save |
#src ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 20 attribute :src |
#update ⇒ :merge, ...
38 |
# File 'lib/ansible/ruby/modules/generated/network/dellos6/dellos6_config.rb', line 38 attribute :update |