You can customize the user interface and Create Reservation logic by configuring the Create Reservation form:
Building the Create Reservation form is similar to building all other Viewpoint forms, all sharing the common requirement of modification to the <pages>, <components>, and <queue> elements.
To configure the create reservation form
Viewpoint can only modify reservations where either the host list is specified or a task definition has been set, but not both. An administrator can modify the reservations.xml configuration to use both types of resource definitions, but keep in mind that reservations created this way cannot be modified later. For this reason it is recommended to only allow for specifying the host list or specifying a task definition, as set up in the default configuration.
<generic-resource> <component id="generic_resource_table_map" /> </generic-resource>
generic_resource_table_map corresponds to a component in the form.
More information about task definitions is available in the Moab Workload Manager documentation on the mrsvctl command.
Viewpoint only supports a list of nodes, not a regular expression. Thus, use a component that contains a list of strings, or use the string-to-list operation decider. See Listing string deciders.
Any of these fields can be set, regardless of the resources requested.
Element | Description |
---|---|
<acl> |
This field corresponds to the access control list (ACL) attribute. The ACL can only be set using an acl-editor component. This component is specifically designed to modify and create the access control list. |
<description> | The user-specified description or purpose of the reservation. Accepts any string value decider. |
<end-time> | The reservation's end time. Accepts any date value decider. See Moab documentation for more details. |
<exclusive> | States if the reservation should be exclusive. Accepts any boolean value decider. |
<group> | The name of the reservation group. Accepts any string value decider. |
<name> | The name of the reservation. Accepts any string value decider. |
<node-features> | A list of node features. Accepts any string list value decider. |
<owner> | The name of the reservation's owner. This user must already exist in Moab. Accepts any string value decider. |
<partition> | The name of a partition. Accepts any string value decider. |
<profile> | The name of the reservation profile to load. Accepts any string value decider. |
<start-time> | The reservation's start time. Accepts any date value decider. |
<subtype> | A node category as defined here. Accepts any string value decider. |
<variables> |
A collection of variables to be set on the reservation. This can have one or more <variable> child elements. Each child <variable> element has the following three parts:
|
Related topics
© 2012 Adaptive Computing