mirror of https://github.com/apache/cloudstack.git
PVLAN: Fix KVM ovs driver cannot get vlan id issue
This commit is contained in:
parent
3c3d67769b
commit
70da1b3be3
|
|
@ -76,6 +76,8 @@ public class OvsVifDriver extends VifDriverBase {
|
|||
}
|
||||
else if (nic.getBroadcastType() == Networks.BroadcastDomainType.Lswitch) {
|
||||
logicalSwitchUuid = nic.getBroadcastUri().getSchemeSpecificPart();
|
||||
} else if (nic.getBroadcastType() == Networks.BroadcastDomainType.Pvlan) {
|
||||
vlanId = NetUtils.getPrimaryPvlanFromUri(nic.getBroadcastUri());
|
||||
}
|
||||
String trafficLabel = nic.getName();
|
||||
if (nic.getType() == Networks.TrafficType.Guest) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue