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

inherits
If a template specifies that it can inherit a capability, it provides that capability
when required. Inheriting a capability is equivalent to the combination of requiring
and providing a capability.
See requires on page 152.
See provides on page 151.
The following example demonstrates the application of the inherits keyword:
volume_template ReliableSnapshot {
inherits Reliable
provides Snapshot
rules {
...
}
};
Without the inherits keyword, this example would use the following template
definition:
volume_template ReliableSnapshot {
requires Reliable
provides Reliable, Snapshot
rules {
...
}
};
provides
A template provides one or more capabilities as defined by its rules, or by requiring
capabilities.
See requires on page 152.
Any variables that are defined for the capability can be used by the templates
rules.
The following example demonstrates the application of the provides keyword,
by defining a template, ReliableT, that provides the Reliable capability, and
which uses the NMIRS variable of the capability to set the number of mirrors:
volume_template ReliableT {
provides Reliable
rules {
151Using capabilities, templates and rules
Volume templates