mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6505: XenServer bridge for the OVS tunnel network gets reset
on the hosts in the xenserver cluster this fix ensures that brige is created only once so that openflow rules configured on the bridge are not lost.
This commit is contained in:
parent
771abe4286
commit
8e4391bff3
@ -936,14 +936,13 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
||||
synchronized (_tmpDom0Vif) {
|
||||
_tmpDom0Vif.add(dom0vif);
|
||||
}
|
||||
try {
|
||||
dom0vif.plug(conn);
|
||||
} catch (Exception e) {
|
||||
// though an exception is thrown here, VIF actually gets plugged-in to dom0, so just ignore the exception
|
||||
}
|
||||
dom0vif.unplug(conn);
|
||||
}
|
||||
// At this stage we surely have a VIF
|
||||
try {
|
||||
dom0vif.plug(conn);
|
||||
} catch (Exception e) {
|
||||
// though an exception is thrown here, VIF actually gets plugged-in to dom0, so just ignore the exception
|
||||
}
|
||||
dom0vif.unplug(conn);
|
||||
}
|
||||
|
||||
private synchronized Network setupvSwitchNetwork(Connection conn) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user