mirror of https://github.com/apache/cloudstack.git
parent
e852857f9e
commit
478eb1df6c
|
|
@ -278,7 +278,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;
|
||||
|
|
@ -2580,13 +2579,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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue