true');
	}
}

function upgradeBroker(brokerAddr, brokerName, baseDir) {
    $("#upgradeBrokerAddr").val(brokerAddr);
	$("#upgradeBrokerName").val(brokerName);
	$("#upgradeBrokerIp").val(brokerAddr.split(":")[0]);
	$("#upgradeBrokerListenPort").val(brokerAddr.split(":")[1]);
	$("#upgradeDir").val(baseDir);
}

function migrateBrokerData(brokerAddr, brokerName) {
	if(brokerAddr){
		var ip = brokerAddr.split(":")[0];		  
		$("#sourceIp").html('<option selected="selected" value="'+ ip +'">'+ ip +'</option>');
		