VPC : CS-15479, try detroy vlan in unplug vif

This commit is contained in:
anthony 2012-07-09 13:17:59 -07:00
parent 2e545daa9d
commit 39b06a6393
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}