3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

9.4
Modifying Templates
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
9.4 Modifying Templates
You can modify a template at any time by adding, replacing, or removing template
parameters, regardless of whether the template has been applied to create logical disks,
virtual volumes, or common provisioning groups. When you edit a template, no changes are
made to objects you have created with that template.
9.4.1 Viewing Template Parameters
Before modifying a template it may be helpful to view the template’s existing parameters.
To view a template’s current parameters, issue the showtemplate <template_name>
command.
If name of the template you wish to modify is unknown, you can alternately display templates
in the system filtered by object type.
To view templates by object type, issue the showtemplate -t <type> command, where
<type> can be VV (virtual volume), LD (logical disk), or CPG (common provisioning group).
9.4.2 Adding and Replacing Template Parameters
To add parameters to an existing template or replace parameters in an existing template,
issue the
settemplate <option> <template_name> command, where:
<option> includes the parameter and, if applicable, the parameter’s value that is
being added or replaced in the template. For a descriptive list of valid options that can
be applied to your template, see the
createtemplate command in the InForm OS
Command Line Interface Reference.
<template_name> is the name of the template being modified.
9.4.3 Removing Template Parameters
To remove parameters in an existing template, issue the settemplate -remove
<option> <template_name>
command, where:
<option> is the parameter being removed from the template. The parameters are the
options that you specified during the creation of the template. It is not necessary to
specify the parameter’s value during removal.
<template_name> is the name of the template being modified.