Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

Defines the English name of the capability that is displayed in the
VEA.
display_name
References the message catalog where localized versions of the display
name may be found, and provides an index number for the display
name in the catalog.
display_name_id
Defines a variable that may be specified as a parameter and its value
to a capability. A template can use the variables in its rules section to
provide the requested capability. Permitted variable types are int or
string.
var
Defines the default value of a capabilitys parameter if no value is
specified.
See Capabilities on page 146.
defaultvalue
The following example is a sample capability definition:
capability DataMirroring {
display_name "Data Mirroring"
display_name_id "{b84f1c64-1dd1-11b2-8b42-080020feef8b}", 3
description "Volume has multiple copies of data."
descriptionid "{b84f1c64-1dd1-11b2-8b42-080020feef8b}", 4
extends DataRedundancy
var nmirs:int {
display_name "Number of data copies"
display_name_id "{b84f1c64-1dd1-11b2-8b42-
080020feef8b}", 5
description "Specify the number of copies of data."
descriptionid "{b84f1c64-1dd1-11b2-8b42-080020feef8b}",
6
defaultvalue 2
}
};
Inheritance of capabilities
The extends keyword in a capability definition allows a capability to inherit some
of the properties of one or more base capabilities. This implies that such a derived
capability has a relationship with these base capabilities.
The following rules are applied by the inheritance mechanism:
A derived capability inherits variables from all its base capabilities.
147Using capabilities, templates and rules
Capabilities