mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4850
[UCS] using template instead of cloning profile
This commit is contained in:
parent
1da9f8ee4d
commit
a84e0af651
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue