public JSONObject addSequencerReference(HttpSession session, JSONObject json) {
try {
if (json.has("server") && !json.get("server").equals("")) {
InetAddress i = InetAddress.getByName(json.getString("server"));
String name = json.getString("name");
Platform p = requestManager.getPlatformById(json.getInt("platform"));
SequencerReference sr = new SequencerReferenceImpl(name, i, p);
sr.setAvailable(i.isReachable(2000));
log.info(sr.toString());
requestManager.saveSequencerReference(sr);
return JSONUtils.SimpleJSONResponse("Saved successfully");