@RequestMapping(value = FlatDhcpBackend.PREPARE_DHCP_PATH, method = RequestMethod.POST)
 public @ResponseBody String prepareDhcp(HttpEntity<String> entity) {
   PrepareDhcpCmd cmd = JSONObjectUtil.toObject(entity.getBody(), PrepareDhcpCmd.class);
   config.prepareDhcpCmdList.add(cmd);
   reply(entity, new PrepareDhcpRsp());
   return null;
 }
 @RequestMapping(value = FlatUserdataBackend.RELEASE_USER_DATA, method = RequestMethod.POST)
 public @ResponseBody String releaseUserdata(HttpEntity<String> entity) {
   ReleaseUserdataCmd cmd = JSONObjectUtil.toObject(entity.getBody(), ReleaseUserdataCmd.class);
   config.releaseUserdataCmds.add(cmd);
   ReleaseUserdataRsp rsp = new ReleaseUserdataRsp();
   reply(entity, rsp);
   return null;
 }
 @RequestMapping(value = FlatUserdataBackend.APPLY_USER_DATA, method = RequestMethod.POST)
 public @ResponseBody String applyUserdata(HttpEntity<String> entity) {
   ApplyUserdataCmd cmd = JSONObjectUtil.toObject(entity.getBody(), ApplyUserdataCmd.class);
   config.applyUserdataCmds.add(cmd);
   ApplyUserdataRsp rsp = new ApplyUserdataRsp();
   reply(entity, rsp);
   return null;
 }
 @RequestMapping(value = FlatDnsBackend.SET_DNS_PATH, method = RequestMethod.POST)
 public @ResponseBody String setDns(HttpEntity<String> entity) {
   SetDnsCmd cmd = JSONObjectUtil.toObject(entity.getBody(), SetDnsCmd.class);
   config.setDnsCmds.add(cmd);
   SetDnsRsp rsp = new SetDnsRsp();
   reply(entity, rsp);
   return null;
 }
 @RequestMapping(value = FlatDhcpBackend.RELEASE_DHCP_PATH, method = RequestMethod.POST)
 public @ResponseBody String releaseDhcp(HttpEntity<String> entity) {
   ReleaseDhcpCmd cmd = JSONObjectUtil.toObject(entity.getBody(), ReleaseDhcpCmd.class);
   config.releaseDhcpCmds.add(cmd);
   ReleaseDhcpRsp rsp = new ReleaseDhcpRsp();
   reply(entity, rsp);
   return null;
 }
 @RequestMapping(value = FlatDhcpBackend.APPLY_DHCP_PATH, method = RequestMethod.POST)
 public @ResponseBody String setDhcp(HttpEntity<String> entity) {
   ApplyDhcpCmd cmd = JSONObjectUtil.toObject(entity.getBody(), ApplyDhcpCmd.class);
   config.applyDhcpCmdList.add(cmd);
   ApplyDhcpRsp rsp = new ApplyDhcpRsp();
   reply(entity, rsp);
   return null;
 }