mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: fix unit test LibvirtReplugNicCommandWrapperTest (#7908)
This commit is contained in:
parent
47b6f0fd05
commit
c683de4a55
@ -236,6 +236,8 @@ public class LibvirtReplugNicCommandWrapperTest {
|
||||
bridgeVifDriver.configure(params);
|
||||
ovsVifDriver.configure(params);
|
||||
}
|
||||
|
||||
LibvirtVMDef.setGlobalLibvirtVersion(6400000L);
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -246,6 +248,10 @@ public class LibvirtReplugNicCommandWrapperTest {
|
||||
+ "<target dev='vnet10'/>\n"
|
||||
+ "<mac address='02:00:7c:98:00:02'/>\n"
|
||||
+ "<model type='virtio'/>\n"
|
||||
+ "<bandwidth>\n"
|
||||
+ "<inbound average='25600' peak='25600'/>\n"
|
||||
+ "<outbound average='25600' peak='25600'/>\n"
|
||||
+ "</bandwidth>\n"
|
||||
+ "<link state='up'/>\n"
|
||||
+ "</interface>\n";
|
||||
final String expectedAttachXml =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user