Class: Ansible::Ruby::Modules::Iosxr_command
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Iosxr_command
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb
Overview
Sends arbitrary commands to an IOSXR node and returns the results read from the device. The M(iosxr_command) module includes an argument that will cause the module to wait for a specific condition before returning or timing out if the condition is not met.
Instance Method Summary collapse
-
#commands ⇒ Array<String>, String
List of commands to send to the remote ios device over the configured provider.
-
#interval ⇒ Integer?
Configures the interval in seconds to wait between retries of the command.
-
#retries ⇒ Integer?
Specifies the number of retries a command should by tried before it is considered failed.
-
#waitfor ⇒ Array<String>, ...
List of conditions to evaluate against the output of the command.
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
#commands ⇒ Array<String>, String
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb', line 11 attribute :commands |
#interval ⇒ Integer?
23 |
# File 'lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb', line 23 attribute :interval |
#retries ⇒ Integer?
19 |
# File 'lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb', line 19 attribute :retries |
#waitfor ⇒ Array<String>, ...
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/iosxr/iosxr_command.rb', line 15 attribute :waitfor |