Class: Ansible::Ruby::Modules::Ordnance_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ordnance_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb
Overview
Ordnance router configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with these 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.
-
#config ⇒ Object?
The C(config) argument allows the playbook designer to supply the base configuration to be used to validate configuration changes necessary.
-
#defaults ⇒ :yes, ...
This argument specifies whether or not to collect all defaults when getting the remote device running config.
-
#lines ⇒ Object?
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.
-
#multiline_delimiter ⇒ String?
This argument is used when pushing a multiline configuration element to the Ordnance router.
-
#parents ⇒ Object?
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.
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?
24 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 24 attribute :after |
#backup ⇒ :yes, ...
39 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 39 attribute :backup |
#before ⇒ Object?
21 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 21 attribute :before |
#config ⇒ Object?
43 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 43 attribute :config |
#defaults ⇒ :yes, ...
46 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 46 attribute :defaults |
#lines ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 12 attribute :lines |
#match ⇒ :line, ...
27 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 27 attribute :match |
#multiline_delimiter ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 35 attribute :multiline_delimiter |
#parents ⇒ Object?
15 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 15 attribute :parents |
#replace ⇒ :line, ...
31 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 31 attribute :replace |
#save ⇒ :yes, ...
50 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 50 attribute :save |
#src ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/network/ordnance/ordnance_config.rb', line 18 attribute :src |