element <qm:labresource> (global)
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, alm:updated, (( 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:property*) |
|
</qm:labresource> |
Content model elements (33):
-
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 three 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 be used in reporting. The third format is a properties format that is a flat list of human readable properties. The format of the xml must be specified as a query argument in the url. It is specified as format=tdm, format=simple, or format=properties. 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|properties. 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|properties where 1 is the internal id of the resource. When working with the properties format it may be necessary to consult the dictionary of available properties. It can be retrieved via //server/.../labresource?propertyDictionary=true
Type Derivation Tree
complexType
|
XML Source (w/o annotations (42); see within schema source)
<xs:complexType>
<xs:complexContent>
<xs:extension base="reportableArtifact">
<xs:sequence>
<xs:element minOccurs="1" name="title" type="xs:string"/>
<xs:choice>
<xs:sequence>
<xs:element name="type">
<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:element maxOccurs="unbounded" minOccurs="0" name="softwareInstall">
<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:element maxOccurs="unbounded" minOccurs="0" name="property">
<xs:complexType>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
|
Content Element Detail (all declarations; defined within this component only; 29/33)
-
Type: |
xs:dateTime, predefined, simple content
|
[READ-ONLY] XML dateTime of the last update of the lab resource.
XML Source (w/o annotations (1); see within schema source)
-
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"/>
|
-
The cpu type.
XML Source (w/o annotations (2); see within schema source)
<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"/>
|
-
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: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)
-
The properties representation of the lab resource is comprised of multiple properties and property value pairs. Consult the property dictionary //server/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/labresource?propertyDictionary=true for a complete listing of all Lab Resource types and attributes. Once constructed, each property fully addresses one type or attribute of the Lab Resource. Type declarations do not specify values. Property names are in the format: TYPE_NAME.ATTRIBUTE_NAME, e.g. Machine.name specifies the Machine Type name attribute If the attribute type is a reference to another type the name is TYPE_NAME.ATTRIBUTE_NAME.TYPE_NAME, e.g. Machine.cpu.Power specifies the Machine attribute CPU is the Type Power. If multiple values are possible for a given attribute, the array [] notation is used.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="property">
<xs:complexType>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
|
-
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:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
|
-
The software installed on the system.
XML Source (w/o annotations (8); see within schema source)
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="softwareInstall">
<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"/>
|
-
The type of the lab resource.
XML Source (w/o annotations (2); see within schema source)
<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)