diff --git a/test/nxos/mocked_data/test_ping/ping_timed_out/expected_result.json b/test/nxos/mocked_data/test_ping/ping_timed_out/expected_result.json new file mode 100644 index 000000000..678229e0e --- /dev/null +++ b/test/nxos/mocked_data/test_ping/ping_timed_out/expected_result.json @@ -0,0 +1,11 @@ +{ + "success": { + "rtt_stddev": 0.0, + "rtt_min": 0.0, + "results": [], + "rtt_max": 0.0, + "packet_loss": 5, + "rtt_avg": 0.0, + "probes_sent": 5 + } +} diff --git a/test/nxos/mocked_data/test_ping/ping_timed_out/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json b/test/nxos/mocked_data/test_ping/ping_timed_out/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json new file mode 100644 index 000000000..3adc08678 --- /dev/null +++ b/test/nxos/mocked_data/test_ping/ping_timed_out/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json @@ -0,0 +1,9 @@ +PING 8.8.8.8 (8.8.8.8): 100 data bytes +Request 0 timed out +Request 1 timed out +Request 2 timed out +Request 3 timed out +Request 4 timed out + +--- 8.8.8.8 ping statistics --- +5 packets transmitted, 0 packets received, 100.00% packet loss diff --git a/test/nxos/mocked_data/test_ping/ping_unreachable/expected_result.json b/test/nxos/mocked_data/test_ping/ping_unreachable/expected_result.json new file mode 100644 index 000000000..678229e0e --- /dev/null +++ b/test/nxos/mocked_data/test_ping/ping_unreachable/expected_result.json @@ -0,0 +1,11 @@ +{ + "success": { + "rtt_stddev": 0.0, + "rtt_min": 0.0, + "results": [], + "rtt_max": 0.0, + "packet_loss": 5, + "rtt_avg": 0.0, + "probes_sent": 5 + } +} diff --git a/test/nxos/mocked_data/test_ping/ping_unreachable/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json b/test/nxos/mocked_data/test_ping/ping_unreachable/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json new file mode 100644 index 000000000..360a8bc3f --- /dev/null +++ b/test/nxos/mocked_data/test_ping/ping_unreachable/ping_8.8.8.8_timeout_2_packet-size_100_count_5.json @@ -0,0 +1,16 @@ +5 packets transmitted, 0 packets received, 100.00% packet loss + +PING 8.8.8.8 (8.8.8.8): 100 data bytes +36 bytes from 10.150.102.3: Destination Host Unreachable +Request 0 timed out +36 bytes from 10.150.102.3: Destination Host Unreachable +Request 1 timed out +36 bytes from 10.150.102.3: Destination Host Unreachable +Request 2 timed out +36 bytes from 10.150.102.3: Destination Host Unreachable +Request 3 timed out +36 bytes from 10.150.102.3: Destination Host Unreachable +Request 4 timed out + +--- 8.8.8.8 ping statistics --- +5 packets transmitted, 0 packets received, 100.00% packet loss