| Home / Usage |
|---|
Create Global Variables using Jinja and static values:
Create Site Specific Variables. The record for metadata gets data using the following Jinja:
{
"site_subnet": "{{'10.48.0.0/12' | ipaddr('subnet') | ipsubnet(24,devmeta.site_id|int-1)}}",
"vlan_count": "4",
"vlan_cidr": "28"
}
When running the automation Render Metafield Template with a Device we can see how the Metadata would be applied to the device if associated to this template.

Once Create these can be used in Script Templates.
