Related Documentation
Predefined Scripts for Cross Provisioning Platform
Cross Provisioning Platform provides predefined scripts that a service provisioner can use while creating a service. There are two types of scripts:
- GUI Script
In the Junos Space CPP context, the GUI script generates the user interface for interacting with the Cross Provisioning Platform service. The GUI defines the parameters for which a user specifies values. The GUI can define hidden fields and values that are passed to the server. The GUI also guides a user to enter valid values for the parameters to define a service order. In addition, the GUI script can provide some client-side validation.
- Flex scripts or Configuration scripts
The Juniper Networks XSLT Flex script derives input variables from the ServiceRequest.xml document, which is created from data a user inputs into the Junos Space CPP GUI, and generates JUNOS XML configuration that is passed to the intended Juniper Networks device. An XSLT Flex script for a Juniper device has two major components:
- Derivations Logic—In this section, input variables are extracted and additional parameters are derived.
- Configuration Logic—In this section, parameters derived from the derivation logic are used to construct the XML configuration that activates the service on a Juniper Networks device.
The Cross Provisioning Platform application provides predefined scripts based on the service type, feature type, and for troubleshooting. The following sections list these predefined scripts:
Predefined Service Scripts
Table 1 describes the predefined scripts based on the service type.
Table 1: List of Predefined Scripts Based on Service Type
Service Type | Vendor | Configuration Script | GUI Script | ||
---|---|---|---|---|---|
Script to CREATE Service | Script to Modify Service | Script to CREATE Service | Script to MODIFY Service | ||
LDP-based Point-to-Point service | Juniper Networks | PD_P2P_LDP_Create_Script_JNPR | PD_P2P_LDP_Modify_Script_JNPR | PD_P2P_LDP_Create_Script_JNPR | PD_P2P_LDP_Modify_Script_JNPR |
LDP-based Point-to-Point service | Alcatel-Lucent | PD_P2P_LDP_Create_Script_ALU | PD_P2P_LDP_Modify_Script_ALU | PD_P2P_LDP_Create_Script_JNPR | PD_P2P_LDP_Modify_Script_JNPR |
BGP-based Point-to-Point service | Juniper Networks | PD_P2P_BGP_Create_Script_JNPR | PD_P2P_BGP_Modify_Script_JNPR | PD_P2P_BGP_Create_Script_JNPR | PD_P2P_BGP_Modify_Script_JNPR |
L3VPN service | Juniper Networks | PD_L3VPN_Create_Script_JNPR | PD_L3VPN_Modify_Script_JNPR | PD_L3VPN_Create_Script_JNPR | PD_L3VPN_Modify_Script_JNPR |
L3VPN service | Alcatel-Lucent | PD_L3VPN_Create_Script_ALU | PD_L3VPN_Modify_Script_ALU | PD_L3VPN_Create_Script_JNPR | PD_L3VPN_Modify_Script_JNPR |
VPLS service | Juniper Networks | PD_VPLS_Create_Script_JNPR | PD_VPLS_Modify_Script_JNPR | PD_VPLS_Create_Script_JNPR | PD_VPLS_Modify_Script_JNPR |
Device Configlet service | Juniper Networks | PD_Device_Turn_Up_Create_Script_JNPR | PD_Device_Turn_Up_Modify_Script_JNPR | PD_Device_Turn_Up_Create_Script_JNPR | PD_Device_Turn_Up_Modify_Script_JNPR |
Predefined Feature Scripts
Table 2 describes the predefined scripts based on the feature type.
Table 2: List of Predefined Scripts Based on Feature Type
Feature Type | Vendor | Configuration Script | GUI Script |
---|---|---|---|
Bulk Service Modify Interface Migration | Juniper Networks | PD_Bulk_Service_Modify_Script_JNPR | PD_Bulk_Service_Modify_Script_JNPR |
Bulk Device Modify | Juniper Networks | PD_Bulk_Device_Modify_Script_JNPR | PD_Bulk_Device_Modify_Script_JNPR |
Interface Migration | Juniper Networks | PD_Interface_Migration_Script_JNPR | PD_Interface_Migration_Script_JNPR |
Interface Migration | Alcatel-Lucent | PD_Interface_Migration_Script_ALU | PD_Interface_Migration_Script_JNPR |
Predefined Troubleshooting Scripts
Table 3 describes the troubleshooting scripts.
Table 3: List of Predefined Scripts Based for Troubleshooting
Service Type | Troubleshooting Script |
---|---|
LDP-based Point-to-Point service | P2PLDPPredefinedScript |
BGP-based Point-to-Point service | P2PBGPPredefinedScript |
L3VPN service | L3VPNPredefinedScript |
VPLS service | VPLSPredefinedScript |