To create a service definition, you use the JUNOSe software’s macro language to specify the parameters that define the desired service. A macro file can define only one service—however, the file can have multiple templates to define characteristics of the desired service. You create service definitions independent of the Service Manager commands and operations, which are performed on the E-series router.
For detailed information about the JUNOSe software’s macro language, see the Command Line Interface chapter in JUNOSe System Basics Configuration Guide.
Figure 27 is an example of a service definition macro file that creates a tiered service. A tiered service typically provides set bandwidths for both inbound and outbound traffic for a subscriber. In this example, the input (inputBW) and output (outputBW) bandwidth values are parameterized. This example assumes that QoS profile triplePlayIP and QoS parameter maxSubscBW are configured. See Service Definition Examples for additional service definition examples.
Service Manager only tracks JUNOSe objects that are passed back in the env.setResult method when a service definition is executed. Table 134 describes the supported objects:
Table 134: JUNOSe Objects Tracked by Service Manager
Figure 27: Sample Service Definition Macro File
