{% extends 'generic/object.html' %} {% load custom_links %} {% load forward_netbox_helpers %} {% load helpers %} {% load plugins %} {% load i18n %} {% block control-buttons %}
{% custom_links object %}
{% include 'forward_netbox/partials/ingestion_merge_button.html' with object=object %}
{% endblock control-buttons %} {% block tabs %}
{% include 'forward_netbox/partials/object_tabs.html' with object=object %}
{% endblock tabs %} {% block content %}
{% trans "Ingestion Information" %}
{% trans "Name" %} {{ object.name }}
{% trans "Sync" %} {{ object.sync.name }}
{% trans "Branch" %} {% if object.branch %} {{ object.branch.name }} {% else %} {{ ""|placeholder }} {% endif %}
{% trans "Job" %} {% if object.job %} {{ object.job }} {% else %} {{ ""|placeholder }} {% endif %}
{% trans "Merge Job" %} {% if object.merge_job %} {{ object.merge_job }} {% else %} {{ ""|placeholder }} {% endif %}
{% trans "Status" %}
{% include 'forward_netbox/partials/ingestion_status.html' with object=object %}
{% trans "Validation" %} {% if object.validation_run %} {{ object.validation_run.get_status_display }} {% else %} {{ ""|placeholder }} {% endif %}
{% trans "Snapshot Selection" %} {{ object.get_snapshot_summary.snapshot_selector|placeholder }}
{% trans "Snapshot ID" %} {{ object.get_snapshot_summary.snapshot_id|placeholder }}
{% trans "Snapshot State" %} {{ object.get_snapshot_summary.state|placeholder }}
{% trans "Snapshot Created" %} {{ object.get_snapshot_summary.created_at|placeholder }}
{% trans "Snapshot Processed" %} {{ object.get_snapshot_summary.processed_at|placeholder }}
{% trans "Created" %} {{ object.created }}
{% plugin_left_page object %}
{% include 'forward_netbox/partials/ingestion_statistics.html' with object=object %}
{% render_progress_card object.job statistics active_stage merge_job=merge_job merge_disabled=merge_disabled %}
{% trans "Forward Snapshot Metrics" %}
{% if object.get_snapshot_metrics_summary %} {% for key, value in object.get_snapshot_metrics_summary.items %} {% endfor %}
{{ key }} {{ value|placeholder }}
{% else %} {% trans "No snapshot metrics were returned for this ingestion." %} {% endif %}
{% if object.snapshot_metrics %}
{% include 'extras/inc/configcontext_data.html' with title="Snapshot Metrics (Raw)" data=object.snapshot_metrics format="json" copyid="forward-ingestion-snapshot-metrics" %}
{% endif %} {% if object.model_results %}
{% include 'extras/inc/configcontext_data.html' with title="Model Results" data=object.get_model_results_summary format="json" copyid="forward-ingestion-model-results" %}
{% endif %}
{% include 'extras/inc/configcontext_data.html' with title="Execution Summary" data=object.get_execution_summary format="json" copyid="forward-ingestion-execution-summary" %}
{% include 'inc/panels/custom_fields.html' %} {% plugin_right_page object %}
{% include 'forward_netbox/partials/job_logs.html' with job=object.job merge_job=merge_job job_results=job_results merge_job_results=merge_job_results active_stage=active_stage merge_disabled=merge_disabled %}
{% endblock content %} {% block modals %} {% include 'inc/htmx_modal.html' with size='lg' %} {% endblock modals %}