Class: Ansible::Ruby::Modules::Ios_ping

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/ios/ios_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, fix_inclusion, #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.



15
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 15

attribute :count

#destString

Returns The IP Address or hostname (resolvable by switch) of the remote node.

Returns:

  • (String)

    The IP Address or hostname (resolvable by switch) of the remote node.



19
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 19

attribute :dest

#sourceString?

Returns The source IP Address.

Returns:

  • (String, nil)

    The source IP Address.



23
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_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.



27
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 27

attribute :state

#vrfString?

Returns The VRF to use for forwarding.

Returns:

  • (String, nil)

    The VRF to use for forwarding.



31
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 31

attribute :vrf