Creating a Service Definition for Canoga Perkins NIDs
Before you create a Cross Provisioning Platform (CPP) service definition, you must complete the following tasks:
Import scripts that define Juniper Networks devices into the system.
Import scripts that define Canoga Perkins NIDs into the system.
To create a service definition for Canoga Perkins NIDs:
- In the Cross Provisioning Platform task pane,
select CPP > Service Definition.
The Service Definition window appears.
- Click +. The Create Service Definition window appears.
- Enter values for the required parameters.
Enter a name for the service definition.
Enter a unique ID to associate with this service definition in the range 1 through 2147483647.
Note: The service definition ID is optional. If you do not provide any value in this field, the default value is -1. In the service definition selection grid, no value is displayed in the ID column. Each service definition is assigned a unique ID. If you give an existing ID value while creating a new service definition, an error occurs.
Enter a description of the service to distinguish the operation from others.
Select the service type from the list of available types:
Predefined service types
Customized service types
Note: You can create additional service types in the CPP > Service Types page.
Select one of the following operation type:
Create—Select this operation type to associate service creation scripts to the service definition.
Modify—Select this operation type to associate service modification scripts to the service definition.
Select a Canoga Perkins script.
The Select Scripts section lists the scripts that belong to various vendors along with the script version number. To find the script that you want to add, you can perform a search by using the search box.
Click Add Scripts to add a script to the service definition.
The Selected Scripts section lists the scripts that you have selected. The scripts are listed based on the vendor type and operation type.
To delete a script, in the Action column click the delete icon.
- Click Create.
- In the Cross Provisioning Platform task pane, select CPP > Service Definitions.
- Select the service definition you just created and select Action > Publish Service Definition. The State column indicates when the service definition is published.
The value in the ID field is associated with a service definition. This identifier can be used when you are searching for a particular service definition while creating a service order. You can search the service definition by its name, type or unique ID. You can modify the ID only during the migration of old service definition IDs.
During migration, the default value of the ID is -1. You can modify this value using database executable scripts during migration.
The migration scripts enable you to update the existing service definitions with IDs. A csv file that contains the service definition names and their unique identifiers is provided as an input. The migration script reads the names of the service definitions and the corresponding unique identifiers from the file and updates the service definitions in the database service policy table.