element <qm:labresource> (global)
Namespace:
Type:
anonymous complexType (extension of qm:reportableArtifact)
Content:
complex, 32 elements
Defined:
globally in qm.xsd; see XML source
Includes:
definitions of 28 elements
Used:
never
XML Representation Summary
<qm:labresource>
   
Content: 
</qm:labresource>
Content model elements (32):
dc:description,
dc:identifier,
jproc:team-area,
qm:administrativeStatus,
qm:cpuArchitecture,
qm:cpuArchitectureWidth,
qm:cpuManufacturer,
qm:cpuSpeed,
qm:cpuType,
qm:diskspace,
qm:fullyQualifiedDomainName,
qm:hostname,
qm:imageType,
qm:ipAddress,
qm:memory,
qm:name,
qm:operationalStatus,
qm:osKernelWidth,
qm:osLocale,
qm:osType,
qm:primaryMacAddress,
qm:projectArea (defined in qm:reportableArtifact complexType),
qm:property (in qm:labresource),
qm:resourcegroup (in qm:labresource),
qm:software,
qm:stylesheet,
qm:systemId,
qm:tdm,
qm:title,
qm:type (in qm:labresource),
qm:vmFile,
qm:vmToolUsed
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
Anonymous Type Detail
Type Derivation Tree
qm:reportableArtifact (extension)
  complexType
XML Source (w/o annotations (41); see within schema source)
<xs:element name="labresource">
<xs:complexType>
<xs:complexContent>
<xs:extension base="reportableArtifact">
<xs:sequence>
<xs:element minOccurs="1" name="title" type="xs:string"/>
<xs:element ref="dc:description"/>
<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="primaryMacAddress" type="xs:string"/>
<xs:element name="administrativeStatus" type="xs:string"/>
<xs:element name="operationalStatus" type="xs:string"/>
<xs:element name="hostname" type="xs:string"/>
<xs:element name="fullyQualifiedDomainName" type="xs:string"/>
<xs:element name="osType">
<xs:complexType mixed="true">
<xs:attribute name="href" type="xs:anyURI"/>
</xs:complexType>
</xs:element>
<xs:element name="osLocale" type="xs:string"/>
<xs:element name="osKernelWidth" type="xs:string"/>
<xs:element minOccurs="0" name="cpuSpeed" type="xs:int"/>
<xs:element name="cpuArchitecture" type="xs:string"/>
<xs:element name="cpuArchitectureWidth" type="xs:string"/>
<xs:element name="cpuManufacturer" type="xs:string"/>
<xs:element name="cpuType">
<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:element name="vmToolUsed" type="xs:string"/>
<xs:element name="software">
<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="installLocation" type="xs:string"/>
<xs:attribute name="executable" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="resourcegroup">
<xs:complexType>
<xs:attribute name="href" type="xs:anyURI" use="required"/>
<xs:attribute ref="vega:id"/>
</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; 28/32)
dc:description
Type:
xs:string, predefined, simple content
A summary description of the lab resource.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:description"/>

qm:administrativeStatus
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)
<xs:element name="administrativeStatus" type="xs:string"/>

qm:cpuArchitecture
Type:
xs:string, predefined, simple content
The cpu architecture.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="cpuArchitecture" type="xs:string"/>

qm:cpuArchitectureWidth
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)
<xs:element name="cpuArchitectureWidth" type="xs:string"/>

qm:cpuManufacturer
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)
<xs:element name="cpuManufacturer" type="xs:string"/>

qm:cpuSpeed
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"/>

qm:cpuType
Type:
anonymous complexType, 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>

qm:diskspace
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"/>

qm:fullyQualifiedDomainName
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)
<xs:element name="fullyQualifiedDomainName" type="xs:string"/>

qm:hostname
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"/>

qm:imageType
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"/>

qm:ipAddress
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"/>

qm:memory
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"/>

qm:name
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"/>

qm:operationalStatus
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)
<xs:element name="operationalStatus" type="xs:string"/>

qm:osKernelWidth
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)
<xs:element name="osKernelWidth" type="xs:string"/>

qm:osLocale
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"/>

qm:osType
Type:
anonymous complexType, 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>

qm:primaryMacAddress
Type:
xs:string, predefined, simple content
The hardware address of the L2 interface.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="primaryMacAddress" type="xs:string"/>

qm:property
Type:
anonymous complexType, empty content
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>

qm:resourcegroup
Type:
anonymous complexType, 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:attribute ref="vega:id"/>
</xs:complexType>
</xs:element>

qm:software
Type:
anonymous complexType, 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: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="installLocation" type="xs:string"/>
<xs:attribute name="executable" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

qm:systemId
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"/>

qm:tdm
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"/>

qm:title
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"/>

qm:type
Type:
anonymous complexType, 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>

qm:vmFile
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"/>

qm:vmToolUsed
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)
<xs:element name="vmToolUsed" type="xs:string"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set