Applying Policies to Virtual Types
When an asset is an instance of a virtual type, the set of policies that CentraSite applies to the asset depends on the virtual type's Inherit Base Type Policies setting. If the type's Inherit Base Type Policies option is enabled, CentraSite applies the policies of the base type to the asset in addition to the policies of the virtual type. For example, the Inherit Base Type Policies option is, by default, enabled for virtual services. Therefore, when CentraSite enforces policies for a virtual service, it applies the set of policies that are defined for the Virtual Service object type and the set of policies that are defined for the Service object type (the base type for the Virtual Service type).
If you disable the Inherit Base Type Policies option for a virtual type, CentraSite applies to the asset only the policies that are defined for the virtual type. For example, if you disable the Inherit Base Type Policies option for the Virtual Service object type, CentraSite applies to virtual services, only the policies that are defined for the Virtual Service type. Policies that are defined for the Service type are not applied.
The following table summarizes how the set of policies that CentraSite enforces for a virtual type is affected by the state of the Inherit Base Type Policies option.
If the virtual type's "Inherit Base Type Policies" option is... | And the policy is defined for the... | The instances of the virtual type will have... |
ENABLED | Base Type | Base Type Policies |
ENABLED | Virtual Type | Virtual Type Policies |
ENABLED | Base Type —AND— Virtual Type | Base Type Policies —AND— Virtual Type Policies |
DISABLED | Base Type | None |
DISABLED | Virtual Type | Virtual Type Policies |
DISABLED | Base Type —AND— Virtual Type | Virtual Type Policies |
For more information about virtual types and the Inherit Base Type Policies option and which predefined types in CentraSite are virtual types, see the CentraSite Administrator’s Guide.
Note: | The Inherit Base Type Policies option does not affect policies that are assigned to the generic Asset type (that is, policies that apply to all assets). Policies that are associated with the Asset type are applied to both base types and virtual types, irrespective of the Inherit Base Type Policies setting. |