Avatar for the aristanetworks user
aristanetworks
anta
BlogDocsChangelog

feat(anta)!: Use HTTP HEAD request instead of a TCP connection to check if device is online

#851
Comparing
dlobato:check-connection-with-head
(
b2b46e7
) with
main
(
8ac4477
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_anta_dry_run[2-devices]
tests/benchmark/test_anta.py::test_anta_dry_run[2-devices]
CodSpeed Performance Gauge
0%
110.4 ms
110.2 ms
test_anta[2-devices]
tests/benchmark/test_anta.py::test_anta[2-devices]
CodSpeed Performance Gauge
0%
2.1 s
2.1 s
test_anta[1-device]
tests/benchmark/test_anta.py::test_anta[1-device]
CodSpeed Performance Gauge
0%
1 s
1 s
test_anta_dry_run[1-device]
tests/benchmark/test_anta.py::test_anta_dry_run[1-device]
CodSpeed Performance Gauge
0%
62 ms
62.1 ms
test_get_coroutines[1-device]
tests/benchmark/test_runner.py::test_get_coroutines[1-device]
CodSpeed Performance Gauge
0%
48.1 ms
48.2 ms
test_prepare_tests[2-devices]
tests/benchmark/test_runner.py::test_prepare_tests[2-devices]
CodSpeed Performance Gauge
0%
12.3 ms
12.3 ms
test_prepare_tests[1-device]
tests/benchmark/test_runner.py::test_prepare_tests[1-device]
CodSpeed Performance Gauge
0%
12.2 ms
12.3 ms
test_get_coroutines[2-devices]
tests/benchmark/test_runner.py::test_get_coroutines[2-devices]
CodSpeed Performance Gauge
-1%
94.7 ms
95.2 ms

Commits

Click on a commit to change the comparison range
Base
main
8ac4477
0%
feat(anta): Use http head request to check_connection * HEAD request to /command-api url * Handle HTTPStatus error in refresh, log error message * Update unit tests
0235699
3 months ago
by dlobato
0%
Merge remote-tracking branch 'origin/main' into check-connection-with-head # Conflicts: # asynceapi/aio_portcheck.py # asynceapi/device.py
b2b46e7
2 months ago
by dlobato
Home Terms PrivacyDocs