element <labresource>
Namespace: |
|
Type: |
anonymous complexType |
Content: |
|
Defined: |
|
Includes: |
|
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 minOccurs="1" name="title" type="xs:string"/> <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="hostname" type="xs:string"/> <xs:element name="osType" type="xs:string"/> <xs:element name="osLocale" type="xs:string"/> <xs:element name="cpuSpeed" type="xs:int"/> <xs:element name="cpuType" type="xs:string"/> <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" use="required"/> <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:complexType> </xs:element> |
Content Element Detail (defined in this component only; 28/28) -
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 name="cpuSpeed" type="xs:int"/> |
-
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"/> |
-
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 read-only identifier for this resource. A URL is
typically provided for this element.
XML Source (w/o annotations (1); see within schema source)
-
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)
-
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 |
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 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: |
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"/> |
-
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 (6); 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" use="required"/> <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 |
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 |
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: |
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"/> |
-
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"/> |
-
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)