What is a service template? How to create and associate Service templates?
The Versa Director facilitate a centralized mechanism for making configuration changes to the Versa FlexVNF. You can implement these changes using either, the CLI, the northbound interfaces or the GUI.
In the context of the Versa Director, these configuration changes are made using the Versa Director GUI, REST API and the Versa Director CLI.
The Versa FlexVNF has a very rich set of functionality and a typical SD-WAN or a NextGen Firewall usecase consists of large configuration sets.
The management of the CLI chunks is a mammoth task for an operator. To ease the management problem, Versa Director (NMS) provides you features like profiles or templates. A template looks for patterns or repetitive CLI commands and applies some variables depending upon the actual configuration in question. Thus a template is an abstraction of a huge set of repetitive CLI where most of the configuration is same as a few variable parameters.
An operator has to create a template once and then with customizable parameters use it across multiple Versa FlexVNFs. This reduces the administration effort drastically as the template creation is a one-time effort and can be shared across operators.
The current Versa Director release supports a rich set of templates for the majority of the SD-WAN use cases and this functionality is accessible from both UI and the REST API layer.
Though the templates have made the life of the operator much simpler, there still exist a few pain points because the templates are monolithic. These are its impact:
Service templates addresses these problems.
You can treat services templates as smaller sections of a template. Let's consider an example of a Master template that has some configuration for SD-WAN, NGFW, QoS etc. Service templates break down this problem into smaller fragments. The idea is to have separate templates for NGFW, QoS, etc and to have a place holder in the master template where you can refer to these. Thus, you can associate the main template to multiple service templates wherin each service template is maintained by the respective domain owner.
The security operator who is only with the NGFW or the Stateful Firewall policies will have to maintain only the security template. He need not bother to read the contents of the whole template. This allows various domain experts to manage their respective areas independently and allows them to concentrate only in their area of interest.
Logically a service template is a template with some specific service related configuration. You can also treat it as a sub template. It's very much like a normal template except that it consists of a smaller set of service related configuration. Just like the main template the service templates too have their own bind data.
The main template refers to this. The main template can actually refer to multiple such 'sub templates'. Sub templates are created independently and then associated with the main template.
If there is a change in the security related configuration, the main template need not be touched the security operator can make the modifications on the security related service template. If the security considerations are completely different the main operator can associate the main template to a different security related template.
A service template is reusable across templates and the independent main templates can refer to the same service template. So two main templates can refer to the same security template. After the security admin has defined a security template multiple users can refer to that independently.
The service template is org agnostic and you can also use the service template across organizations. For example, a QoS or a security policy that is the same for many organizations. Instead of creating separate templates by cloning or by other means, it is possible to create a single template and use it across organizations. This makes their management much simpler.
Consider a scenario where in the provider has a set of policy rules. These could be captured in the main template. This main template might be associated to a sub template and there is a possibility of an overlap or a contradiction of the policy rules. The Versa Director provides the flexibility to select which template, the main or the partial is given precedence over the other. It is possible for the main template to override the service template and vice versa.
Versa Director, Rel 16.1R1 supports these categories of service templates
While creating the service template using the Versa Director GUI with these categories, only the relevant and required Firewall and QoS configuration objects are allowed. You can then associate the service template using SD-WAN workflows in the GUI or from the Administration.
Versa Director will extend support to more categories in its next release. All enhancements shall be taken up but they are beyond the scope of this writeup.
Follow these steps to create a service template and associate it to the required post-staging template:
| Field | Description |
| Name | Specify the name of the service template |
| Organization | Select the organization from the drop down. |
| Type | Select the category or the type of service for this template. These are the options:
|
Alternatively, you can also follow these steps to create a service template:
| Field | Description |
| Name | Specify the name of the service template |
| Organization | Select the organization from the drop down. |
| Type | Select the category or the type of service for this template. These are the options:
|
Follow these steps to modify an existing service template:
NOTE: Service templates are meant to be reused along with different post-staging templates.
For example, Service Template S1 is tagged with Post-Staging templates P1, P2 and P3 and each of these templates have
different zones, networks, logging profiles with different definition in their own context.
In this case the service template creates a smaller context independent of any post-staging templates.
Service templates are currently used for limited purpose of creating rules and other available configuration options.