Skip to content

Commit cd54e49

Browse files
committed
networking: Add primaryUDN VM LM test w/ preconfigured addr.
Validates that KubeVirt VMs with preconfigured MAC and IP addresses maintain those addresses correctly before and after live migration operation. Signed-off-by: Ram Lavi <[email protected]>
1 parent 6bc9d9c commit cd54e49

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/extended/networking/livemigration.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,21 @@ var _ = Describe("[sig-network][OCPFeatureGate:PersistentIPsForVirtualization][F
297297
preconfiguredMAC: "02:0A:0B:0C:0D:50",
298298
},
299299
),
300+
Entry(
301+
"[OCPFeatureGate:PreconfiguredUDNAddresses] when the VM with preconfigured IP and MAC attached to a primary UDN is migrated between nodes",
302+
networkAttachmentConfigParams{
303+
name: nadName,
304+
topology: "layer2",
305+
role: "primary",
306+
allowPersistentIPs: true,
307+
},
308+
kubevirt.FedoraVMWithPreconfiguredPrimaryUDNAttachment,
309+
migrateVM,
310+
workloadNetworkConfig{
311+
preconfiguredIPs: []string{"203.203.0.51", "2014:100:200::51"},
312+
preconfiguredMAC: "02:0A:0B:0C:0D:51",
313+
},
314+
),
300315
)
301316
},
302317
Entry("NetworkAttachmentDefinitions", func(c networkAttachmentConfigParams) networkAttachmentConfig {

0 commit comments

Comments
 (0)