Class: Ansible::Ruby::Modules::Cl_img_install
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cl_img_install
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/cumulus/cl_img_install.rb
Instance Method Summary collapse
-
#src ⇒ Object
Full path to the Cumulus Linux binary image.
-
#switch_slot ⇒ :yes, ...
Switch slots after installing the image.
-
#version ⇒ Object?
Inform the module of the exact version one is installing.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#src ⇒ Object
Returns full path to the Cumulus Linux binary image. Can be a local path, http or https URL. If the code version is in the name of the file, the module will assume this is the version of code you wish to install.
10 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_img_install.rb', line 10 attribute :src |
#switch_slot ⇒ :yes, ...
Returns Switch slots after installing the image. To run the installed code, reboot the switch.
17 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_img_install.rb', line 17 attribute :switch_slot |
#version ⇒ Object?
Returns inform the module of the exact version one is installing. This overrides the automatic check of version in the file name. For example, if the binary file name is called CumulusLinux-2.2.3.bin, and version is set to ‘2.5.0’, then the module will assume it is installing ‘2.5.0’ not ‘2.2.3’. If version is not included, then the module will assume ‘2.2.3’ is the version to install.
14 |
# File 'lib/ansible/ruby/modules/generated/core/network/cumulus/cl_img_install.rb', line 14 attribute :version |