From 22379f21d75a67868ed2145dfd2da281ca2d8aae Mon Sep 17 00:00:00 2001 From: anthony Date: Tue, 17 Apr 2012 16:08:15 -0700 Subject: [PATCH] bug : 14543 XenServer doesn't need to provide gateway --- .../cloud/hypervisor/xen/resource/CitrixResourceBase.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java b/core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java index d774d7bfd9d..7976a7bae53 100755 --- a/core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java +++ b/core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java @@ -274,7 +274,6 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe protected boolean _canBridgeFirewall = false; protected boolean _isOvs = false; protected List _tmpDom0Vif = new ArrayList(); - 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) {