You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/hypervisors/kvm/src/test/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtReplugNicCommandWrapperTest.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,7 @@ public class LibvirtReplugNicCommandWrapperTest {
134
134
privatestaticfinalStringpart_2 =
135
135
" <interface type='bridge'>\n"
136
136
+ " <mac address='02:00:7c:98:00:02'/>\n"
137
+
+ " <filterref filter='no-mac-spoofing'/>\n"
137
138
+ " <source bridge='breth2-234'/>\n"
138
139
+ " <bandwidth>\n"
139
140
+ " <inbound average='25600' peak='25600'/>\n"
@@ -247,6 +248,7 @@ public void testReplugNic() throws LibvirtException {
247
248
+ "<source bridge='breth2-234'/>\n"
248
249
+ "<target dev='vnet10'/>\n"
249
250
+ "<mac address='02:00:7c:98:00:02'/>\n"
251
+
+ "<filterref filter='no-mac-spoofing'/>\n"
250
252
+ "<model type='virtio'/>\n"
251
253
+ "<bandwidth>\n"
252
254
+ "<inbound average='25600' peak='25600'/>\n"
@@ -259,6 +261,7 @@ public void testReplugNic() throws LibvirtException {
259
261
+ "<source bridge='eth0'/>\n"
260
262
+ "<target dev='vnet10'/>\n"
261
263
+ "<mac address='02:00:7c:98:00:02'/>\n"
264
+
+ "<filterref filter='no-mac-spoofing'/>\n"
262
265
+ "<model type='virtio'/>\n"
263
266
+ "<virtualport type='openvswitch'>\n"
264
267
+ "</virtualport>\n"
@@ -273,6 +276,7 @@ public void testReplugNic() throws LibvirtException {
0 commit comments