@Override
  public void execute()
      throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException,
          ConcurrentOperationException, ResourceAllocationException {
    try {
      List<CiscoVnmcControllerVO> ciscoVnmcResources =
          _ciscoVnmcElementService.listCiscoVnmcResources(this);
      ListResponse<CiscoVnmcResourceResponse> response =
          new ListResponse<CiscoVnmcResourceResponse>();
      List<CiscoVnmcResourceResponse> ciscoVnmcResourcesResponse =
          new ArrayList<CiscoVnmcResourceResponse>();

      if (ciscoVnmcResources != null && !ciscoVnmcResources.isEmpty()) {
        for (CiscoVnmcController ciscoVnmcResourceVO : ciscoVnmcResources) {
          CiscoVnmcResourceResponse ciscoVnmcResourceResponse =
              _ciscoVnmcElementService.createCiscoVnmcResourceResponse(ciscoVnmcResourceVO);
          ciscoVnmcResourceResponse.setObjectName("CiscoVnmcResource");
          ciscoVnmcResourcesResponse.add(ciscoVnmcResourceResponse);
        }
      }

      response.setResponses(ciscoVnmcResourcesResponse);
      response.setResponseName(getCommandName());
      this.setResponseObject(response);
    } catch (InvalidParameterValueException invalidParamExcp) {
      throw new ServerApiException(ApiErrorCode.PARAM_ERROR, invalidParamExcp.getMessage());
    } catch (CloudRuntimeException runtimeExcp) {
      throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, runtimeExcp.getMessage());
    }
  }
  @Override
  public CiscoVnmcResourceResponse createCiscoVnmcResourceResponse(
      CiscoVnmcController ciscoVnmcResourceVO) {
    HostVO ciscoVnmcHost = _hostDao.findById(ciscoVnmcResourceVO.getHostId());

    CiscoVnmcResourceResponse response = new CiscoVnmcResourceResponse();
    response.setId(ciscoVnmcResourceVO.getUuid());
    response.setPhysicalNetworkId(ciscoVnmcResourceVO.getPhysicalNetworkId());
    response.setProviderName(ciscoVnmcResourceVO.getProviderName());
    response.setResourceName(ciscoVnmcHost.getName());

    return response;
  }