Class: Ansible::Ruby::Modules::Ce_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb
Overview
Huawei CloudEngine configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with CloudEngine configuration sections in a deterministic way. This module works with CLI transports.
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 ⇒ String?
This argument will cause the module to create a full backup of the current C(current-configuration) 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 module, by default, will connect to the remote device and retrieve the current current-configuration to use as a base for comparing against the contents of source.
-
#defaults ⇒ String?
The I(defaults) argument will influence how the current-configuration is collected from the device.
-
#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.
-
#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 ⇒ String?
The C(save) argument instructs the module to save the current-configuration to saved-configuration.
-
#src ⇒ Object?
The I(src) argument provides a path to the configuration file to load into the remote system.
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/cloudengine/ce_config.rb', line 24 attribute :after |
#backup ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 35 attribute :backup |
#before ⇒ Object?
21 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 21 attribute :before |
#config ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 39 attribute :config |
#defaults ⇒ String?
42 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 42 attribute :defaults |
#lines ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 12 attribute :lines |
#match ⇒ :line, ...
27 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 27 attribute :match |
#parents ⇒ Object?
15 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 15 attribute :parents |
#replace ⇒ :line, ...
31 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 31 attribute :replace |
#save ⇒ String?
46 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 46 attribute :save |
#src ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_config.rb', line 18 attribute :src |