Source:
public void init(Map<String, String> paramMap) { constantDelay = Utils.getLong(paramMap.get("constantDelay")); randomDelay = Utils.getLong(paramMap.get("randomDelay")); networkLoad = Utils.splitString(paramMap.get("networkLoad")); cpuLoadList = Utils.splitString(paramMap.get("cpuLoad")); memLoad = Utils.splitString(paramMap.get("memLoad")); storageDelay = Utils.splitString(paramMap.get("storageDelay")); networkBridgeName = paramMap.get("networkBridgeName"); cacheDir = paramMap.get("cacheDir"); logDir = paramMap.get("logDir") + "/" + System.currentTimeMillis(); forwardVdsmServer = paramMap.get("forwardVdsmServer"); vdsmPort = paramMap.get("vdsmPort"); vmConfAndStatsConstants = paramMap.get("vmConfAndStatsConstants"); vmConfAndStatsUpdateIntervals = paramMap.get("vmConfAndStatsUpdateIntervals"); jsonHandlersThreadsPool = Integer.valueOf(paramMap.get("jsonHandlersThreadsPool")); architectureType = ArchitectureType.valueOf(paramMap.get("architectureType").toUpperCase()); jsonEvents = Boolean.valueOf(paramMap.get("jsonEvents")); eventSupportedMethods = Utils.splitString(paramMap.get("eventSupportedMethods")); eventsThreadPool = Integer.valueOf(paramMap.get("eventsThreadPool")); jsonThreadPool = Integer.valueOf(paramMap.get("jsonThreadPool")); final String notLoggedMethods = paramMap.get("notLoggedMethods"); if (notLoggedMethods != null && notLoggedMethods.trim().length() > 0) { final String[] methodNames = notLoggedMethods.split(","); for (String methodName : methodNames) { notLoggedMethodSet.add(methodName.trim()); } } makeDir(cacheDir); makeDir(logDir); if (isProxyActive()) { targetServerUrl = getForwardVdsmServer() + ":" + getVdsmPort() + "/"; } }

Target:
public void init(Map<String, String> paramMap) { constantDelay = Utils.getLong(paramMap.get("constantDelay")); randomDelay = Utils.getLong(paramMap.get("randomDelay")); networkLoad = Utils.splitString(paramMap.get("networkLoad")); cpuLoadList = Utils.splitString(paramMap.get("cpuLoad")); memLoad = Utils.splitString(paramMap.get("memLoad")); storageDelay = Utils.splitString(paramMap.get("storageDelay")); networkBridgeName = paramMap.get("networkBridgeName"); cacheDir = paramMap.get("cacheDir"); logDir = paramMap.get("logDir") + "/" + System.currentTimeMillis(); forwardVdsmServer = paramMap.get("forwardVdsmServer"); vdsmPort = paramMap.get("vdsmPort"); vmConfAndStatsConstants = paramMap.get("vmConfAndStatsConstants"); vmConfAndStatsUpdateIntervals = paramMap.get("vmConfAndStatsUpdateIntervals"); jsonHandlersThreadsPool = Integer.valueOf(paramMap.get("jsonHandlersThreadsPool")); architectureType = ArchitectureType.valueOf(paramMap.get("architectureType").toUpperCase()); jsonEvents = Boolean.valueOf(paramMap.get("jsonEvents")); eventSupportedMethods = Utils.splitString(paramMap.get("eventSupportedMethods")); eventsThreadPoolSize = Integer.valueOf(paramMap.get("eventsThreadPoolSize")); jsonThreadPoolSize = Integer.valueOf(paramMap.get("jsonThreadPoolSize")); final String notLoggedMethods = paramMap.get("notLoggedMethods"); if (notLoggedMethods != null && notLoggedMethods.trim().length() > 0) { final String[] methodNames = notLoggedMethods.split(","); for (String methodName : methodNames) { notLoggedMethodSet.add(methodName.trim()); } } makeDir(cacheDir); makeDir(logDir); if (isProxyActive()) { targetServerUrl = getForwardVdsmServer() + ":" + getVdsmPort() + "/"; } }