EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Matching Compute Elements

POST /compute/vpools/matching-compute-elements

Get compute elements that match the Compute Virtual Pool criteria


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • RESTRICTED_SYSTEM_ADMIN

Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<compute_vpool_create>
<name> The name for the virtual pool. String Valid Values:
  •  Length: 2..128
<description> The description for the virtual pool. String
<system_type> Supported System Types String
<min_processors> Integer Valid Values:
  •  Range: 1..65535
<max_processors> Integer Valid Values:
  •  Range: 1..65535
<min_total_cores> Integer Valid Values:
  •  Range: 1..65535
<max_total_cores> Integer Valid Values:
  •  Range: 1..65535
<min_total_threads> Integer Valid Values:
  •  Range: 1..65535
<max_total_threads> Integer Valid Values:
  •  Range: 1..65535
<min_cpu_speed> Integer Valid Values:
  •  Range: 1..65535
<max_cpu_speed> Integer Valid Values:
  •  Range: 1..65535
<min_memory> Integer Valid Values:
  •  Range: 1..65535
<max_memory> Integer Valid Values:
  •  Range: 1..65535
<min_nics> Integer Valid Values:
  •  Range: 1..65535
<max_nics> Integer Valid Values:
  •  Range: 1..65535
<min_hbas> Integer Valid Values:
  •  Range: 1..65535
<max_hbas> Integer Valid Values:
  •  Range: 1..65535
<varrays>
<varray> String 0-* Elements
</varrays>
<use_matched_elements> Determines if matched or valid assigned Compute Elements are returned from command to retrieve the list of Compute Elements. Boolean
<service_profile_templates>
<service_profile_template> String 0-* Elements
</service_profile_templates>
</compute_vpool_create>

Response Body

ComputeElementListRestRep collection of Compute Elements

Field Description Type Notes
<compute_elements>
<compute_element>     0-* Elements
<ram> Long
<num_of_cores> Integer
<uuid> String
<number_of_processors> Short
<number_of_threads> Integer
<processor_speed> String
<computeSystem>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</computeSystem>      
<originalUuid> String
<available> Boolean
<model> String
<last_discovery_status_message> The last discovery status message for this system String
<system_type> A short mnemonic that indicates what kind of system is being represented. Valid values: brocade isilon netapp mds = Cisco MDS series swicth rp = Recoverpoint vmax vnxblock vnxfile vplex String
<job_discovery_status> The status of the last discovery job for this system Valid values: CREATED IN_PROGRESS COMPLETE ERROR String
<last_discovery_run_time> The timestamp for the last discovery job for this system Long
<last_metering_run_time> The timestamp for the last metric collection job for this system Long
<job_metering_status> The status of the last metric collection job for this system Valid values: CREATED IN_PROGRESS COMPLETE ERROR String
<next_discovery_run_time> The timestamp for the next scheduled discovery job for this system Long
<next_metering_run_time> The timestamp for the next scheduled metric collection job for this system Long
<success_discovery_time> The latest timestamp when the system run Discovery successfully Long
<success_metering_time> The latest timestamp when the system run Metering successfully Long
<registration_status> Whether or not the system is registered with ViPR. A system must be registered before it can be managed by ViPR. Valid values: REGISTERED UNREGISTERED String
<compatibility_status> Whether or not this system is compatible with ViPR. Valid values: OMPATIBLE INCOMPATIBLE UNKNOWN String
<native_guid> The native unique identifier for this resource

Network Transport Types:

  • FC = Fibre-Channel

Network System Types:

  • BROCADE
  • MDS

Storage System Types:

  • CELERRA = VNX File
  • CLARIION = VNX Block
  • ISILON
  • NETAPP
  • SYMMETRIX
Valid values: Network NetworkSystem StoragePool StoragePort StorageSystem StorageTier:VMAX StorageTier: VNX
String
<name> The name assigned to this resource in ViPR. The resource name is set by a user and can be changed at any time. It is not a unique identifier. String
<id> An identifier that is generated by ViPR when the resource is created. The resource ID is guaranteed to be unique and immutable across all virtual data centers for all time. URI
<link> A hyperlink to the details for this resource
<creation_time> A timestamp that shows when this resource was created in ViPR DateTime
<tags> Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
<tag> String 0-* Elements
</tags>
<inactive> Whether or not the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ViPR database. Boolean
<global> Boolean
<remote> Boolean
<vdc>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</vdc>      
<internal> Whether or not the resource is an internal resource. Boolean
</compute_element>      
</compute_elements>