Commit Graph

5 Commits

Author SHA1 Message Date
Yevhen Vydolob 05d6cec095 Disable ping tests on CI
As Azure and by extension Github Actions are not allowing to ping external domains,
we need to disable the ping tests for now.

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2026-04-16 15:59:15 +02:00
Yevhen Vydolob 35b65b6b66 feat: implement getExpectedReplyIdent for ICMP echo identifier handling
- Added getExpectedReplyIdent function to handle ICMP echo identifier validation for Linux and Windows.
- Updated handlePingRequest to use the new function for validating echo replies.
- Add ping tests for qemu test suite

Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
2026-04-16 15:59:11 +02:00
Christophe Fergeau 976f29d2d4 Add go API for /services/dhcp/leases
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2025-09-24 16:46:33 +02:00
Christophe Fergeau bc938b8551 gvproxy: command: Add AddServiceEndpoint
This adds GvproxyCommand.AddServiceEndpoint() for the newly added
--services argument. This API is a helper for users of gvproxy to have a
more convenient way to generate its command line.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2025-01-30 17:17:47 +01:00
Luca Stocchi b525dc8c69 test: move test utils files to the test-utils folder
Tests that are currently on the main branch only runs against a qemu VM. We have other use cases that needs to be tested like running against a vfkit VM.
This commit reorganizes the tests code a bit by moving the files that can be shared to support different implementation in their own folder.
The reasoning behind this is that every hypervisor should have its own beforeSuite func to download/run a specific VM image. By moving the utils files we can reuse the same code.

For the same reason the code targeting qemu is moved to the test-qemu folder. By doing so, we can run the tests within the test-qemu folder on the ubuntu workflow and, in future, when the nested virt will be enabled on github runners, the vfkit tests on macOS.

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
2025-01-09 15:56:54 +01:00