Sun N1 Service Provisioning System 5.1 Operation and Provisioning Guide

Grouping Simple Components in Container Components

You might want to create a container component if you need to deploy multiple simple components as a group to the same host or host set. Grouping simple components speeds deployment time and ensures that no component is forgotten when the set of components is deployed.

ProcedureHow to Create a Container Component

Before You Begin

To create a container component, you must have Create, Edit, Delete permission on the folder in which you want to create the component.

Steps
  1. From the Components page, create a new component.

    1. In the Component field, type the name of the new component.

    2. In the Type field, select System#container.

    3. In the Description field, type a description of the new component.

    4. Click Create.

  2. In the Referenced Components section, add components to the container.

    • If the components you need to reference already exist, click Reference Existing.

      The Reference Existing Components in Current Component window appears.

      1. Select the component that you want to reference in the container component and click Reference Checked Components.

        If you reference a component that contains component variables, the component variables are listed in a table before they are added to container component.

      2. If necessary, set the component variable's default value in the text field next to the component variable name.

      3. Click Continue to Reference Components.

        You are returned to the container component's Edit page. The referenced component is displayed in the Referenced Components table.

    • If the component you need to reference does not exist, click Check In New.

      Create the new component.

      For information about how to create a new component, see Chapter 2, Components, in Sun N1 Service Provisioning System 5.1 Plan and Component Developer’s Guide.

      After you have created the new component, the container component's Referenced Components table refreshes with the new component listed.

  3. If necessary, provide values for the component variables that need to be defined by the container component.

    If a component has a :[container....] substitution variable, the container component needs to define the value.