VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Chapter 8, Using Capabilities, Templates and Rules
Volume Templates
117
requires Indicates that the template can acquire rules when required from other
templates that provide the specified capabilities. See “requires” on page 120
for more information.
description Describes a template in English.
descriptionid References the message catalog where localized versions of the description
may be found, and provides an index number for the description in the
catalog.
group Indicates the name of the group to which application volumes created from
this template belong.
rules Specifies the start of the section that contains the rules for selecting and
laying out storage, and which implement the capabilities that the template
provides. The rules usually operate on the values that were specified for the
arguments of the requested capabilities. See “Rules” on page 121 and
“Compound Rules” on page 131 for more information.
The following sections describe the keywords in detail:
◆ extends
◆ group
◆ inherits
◆ provides
◆ requires
For a formal definition of volume_template in the ISP language, see “Volume Template” on
page 141.
extends
A template can derive some of its properties by extending one or more base templates as shown in
this example:
volume_template DerivedTemplate {
extends BaseTemplate
rules {
...
}
};
By extending template BaseTemplate, the template DerivedTemplate:
◆ Provides all capabilities that BaseTemplate provides (see “provides” on page 119).
◆ Requires all capabilities that BaseTemplate requires (see “requires” on page 120).