mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6464: if guest network type is vlan://untagged, and traffic label is used, kvm agent needs to honor traffic label
This commit is contained in:
parent
5e80e5d33d
commit
dfb59cd6cc
|
|
@ -112,7 +112,13 @@ public class BridgeVifDriver extends VifDriverBase {
|
|||
intf.defBridgeNet(brName, null, nic.getMac(), getGuestNicModel(guestOsType), networkRateKBps);
|
||||
}
|
||||
} else {
|
||||
intf.defBridgeNet(_bridges.get("guest"), null, nic.getMac(), getGuestNicModel(guestOsType), networkRateKBps);
|
||||
String brname = "";
|
||||
if (trafficLabel != null && !trafficLabel.isEmpty()) {
|
||||
brname = trafficLabel;
|
||||
} else {
|
||||
brname = _bridges.get("guest");
|
||||
}
|
||||
intf.defBridgeNet(brname, null, nic.getMac(), getGuestNicModel(guestOsType), networkRateKBps);
|
||||
}
|
||||
} else if (nic.getType() == Networks.TrafficType.Control) {
|
||||
/* Make sure the network is still there */
|
||||
|
|
|
|||
Loading…
Reference in New Issue