Class: Ansible::Ruby::Modules::Ironware_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ironware_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb
Overview
Extreme Ironware configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with Ironware 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 ⇒ Object?
The ordered set of commands to push on to the command stack if a change needs to be made.
-
#commit ⇒ :merge, ...
This argument specifies the update method to use when applying the configuration changes to the remote node.
-
#config ⇒ Object?
The C(config) argument allows the playbook designer to supply the base configuration to be used to validate configuration changes necessary.
-
#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 the commands should be checked against.
-
#replace ⇒ :line, ...
Instructs the module on the way to perform the configuration on the device.
-
#save_when ⇒ :always, ...
When changes are made to the device running-configuration, the changes are not copied to non-volatile storage by default.
-
#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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#after ⇒ Object?
26 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 26 attribute :after |
#backup ⇒ :yes, ...
45 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 45 attribute :backup |
#before ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 23 attribute :before |
#commit ⇒ :merge, ...
41 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 41 attribute :commit |
#config ⇒ Object?
49 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 49 attribute :config |
#lines ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 12 attribute :lines |
#match ⇒ :line, ...
29 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 29 attribute :match |
#parents ⇒ Array<String>, ...
16 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 16 attribute :parents |
#replace ⇒ :line, ...
33 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 33 attribute :replace |
#save_when ⇒ :always, ...
52 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 52 attribute :save_when |
#src ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 20 attribute :src |
#update ⇒ :merge, ...
37 |
# File 'lib/ansible/ruby/modules/generated/network/ironware/ironware_config.rb', line 37 attribute :update |