Sun N1 Service Provisioning System 5.1 Plan and Component Developer's Guide

ProcedureHow to Create a Custom Plan

You can create a plan by using a schema-validating editor, such as TurboXML, or on the Advanced Edit page of the browser interface.

This procedure describes how to import a plan that you have written by using an XML editor.

Steps
  1. Write a plan.

    See the XML schema elements described in Chapter 2, Shared Schema Used by Components and Simple Plans, in Sun N1 Service Provisioning System 5.1 XML Schema Reference Guide and Chapter 4, Plan Schema, in Sun N1 Service Provisioning System 5.1 XML Schema Reference Guide.

  2. Launch the browser interface and go to the Plans page.

  3. (Optional) Click Change Folder and specify the folder that will contain the new plan.

    A window appears where you specify the name of the folder in which to create the component.

    • If the folder exists, select the name of the folder, and click Change to Selected Folder.

      The Plans page displays the list of plans in the specified folder.

    • If the folder does not exist, create the folder.

      1. Specify the parent folder, and click New Folder.

        The Create New Folder window appears.

      2. Type the name of the new folder, and click Create.

        The new folder inherits its permissions from its parent folder. After you click Create, the folder tree displays with the new folder selected.


        Note –

        You cannot create multiple folder levels at one time. To create several nested folders, you must return to the Change Folder window and repeat steps A and B.


      3. After the folder is created, select the name of the folder, and click Change to Selected Folder.

        The Plans page displays showing the list of plans in the specified folder.

  4. Type the name and brief description for the plan that you want to create, and click Create.

    The Advanced Edit page for the plan appears.

    The provisioning system creates an XML skeleton for the plan.

  5. In the Plan Definition field, do the following:

    • Enter the XML for the plan.

    • To import a plan that is stored on your local system, type the full path name of the file or click the Browse button. Then, click Replace.

  6. Click Check In.

    A window appears that tells you that you are about to check in a plan. The plan is assigned Version 1.0.

  7. Click Continue To Check In.