{% extends 'netbox_meraki/base.html' %} {% block page_content %}

{% if object %}Edit{% else %}Add{% endif %} Site Name Rule

Site Name Transformation Rule
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %} {{ form.name.help_text }}
{{ form.priority }} {% if form.priority.errors %}
{{ form.priority.errors }}
{% endif %} Lower values are evaluated first
{{ form.enabled }}
{{ form.regex_pattern }} {% if form.regex_pattern.errors %}
{{ form.regex_pattern.errors }}
{% endif %} {{ form.regex_pattern.help_text }}
{{ form.site_name_template }} {% if form.site_name_template.errors %}
{{ form.site_name_template.errors }}
{% endif %} {{ form.site_name_template.help_text }}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors }}
{% endif %} Optional description of what this rule does
Examples:
  • Pattern: ^(.+)-(.+)-(.+)$
    Template: {0} - {1} - {2}
    Transforms: asia-south-oil → asia - south - oil
  • Pattern: ^branch-(\d+)$
    Template: Branch Office {0}
    Transforms: branch-001 → Branch Office 001
Cancel
{% endblock %} {% block javascript %} {% endblock %}