All tests run in the vmtest namespace. NetworkAttachmentDefinitions (NADs) define which bridge networks VMs may use — without NADs, VMs cannot attach secondary network interfaces via NADs. The NADs reference the bridges from PRE-04. Labels for later MetalLB namespace isolation are also set.
1Create namespace
vmtest (skip if already created in PRE-07)2Set labels for
env=testing and MetalLB pool isolation3Variant A (cloud/Hetzner): create NADs for software bridges (
net1-bridge → br-net1, etc.)4Variant B (on-premises, if NICs and switches are configured): create NADs for VLAN bridges (
vlan10-bridge → br-vlan10, etc.)5Create NADs matching the variant chosen in PRE-04 (Commands/YAML tab)
6Verify:
oc get network-attachment-definitions -n vmtest7For physical LAN access with a busy NIC: see TC-NET-002 (OVN-K localnet) — macvtap is not supported