{# SPDX-License-Identifier: Apache-2.0 #} {# Copyright (C) 2025 Marcin Zieba #} {% extends 'base/layout.html' %} {% block title %}Bulk YAML Import — {{ profile.name }}{% endblock %} {% block content %}
Bulk YAML Import — {{ profile.name }}

Upload a YAML file to bulk-create mappings for this profile. Existing records are skipped (no duplicates created).

{% csrf_token %}
Class → Role Mapping format:
- source_class: Server
  creates_rack: false
  role_slug: server
- source_class: Cabinet
  creates_rack: true
- source_class: Patch Panel
  ignore: true
Device Type Mapping format:
- source_make: Cisco
  source_model: Catalyst 2960X
  netbox_manufacturer_slug: cisco
  netbox_device_type_slug: cisco-catalyst-2960x
Cancel
{% endblock %}