Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

141Using capabilities, templates and rules
Volume templates
capabilities.
See “requires” on page 143.
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.
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 144.
See “Compound rules” on page 154.
tag Specifies an optional default tag for a volume.
The following sections describe the keywords in detail:
extends
inherits
provides
requires
See “Volume template” on page 163.
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 143.
Requires all capabilities that BaseTemplate requires.
See “requires” on page 143.
Inherits all capabilities that BaseTemplate inherits.
See “inherits” on page 142.
Obtains and applies all the rules of BaseTemplate.