{% extends 'generic/_base.html' %} {% load helpers %} {% load form_helpers %} {% block title %}CER Import / Sync{% endblock %} {% block content %}
Upload a CER ERL export
{% csrf_token %} {% render_field form.csv_file %} {% render_field form.dry_run %}
How syncing works
  • In {% if cer_admin_url %}CER Admin {% else %}CER Admin{% endif %}, open the ERL list (National E911 or Conventional) and click Export. Upload the CSV unchanged.
  • ERLs are matched by name, so re-importing a newer export updates them in place. National E911 ERLs import as Migrated, Conventional ones as In CER. The Default ERL is skipped.
  • New ERLs are matched to a Site by name prefix (ADMN 0-2 becomes ADMN), then by street address. ERLs with no match are imported without a site.
  • Start with Dry run to preview the changes. Nothing is saved until you untick it.
{% if next_elin %}Next available ELIN: {{ next_elin.number }}{% endif %}
{% if unassigned and not dry_run %}
ERLs without a site
Create the missing Site (prefilled from CER's address), or map the prefix to an existing Site with the erl_site_map setting, then click Re-match sites. No file upload needed.
{% if perms.netbox_cisco_cer.change_erl %}
{% csrf_token %} {% if site_map %}erl_site_map: {% for k, v in site_map.items %}{{ k }} → {{ v }}{% if not forloop.last %}, {% endif %}{% endfor %}{% endif %}
{% endif %} {% include "netbox_cisco_cer/_site_groups.html" with groups=unassigned %}
{% endif %} {% if result %}
{% if dry_run %}Dry run - nothing saved{% else %}Saved{% endif %}
CER ERL export: {{ result.rows }} rows
Created{{ result.created|length }}
Updated{{ result.updated|length }}
Unchanged{{ result.unchanged }}
No matching site{{ result.no_site|length }}{% if result.no_site and not dry_run %} — assign sites{% endif %}
ERLs missing from this export{{ result.missing_from_export|length }}
Errors{{ result.errors|length }}
{% if result.errors %}
Errors
{% endif %} {% if result.missing_from_export %}
ERLs of this type not in this export (deleted or migrated in CER?)

{{ result.missing_from_export|join:", " }}

{% endif %} {% if result.no_site_groups and dry_run %}
No matching site
{% include "netbox_cisco_cer/_site_groups.html" with groups=result.no_site_groups %} {% endif %} {% if result.created %}
Created

{{ result.created|join:", " }}

{% endif %} {% if result.updated %}
Updated

{{ result.updated|join:", " }}

{% endif %}
{% endif %} {% endblock %}