Class: Ansible::Ruby::Modules::Nxos_ping

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb

Overview

Tests reachability using ping from switch to a remote destination. For a general purpose network module, see the M(net_ping) module. For Windows targets, use the M(win_ping) module instead. For targets running Python, use the M(ping) module instead.

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

#countInteger?

Returns Number of packets to send.

Returns:

  • (Integer, nil)

    Number of packets to send.



19
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb', line 19

attribute :count

#destString

Returns IP address or hostname (resolvable by switch) of remote node.

Returns:

  • (String)

    IP address or hostname (resolvable by switch) of remote node.



15
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb', line 15

attribute :dest

#sourceObject?

Returns Source IP Address or hostname (resolvable by switch).

Returns:

  • (Object, nil)

    Source IP Address or hostname (resolvable by switch)



23
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb', line 23

attribute :source

#state:absent, ...

Returns Determines if the expected result is success or fail.

Returns:

  • (:absent, :present, nil)

    Determines if the expected result is success or fail.



30
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb', line 30

attribute :state

#vrfString?

Returns Outgoing VRF.

Returns:

  • (String, nil)

    Outgoing VRF.



26
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ping.rb', line 26

attribute :vrf