remove prealloclun

This commit is contained in:
anthony 2011-01-28 12:46:50 -08:00
parent b9b48d8fce
commit cb024e3bf2
2 changed files with 1 additions and 8 deletions

View File

@ -177,7 +177,6 @@ public enum Config {
XenSetupMultipath("Advanced", ManagementServer.class, String.class, "xen.setup.multipath", "false", "Setup the host to do multipath", null),
XenBondStorageNic("Advanced", ManagementServer.class, String.class, "xen.bond.storage.nics", null, "Attempt to bond the two networks if found", null),
XenHeartBeatInterval("Advanced", ManagementServer.class, Integer.class, "xen.heartbeat.interval", "60", "heartbeat to use when implementing XenServer Self Fencing", null),
XenPreallocatedLunSizeRange("Advanced", ManagementServer.class, Float.class, "xen.preallocated.lun.size.range", ".05", "percentage to add to disk size when allocating", null),
XenGuestNetwork("Advanced", ManagementServer.class, String.class, "xen.guest.network.device", null, "Specify for guest network name label", null),
// VMware

View File

@ -84,7 +84,6 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
protected String _storageNic2;
protected int _wait;
protected XenServerConnectionPool _connPool;
protected String _increase;
protected boolean _checkHvm;
protected String _guestNic;
@ -234,9 +233,6 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
params.put("pool", poolUuid);
params.put("ipaddress", record.address);
if (_increase != null) {
params.put(Config.XenPreallocatedLunSizeRange.name(), _increase);
}
details.put(HostInfo.HOST_OS, hostOS);
details.put(HostInfo.HOST_OS_VERSION, hostOSVer);
details.put(HostInfo.HOST_OS_KERNEL_VERSION, hostKernelVer);
@ -397,9 +393,7 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
_storageNic2 = _params.get(Config.XenStorageNetwork2.key());
_guestNic = _params.get(Config.XenGuestNetwork.key());
_increase = _params.get(Config.XenPreallocatedLunSizeRange.key());
String value = _params.get(Config.Wait.toString());
_wait = NumbersUtil.parseInt(value, Integer.parseInt(Config.Wait.getDefaultValue()));