Class: Ansible::Ruby::Modules::Ops_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ops_facts
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/openswitch/ops_facts.rb
Overview
This module collects additional device fact information from a remote device running OpenSwitch using either the CLI or REST interfaces. It provides optional arguments for collecting fact information.
Instance Method Summary collapse
-
#config ⇒ Boolean?
When enabled, this argument will collect the current running configuration from the remote device.
-
#endpoints ⇒ Array<String>, ...
Accepts a list of endpoints to retrieve from the remote device using the REST API.
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
#config ⇒ Boolean?
Returns When enabled, this argument will collect the current running configuration from the remote device. If the transport is C(rest) then the collected configuration will be the full system configuration.
11 |
# File 'lib/ansible/ruby/modules/generated/core/network/openswitch/ops_facts.rb', line 11 attribute :config |
#endpoints ⇒ Array<String>, ...
Returns Accepts a list of endpoints to retrieve from the remote device using the REST API. The endpoints should be valid endpoints availble on the device. This argument is only valid when the transport is C(rest).
15 |
# File 'lib/ansible/ruby/modules/generated/core/network/openswitch/ops_facts.rb', line 15 attribute :endpoints |