N1 Service Provisioning System 4.1 User's Guide

Other Component Tags

Within the opening <component> tag and the closing </component> tag in the component's XML file are a number of other tags that define:

By editing the XML definition of the component, you can add other tags that define:

Table 5–2 describes the XML tags that you can use to modify or extend a component.

Table 5–2 XML Tags for the Component Schema

Schema Tag 

Required/Optional 

Description 

resourceList 

Required 

A list of the resources that make up the component. If you define the component through the HTML user interface, this list will include each resource that you have added to the component. 

varList 

Optional 

Contains a list of configuration variables for the component. Each variable is assigned a name and, optionally, a default value. 

installList 

Required. 

Includes one or more installSteps tags, each of which includes a grouped block of installation instructions. By default, installList includes a single installSteps block which includes a single command: deployAllResources. 

uninstallList 

Required 

Includes one or more uinstallSteps tags, each of which includes a grouped block of instructions for un-installing (removing) the component. By default, uninstallList includes a single installSteps block which includes a single command: deployAllResources. 

controlList 

Optional 

Defines one or more higher-level procedures, such as start and stop, that can be called to control the component. 

snapShotList 

Optional 

Defines what should be included in a snapshot. Each snapshot can be assigned a name, a list of files to be included, and operations (such as console commands) to be performed before or after the snapshot is taken. 

diff 

Optional 

Defines what should be excluded during snapshots. 

For details about each of these tags, please see N1 Service Provisioning System 4.1 Reference Guide.