Class: Ansible::Ruby::Modules::Ios_ping
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ios_ping
- 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
-
#count ⇒ Integer?
Number of packets to send.
-
#dest ⇒ String
The IP Address or hostname (resolvable by switch) of the remote node.
-
#source ⇒ String?
The source IP Address.
-
#state ⇒ :absent, ...
Determines if the expected result is success or fail.
-
#vrf ⇒ String?
The VRF to use for forwarding.
Methods inherited from Base
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
#count ⇒ Integer?
Returns Number of packets to send.
15 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 15 attribute :count |
#dest ⇒ String
Returns 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 |
#source ⇒ String?
Returns 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.
27 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 27 attribute :state |
#vrf ⇒ String?
Returns The VRF to use for forwarding.
31 |
# File 'lib/ansible/ruby/modules/generated/network/ios/ios_ping.rb', line 31 attribute :vrf |