A template file can contain substitution variables, like the following:
<p>System Name: %SYSTEM_NAME%</p>
The substitution variables are associated with a category of email message. The categories are:
Reservation
The following variables are associated with reservation messages.
|
%IMAGENAMES% |
Image names used for the reservation. (comma-separated string). |
|
%NUMSYSTEMS% |
Number of systems reserved. |
|
%ORGUNIT% |
Organizational unit of the requestor. |
|
%PROJECTID% |
Project ID associated with the reservation. |
|
%READYSYSTEMLIST% |
List of system names or IP addresses for reserved systems that are ready (HTML list). |
|
%READYSYSTEMTABLE% |
Table of system names or IP addresses for reserved systems that are ready (HTML table). |
|
%REQUESTEDSOFTWARE% |
List of requested software (HTML list). |
|
%RESERVATIONENDTIME% |
Time when the reservation ends. |
|
%RESERVATIONID% |
Reservation ID. |
|
%RESERVATIONNOTES% |
Notes supplied for the reservation. |
|
%RESERVATIONREADYTEXT% |
The user-supplied text to include with all reservation ready e-mails. |
|
%RESERVATIONSTARTTIME% |
Time when the reservation starts. |
|
%TEMPLATENAME% |
The template used for this reservation. |
|
%TICKETID% |
The ticket ID associated with this reservation. |
|
%TICKETURL% |
The ticket URL associated with this reservation. |
|
%USEREMAILADDRESS% |
E-mail address of the requestor. |
|
%USERNAME% |
Username of the reservation requestor. |
|
%VMNAMES% |
List of reserved systems (HTML list). |
System
The following variables are associated with system messages.
|
%DATACENTER% |
The name of the data center. |
|
%HOSTSYSTEM% |
The name of the VM host system. |
|
%IMAGENAME% |
The name of the system image used to create the VM. |
|
%IPADDRESSES% |
A list of IP addresses associated with the system (comma-separated string). |
|
%RESOURCEPOOL% |
The resource pool name. |
|
%SERVER% |
The name of the server that is being reserved for a user. If a new VM is being created, this name is the same as the VM name. |
|
%SYSTEMPASSWORD% |
The system password (only included if “ReservedSystemReadyNotificationContainsPassword” is true). For Amazon EC2 systems, the variable is always included. |
|
%SYSTEMUPDATEDTIME% |
The time that the status of the system was last updated. |
|
%SYSTEMUSERNAME% |
User name associated with %SYSTEMPASSWORD% (only included if “ReservedSystemReadyNotificationContainsPassword” is true). |
|
%VMCONSOLEURL% |
URL for the VM Console. |
|
%VMNAME% |
The name of the virtual machine. |
Task
The following variables are associated with task messages.
|
%TASKID% |
The task ID. |
|
%TASKDESCRIPTION% |
The task description. |
|
%TASKTYPE% |
The task type. |
|
%TASKTYPESHORT% |
A shortened version of the task type. |
Detailed message
The following variable is associated with detailed messages.
|
%DETAILEDMESSAGE% |
The detailed message. |
Miscellaneous
The following variables are associated only with an Approval Required message.
|
%AUTOCANCEL% |
If the reservation is not approved in time (true or false), this message indicates whether the reservation is canceled automatically. |
|
%AUTOCANCELMESSAGE% |
If %AUTOCANCEL% is true, this message explains that the reservation is canceled automatically. Otherwise, no value. |
|
%APPROVALDEADLINE% |
If %AUTOCANCEL% is true, this message shows the time at which the reservation is canceled if it has not been approved. |
The following variable is associated with any message.
|
%CURRENTTIME% |
The current time. |
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |