![]() |
![]() |
![]() |
> Module > Partitions |
Module
The Partition element specifies the name of a partition and the location of the PartitionDescription document that defines the partition.
You specify the location of the PartitionDescription document using an xi:include element.
<Module Name="my-module" Id="0"> ... <Partitions> <Partition Name="my-application-partition" Id="1"> <xi:include href="my-application-partition.xml"/> </Partition> ... </Partitions> ... </Module>
Alternatively, you can write the PartitionDescription element directly into the Module document in place of the xi:include element.
<Module Name="my-module" Id="0"> ... <Partitions> <Partition Name="my-application-partition" Id="1"> <PartitionDescription ...> ... </PartitionDescription> </Partition> ... </Partitions> ... </Module>
Optional, unbounded
None
An identifier for the partition. At runtime, this is the PARTITION_STATUS_TYPE.IDENTIFIER returned by GET_PARTITION_STATUS().
Required
ConfigRecord
Unsigned 32 bit integer
N/A
None
The minimum value is 1.
The maximum value is 255.
The ID of the module may not be the same as the ID of any pseudo-partition as defined in /ConfigRecord/Module/Partitions/PseudoPartition/@Id.
The name of the partition. The value does not need to be the same as the name of the application specified in /ConfigRecord/Module/Applications/Application/@Name. This value (not /ConfigRecord/Module/Applications/Application/@Name) becomes the name attribute for the application in the configuration record.
This value is used to associate a partition with a time window in a schedule via /ConfigRecord/Module/Schedules/Schedule/PartitionWindow/@PartitionNameRef.
This value is used to associate the application with a channel via /ConfigRecord/Module/Connections/Channel/Destination/@PartitionNameRef and /ConfigRecord/Module/Connections/Channel/Source/@PartitionNameRef.
Required
ConfigRecord
String
N/A
None
The name must be unique within the module and may not be the same as the name of the core OS as defined in /ConfigRecord/Module/CoreOS/CoreOSDescription/@KernelName or the name of a pseudo-partition as defined in /ConfigRecord/Module/Partitions/PseudoPartition/@Name.
The name cannot be SPARE or Spare (though it can be other capitalizations of the word "spare").
The maximum length is 27 characters.
The name must not be an empty string.
Generated on 2007-10-15 17:17:22.