Re: [pve-devel] [PATCH pve-network 8/8] test(vnets): add test_vnets_blackbox

2024-03-18 Thread Max Carrara
On Mon Mar 18, 2024 at 3:14 PM CET, Stefan Lendl wrote: > "Max Carrara" writes: > > > On Wed Jan 3, 2024 at 4:37 PM CET, Stefan Lendl wrote: > >> Add several tests for Vnets. State setup as well as testing results is > >> done only via the API to test on the API boundaries not not against the > >>

Re: [pve-devel] [PATCH pve-network 8/8] test(vnets): add test_vnets_blackbox

2024-03-18 Thread Stefan Lendl
"Max Carrara" writes: > On Wed Jan 3, 2024 at 4:37 PM CET, Stefan Lendl wrote: >> Add several tests for Vnets. State setup as well as testing results is >> done only via the API to test on the API boundaries not not against the >> internal state. Internal state is mocked to avoid requiring access

Re: [pve-devel] [PATCH pve-network 8/8] test(vnets): add test_vnets_blackbox

2024-03-18 Thread Max Carrara
On Wed Jan 3, 2024 at 4:37 PM CET, Stefan Lendl wrote: > Add several tests for Vnets. State setup as well as testing results is > done only via the API to test on the API boundaries not not against the > internal state. Internal state is mocked to avoid requiring access to > system files or pmxcfs.

[pve-devel] [PATCH pve-network 8/8] test(vnets): add test_vnets_blackbox

2024-01-03 Thread Stefan Lendl
Add several tests for Vnets. State setup as well as testing results is done only via the API to test on the API boundaries not not against the internal state. Internal state is mocked to avoid requiring access to system files or pmxcfs. Mocking is done by reading and writing to a hash that holds t