element <labresource>
Namespace:
Type:
anonymous complexType
Content:
complex, 28 elements
Defined:
globally in qm.xsd, see XML source
Includes:
definitions of 28 elements
Used:
never
XML Representation Summary
<labresource>
   
Content: 
dc:identifier, title, dc:description, ((type, name, memory, ipAddress, systemId, primaryMacAddress, administrativeStatus, operationalStatus, hostname, fullyQualifiedDomainName, osType, osLocale, osKernelWidth, cpuSpeed, cpuArchitecture, cpuArchitectureWidth, cpuManufacturer, cpuType, diskspace, imageType, vmFile, vmToolUsed, software, resourcegroup?) | tdm?)
</labresource>
Content model elements (28):
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 be used 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.
XML Source (w/o annotations (36); see within schema source)
<xs:element name="labresource">
<xs:complexType>
<xs:sequence>
<xs:element ref="dc:identifier"/>
<xs:element minOccurs="1" name="title" type="xs:string"/>
<xs:element ref="dc:description"/>
<xs:choice>
<xs:sequence>
<xs:element name="type" type="xs:string"/>
<xs:element minOccurs="1" name="name" type="xs:string"/>
<xs:element 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" type="xs:string"/>
<xs:element name="osLocale" type="xs:string"/>
<xs:element name="osKernelWidth" type="xs:string"/>
<xs:element 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" type="xs:string"/>
<xs:element 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" use="required"/>
<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:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
Content Element Detail (defined in this component only; 28/28)
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"/>

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"/>

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"/>

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"/>

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 name="cpuSpeed" type="xs:int"/>

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

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"/>

dc:identifier
Type:
xs:string, predefined, simple content
The read-only identifier for this resource. A URL is typically provided for this element.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="dc:identifier"/>

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 name="diskspace" type="xs:int"/>

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"/>

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"/>

imageType
Type:
xs:string, predefined, simple content
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"/>

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"/>

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 name="memory" type="xs:int"/>

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"/>

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"/>

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"/>

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"/>

osType
Type:
xs:string, predefined, simple content
The operating system. This must be selected from one of the types know to the LM system.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="osType" type="xs:string"/>

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"/>

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

software
Type:
anonymous, complex content
The software installed on the system.
XML Source (w/o annotations (6); 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" use="required"/>
<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>

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"/>

tdm
Type:
xs:string, predefined, simple content
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"/>

title
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="title" type="xs:string"/>

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

vmFile
Type:
xs:string, predefined, simple content
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"/>

vmToolUsed
Type:
xs:string, predefined, simple content
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.7.2 using DocFlex/XML XSDDoc 2.1.0 template set