CLOUDSTACK-4850

[UCS] using template instead of cloning profile
This commit is contained in:
Frank.Zhang 2013-10-14 11:55:14 -07:00
parent 1da9f8ee4d
commit a84e0af651
1 changed files with 1 additions and 11 deletions

View File

@ -19,7 +19,7 @@ import javax.inject.Inject;
* To change this template use File | Settings | File Templates.
*/
@APICommand(name="refreshUcsBlades", description="refresh ucs blades to sync with UCS manager", responseObject=UcsBladeResponse.class)
public class RefreshUcsBladesCmd extends BaseAsyncCmd {
public class RefreshUcsBladesCmd extends BaseListCmd {
private static Logger s_logger = Logger.getLogger(RefreshUcsBladesCmd.class);
@Inject
@ -36,16 +36,6 @@ public class RefreshUcsBladesCmd extends BaseAsyncCmd {
this.mgr = mgr;
}
@Override
public String getEventType() {
return EventTypes.EVENT_UCS_REFRESH_BLADES;
}
@Override
public String getEventDescription() {
return "refresh ucs blades status to sync with UCS manager";
}
@Override
public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException, ResourceAllocationException, NetworkRuleConflictException {
try {