Understanding Firewall Policy Templates
With the firewall policy template feature, you can use a CLI-based template editor to send configuration details to multiple devices. Because it is Device Management Interface (DMI) schema-driven, this template is used to generate a device deployable configuration by replacing the parameterized elements (variables) with actual values and evaluating the control logic statements.
When you do not have an object in Security Director for a firewall policy, you can create template with the Junos CLI. After you create a template, you can add it in firewall policy and then refer it in rules. When you deploy the firewall policy, all the assigned devices are also deployed. This template is based on the Junos Space CLI quick templates.