{% extends "base.html" %} {% block title %}Create infrastructure · NEXXVU{% endblock %} {% block content %}

Inventory · Ecosystem → Infrastructure → Device

{{ ['Stage 1 of 3 · Ecosystem','Stage 2 of 3 · Infrastructure: location','Stage 2 of 3 · Infrastructure: network zone','Stage 3 of 3 · Device','Review and confirm'][draft.step-1] if draft and draft.status=='draft' else 'Add to inventory' }}

Defaults are pre-selected; change them only if you want something else. Nothing is added until final confirmation.

{{ draft.status|title if draft else 'Not started' }}
{% if error %}{% endif %} {% if not draft %}

What would you like to add?

One wizard with three stages: an ecosystem holds infrastructure (locations and network zones), which holds devices. Start wherever you need; what already exists is pre-selected.

{% for entry, label in [('ecosystem','Add ecosystem'),('infrastructure','Add infrastructure'),('device','Add device')] %}
{% endfor %}
{% if drafts %}

Saved drafts

{% endif %} {% elif draft.status=='onboarding' %}

Continue the device setup

Infrastructure remains a draft. Platform verification and final confirmation are still required.

Resume the existing onboarding flow
{% elif draft.status!='draft' %}

{{ draft.status|title }}

Return to inventory
{% else %}
{% set d=draft.data %} {% if draft.step==1 %}

Choose an ecosystem

An ecosystem groups everything one organization or site operates. The first one created is the default.

New name and timezone apply only when drafting a new ecosystem.

{% elif draft.step in [2,3] %}{% set location=draft.step==2 %}{% set kind='location' if location else 'zone' %}

{{ 'Where is it? (location)' if location else 'Which network? (network zone)' }}

Within {{ plan.ecosystem.name }}. Skip leaves this relationship unassigned.

{% if location %}{% for key, title in [('address','Street address'),('city','City'),('region_or_state','Province / state / region'),('country','Country')] %}{% endfor %}{% endif %}

Existing selections take precedence. New locations use the site type.

{% elif draft.step==4 %}

Would you like to add a device now?

Proxmox, MikroTik and Ubuntu/Linux devices are added with the device wizard: connect, identify, set relationships, then NEXXVU provisions and verifies read-only monitoring.

No device connection or target-side change occurs on this page.

{% else %}

Review proposed infrastructure

{% include 'infrastructure_plan.html' %}

{{ 'Continue to the device; all records remain drafts until its final confirmation.' if d.asset_mode=='supported' else 'This creates infrastructure only. No assets, credentials or monitoring checks will be created.' }}

{% endif %}
{% if draft.step>1 %}{% endif %}{% if draft.step in [2,3] %}{% endif %}{% if draft.step<5 %}{% if draft.step<4 and d.asset_mode!='supported' %}{% endif %}{% else %}{% endif %}
{% endif %}
{% endblock %} {% block scripts %}{% endblock %}