mirror of https://github.com/apache/cloudstack.git
CloudStack CLOUDSTACK-1365
UI support for baremetal PXE server CloudStack CLOUDSTACK-1364 UI support for baremetal DHCP server
This commit is contained in:
parent
d1a3b15219
commit
0934c6c2b5
|
|
@ -84,7 +84,6 @@ public class AddBaremetalDhcpCmd extends BaseAsyncCmd {
|
|||
try {
|
||||
BaremetalDhcpVO vo = mgr.addDchpServer(this);
|
||||
BaremetalDhcpResponse response = mgr.generateApiResponse(vo);
|
||||
response.setObjectName(s_name);
|
||||
response.setResponseName(getCommandName());
|
||||
this.setResponseObject(response);
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ public class AddBaremetalPxeCmd extends BaseAsyncCmd {
|
|||
try {
|
||||
BaremetalPxeVO vo = pxeMgr.addPxeServer(this);
|
||||
BaremetalPxeResponse rsp = pxeMgr.getApiResponse(vo);
|
||||
rsp.setObjectName(s_name);
|
||||
rsp.setResponseName(getCommandName());
|
||||
this.setResponseObject(rsp);
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue