Fix conflict resolution errors

This commit is contained in:
Salvatore Orlando 2012-04-23 01:51:44 +01:00
parent ccbdee899c
commit f66dd8927e
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public class OvsCreateTunnelAnswer extends Answer {
//for debug info
String fromIp;
String toIp;
String key;
int key;
String bridge;
public OvsCreateTunnelAnswer(Command cmd, boolean success, String details, String bridge) {
@ -70,7 +70,7 @@ public class OvsCreateTunnelAnswer extends Answer {
return toIp;
}
public String getKey() {
public int getKey() {
return key;
}
@ -79,3 +79,4 @@ public class OvsCreateTunnelAnswer extends Answer {
}
}

View File

@ -660,6 +660,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
private synchronized Network configureTunnelNetwork(Connection conn, long networkId, long hostId, int key) {
try {
Network nw = findOrCreateTunnelNetwork(conn, networkId);
String nwName = "OVSTunnel" + key;
//Invoke plugin to setup the bridge which will be used by this network
String bridge = nw.getBridge(conn);
Map<String,String> nwOtherConfig = nw.getOtherConfig(conn);