Class: Ansible::Ruby::Modules::Ops_facts

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#configBoolean?

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.

Returns:

  • (Boolean, nil)

    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

#endpointsArray<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).

Returns:

  • (Array<String>, String, nil)

    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