element <qm:labresource>
Namespace: |
|
Type: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
never |
XML Representation Summary |
<qm:labresource> |
|
Content: |
qm:projectArea, dc:identifier, jproc:team-area, qm:stylesheet, qm:title, dc:description, ((qm:type, qm:name, qm:memory?, qm:ipAddress, qm:systemId, qm:primaryMacAddress, qm:administrativeStatus, qm:operationalStatus, qm:hostname, qm:fullyQualifiedDomainName, qm:osType, qm:osLocale, qm:osKernelWidth, qm:cpuSpeed?, qm:cpuArchitecture, qm:cpuArchitectureWidth, qm:cpuManufacturer, qm:cpuType, qm:diskspace?, qm:imageType, qm:vmFile, qm:vmToolUsed, qm:software, qm:resourcegroup?) | qm:tdm?) |
|
</qm:labresource> |
Content model elements (31):
-
Annotation
A Lab Resource represents an actual machine or virtual image that exists in the test lab. These often correspond to development milestones. Test management tools typically allow planning of test cases within test phases, and querying of the status of test cases within a given phase. The xml for a lab resource comes in two formats. The first is a TDM format that is used in itra-machine communication of a resource specification. The format of the data contained in the tdm element is not documented here. The second is a simple format that is human readable and can beused in reporting. The format of the xml must be specified as a query argument in the url. It is specified as format=tdm or format=simple. A default of tdm is used if no format is specified. For example, //server/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresource/1?format=simple. The id of a machine may be specified in two ways. The first url format is used if the machine is to be put into the system by an external provider or to access a machine that was put into the system by an external provider. This format is of the form: https://server/.../labresource/PROVIDER/PROVIDER_INSTANCE/ID?format=simple|tdm. PROVIDER is the name of the external system integrating with the LM system (such as BuildForge). PROVIDER_INSTANCE is the specific instance of that provider (such as the BuildForge server name). The second url format is used in the case where there is no external provider. In this case the internal integer id of the resource can be used. This format is of the form: //server/.../labresource/1?format=simple|tdm where 1 is the internal id of the resource.
Anonymous Type Detail
Type Derivation Tree complexType (extension) |
XML Source (w/o annotations (40); see within schema source)
<xs:element name="labresource"> <xs:complexType> <xs:complexContent> <xs:sequence> <xs:element minOccurs="1" name="title" type="xs:string"/> <xs:choice> <xs:sequence> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> <xs:element minOccurs="1" name="name" type="xs:string"/> <xs:element minOccurs="0" name="memory" type="xs:int"/> <xs:element name="ipAddress" type="xs:string"/> <xs:element name="systemId" type="xs:string"/> <xs:element name="hostname" type="xs:string"/> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> <xs:element name="osLocale" type="xs:string"/> <xs:element minOccurs="0" name="cpuSpeed" type="xs:int"/> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> <xs:element minOccurs="0" name="diskspace" type="xs:int"/> <xs:element name="imageType" type="xs:string"/> <xs:element name="vmFile" type="xs:string"/> <xs:complexType> <xs:sequence> <xs:complexType> <xs:attribute name="id" type="xs:string"/> <xs:attribute name="type" type="xs:string"/> <xs:attribute name="href" type="xs:anyURI"/> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="executable" type="xs:string"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType> <xs:attribute name="href" type="xs:anyURI" use="required"/> </xs:complexType> </xs:element> </xs:sequence> <xs:element maxOccurs="1" minOccurs="0" name="tdm" type="xs:string"/> </xs:choice> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
Content Element Detail (defined in this component only; 27/31) -
Type: |
xs:string, predefined, simple content |
A summary description of the lab resource.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The administrative status of the lab resource. This will be one of [enabled, disabled, other, unknown].
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The cpu architecture.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The architecture width of the CPU. This must be one of [31 bit, 32 bit, 64 bit].
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The name of the manufacturer of the cpu chip.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:int, predefined, simple content |
The processing speed of the cpu.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="cpuSpeed" type="xs:int"/> |
-
Type: |
anonymous, mixed content |
The cpu type.
XML Source (w/o annotations (2); see within schema source)
<xs:element name="cpuType"> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> |
-
Type: |
xs:int, predefined, simple content |
The amount of diskspace on the resource in GB.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="diskspace" type="xs:int"/> |
-
Type: |
xs:string, predefined, simple content |
The fully qualified domain name of the lab resource in dotted notation.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The hostname of the lab resource.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="hostname" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
[READ-ONLY] The type of the Virtual Image. Applies to Virtual Images only.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="imageType" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
The ip address in dotted notation.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="ipAddress" type="xs:string"/> |
-
Type: |
xs:int, predefined, simple content |
The amount of installed memory in MB.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="memory" type="xs:int"/> |
-
Type: |
xs:string, predefined, simple content |
The name of the lab resource.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="1" name="name" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
The operational status of the lab resource. This will be one of [available, unavailable, unknown].
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The width of the perating system kernel. This must be one of [31 bit, 32 bit, 64 bit].
XML Source (w/o annotations (1); see within schema source)
-
Type: |
xs:string, predefined, simple content |
The locale of the lab resource.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="osLocale" type="xs:string"/> |
-
Type: |
anonymous, mixed content |
The operating system. This must be selected from one of the types know to the LM system.
XML Source (w/o annotations (2); see within schema source)
<xs:element name="osType"> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> |
-
Type: |
xs:string, predefined, simple content |
The hardware address of the L2 interface.
XML Source (w/o annotations (1); see within schema source)
-
Type: |
anonymous, empty content |
A link to a resource group. The href attribute of this element is a URI or a UUID pointing to the resource group.
XML Source (w/o annotations (3); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="resourcegroup"> <xs:complexType> <xs:attribute name="href" type="xs:anyURI" use="required"/> </xs:complexType> </xs:element> |
-
Type: |
anonymous, complex content |
The software installed on the system.
XML Source (w/o annotations (8); see within schema source)
<xs:element name="software"> <xs:complexType> <xs:sequence> <xs:complexType> <xs:attribute name="id" type="xs:string"/> <xs:attribute name="type" type="xs:string"/> <xs:attribute name="href" type="xs:anyURI"/> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="executable" type="xs:string"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> |
-
Type: |
xs:string, predefined, simple content |
The system ID.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="systemId" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
[READ-ONLY] The TDM representation of the lab resource, suitable for interchange with Rational and Tivoli tooling.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="tdm" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
[READ-ONLY] The name of the lab resource.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="1" name="title" type="xs:string"/> |
-
Type: |
anonymous, mixed content |
The type of the lab resource.
XML Source (w/o annotations (2); see within schema source)
<xs:element name="type"> <xs:complexType mixed="true"> <xs:attribute name="href" type="xs:anyURI"/> </xs:complexType> </xs:element> |
-
Type: |
xs:string, predefined, simple content |
[READ-ONLY] The file for the Virtual Image. Applies to Virtual Images only.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="vmFile" type="xs:string"/> |
-
Type: |
xs:string, predefined, simple content |
[READ-ONLY] The tool used to create the Virtual Image. Applies to Virtual Images only.
XML Source (w/o annotations (1); see within schema source)