Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Creating a Service Template

    There are two stages in creating a template. This topic deals with the first stage, while the second stage is covered by Specifying Service-Specific Values.

    Service templates are specific to service definitions. Both are specific to service types, so that if you are dealing with an L3VPN service type, for example, both your service definition and service template must be of that type. A service template’s type is determined by the service variables (service specific values) it uses. Some service variables are specific to one service type only. A table in Specifying Service-Specific Values lists the available variables and their types.

    Note: You can create a service template only using the older version of the Services Activation Director GUI and not using the Connectivity Services Director GUI.

    1. Naming a Template and Selecting Configuration Options

    2. Configuration Options, Their Data Types and the Tabs Displayed

    Naming a Template and Selecting Configuration Options

    You create configuration pages as part of the process of selecting configuration options, to organize and group those options.

    To name the template :

    1. In the Network Activate task pane, select Service Design > Manage Service Templates > Create Service Template.

      The Create Service Template page appears, showing the supported device families above the Available Configuration panel and the Selected Configuration Layout panel.

    2. In the Name field, enter a unique name for the template (limit of 63 alphanumeric characters without spaces).
    3. (Optional) Enter a description of the template in the Description field (limit of 255 characters).

      The description is displayed when you double-click the template on the Service Template inventory page.

    The list in the Available Configuration panel displays the Junos OS configuration options available. In the Selected Configuration Layout panel, construct logical groupings by putting the options you select into pages.

    To select configuration options and create a configuration page:

    1. In the Create Service Template page, in the Available Configuration panel, expand the list of options by opening the list or searching, as described in Finding Configuration Options.
    2. Select an option in the Available Configurations panel and move it to a page in the Selected Configuration Layout panel.

      The first page, “Config Page 1,” is available by default.

      There are two ways to move an option from the Available Configurations panel to a page in the Selected Configuration Layout panel:

      a) Select an option, and drag it and drop it onto the name of the page or any options already on a page.

      b) Select the name of a page by clicking on it, then click the desired option, and finally click the arrow between the panels to transfer the option to the page.

      Any sequence is permissible, and there is no limit on the number of options a page can hold.

      Note: You cannot put children of the same parent into different pages.

      Note: Options that are either subsidiary or integral to others bring their respective parents and children with them when you move them onto a page. If you drill down and select a parameter deep in the hierarchy, such as L3 interface, dragging that parameter causes all the other parameters that require configuration to come with it. In this example, you get not only L3 interface, but also Name, both of which are under Vlan. This ensures that all the parameters required for a particular configuration option are present in your configuration group.

      Conversely, you cannot add an option of the ’choice’ data type directly to a page. Instead, add a child of the choice to add the choice itself.

    3. Select your configuration grouping by double-clicking the placeholder name, Config page x.

      On the right, the General tab appears.

    4. (Optional) In the Label field on the General tab, replace the placeholder name (Config Page x) with a more informative name.
    5. (Optional) Enter a description of the page in the Description field.
    6. Save your selections by electing another tab or another configuration option or configuration page.

      Clicking Next also saves your settings.

      To save and finish the template later, click Finish. To restart work on the template, you must modify it.

    Add or remove pages as desired.

    To add a page:

    • Click the plus icon [+] at the top left of the Selected Configuration Layout panel.

      A new page appears: “Config Page x.”

    To remove a page or a configuration option from a page:

    • Select the page or configuration option and click the X at the top left of the Selected Configuration Layout panel.

      The page disappears.

    Configuration Options, Their Data Types and the Tabs Displayed

    Table 1 lists the possible data types of the configuration options, and the tabs associated with each type.

    Table 1: Data Types and Tabs

    Data Types

    Tabs

    General

    Description

    Validation

    Advanced

    Container

    *

    *

      

     

    Table

    *

    *

    *

    *

    String - Key column in a table

    *

    *

    *

    *

    String

    *

    *

    *

    *

    Integer [Number]

    *

    *

    *

    *

    Boolean

    *

    *

      

    *

    Enumeration

    *

    *

     

    *

    Choice

    *

    *

     

    *

    • All table configuration options have a key column by default.

    • You can use any sequence to move options onto your pages.

    The subsequent task is Specifying Service-Specific Values.

    Modified: 2017-09-13