bug : 14543

XenServer doesn't need to provide gateway
This commit is contained in:
anthony 2012-04-17 16:08:15 -07:00
parent 678350ea1e
commit 22379f21d7
1 changed files with 0 additions and 8 deletions

View File

@ -274,7 +274,6 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
protected boolean _canBridgeFirewall = false;
protected boolean _isOvs = false;
protected List<VIF> _tmpDom0Vif = new ArrayList<VIF>();
protected String _localGateway;
public enum SRType {
NFS, LVM, ISCSI, ISO, LVMOISCSI, LVMOHBA, EXT;
@ -2576,13 +2575,6 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
setupLinkLocalNetwork(conn);
_localGateway = callHostPlugin(conn, "vmops", "getgateway", "mgmtIP", _host.ip);
if (_localGateway == null || _localGateway.isEmpty()) {
String msg = "can not get gateway for host :" + _host.uuid;
s_logger.warn(msg);
return new ReadyAnswer(cmd, msg);
}
try {
boolean result = cleanupHaltedVms(conn);
if (!result) {