mirror of https://github.com/apache/cloudstack.git
VPC : CS-15479, try detroy vlan in unplug vif
This commit is contained in:
parent
2e545daa9d
commit
39b06a6393
|
|
@ -7209,7 +7209,11 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
|||
String lmac = vif.getMAC(conn);
|
||||
if ( lmac.equals(mac) ) {
|
||||
vif.unplug(conn);
|
||||
Network network = vif.getNetwork(conn);
|
||||
vif.destroy(conn);
|
||||
if (network.getNameLabel(conn).startsWith("VLAN")) {
|
||||
disableVlanNetwork(conn, network);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue