mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
revert the change made by commit: a600d840
This commit is contained in:
parent
a49bb7e8e3
commit
e1095b0110
@ -101,10 +101,6 @@ public class BridgeVifDriver extends VifDriverBase {
|
||||
} else if (nic.getBroadcastType() == Networks.BroadcastDomainType.Lswitch) {
|
||||
throw new InternalErrorException("Nicira NVP Logicalswitches are not supported by the BridgeVifDriver");
|
||||
}
|
||||
if ((vNetId == null)||(protocol == null))
|
||||
{
|
||||
throw new InternalErrorException("plug: protocol or vNetId value is null");
|
||||
}
|
||||
String trafficLabel = nic.getName();
|
||||
if (nic.getType() == Networks.TrafficType.Guest) {
|
||||
Integer networkRateKBps = (nic.getNetworkRateMbps() != null && nic.getNetworkRateMbps().intValue() != -1) ? nic.getNetworkRateMbps().intValue() * 128 : 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user