use of com.cloud.region.ha.GlobalLoadBalancerRule in project cloudstack by apache.
the class CreateGlobalLoadBalancerRuleCmd method execute.
@Override
public void execute() throws ResourceAllocationException, ResourceUnavailableException {
GlobalLoadBalancerRule rule = _entityMgr.findById(GlobalLoadBalancerRule.class, getEntityId());
if (rule != null) {
GlobalLoadBalancerResponse response = _responseGenerator.createGlobalLoadBalancerResponse(rule);
response.setResponseName(getCommandName());
this.setResponseObject(response);
}
}
Aggregations