{% extends 'generic/_base.html' %} {% load buttons %} {% load custom_links %} {% load helpers %} {% load perms %} {% load plugins %} {% load tabs %} {% load i18n %} {% comment %} Blocks: - page-header: Content displayed above the primary page content - breadcrumbs: Breadcrumb list items (HTML
  • elements) - object_identifier: Unique identifier for the object - title: Page title - subtitle: Additional context displayed below the title - controls: Control elements displayed between the header and content - control-buttons: Action buttons (add/edit/delete/etc.) - extra_controls: Any additional action buttons to display - tabs: Page tabs - content: Primary page content - modals: Any pre-loaded modals Context: - object: The object being viewed {% endcomment %} {% block page-header %}
    {{ block.super }} {% endblock page-header %} {% block title %}{% endblock %} {% block subtitle %} {% endblock subtitle %} {% block alerts %} {% plugin_alerts object %} {% endblock alerts %} {% block content %}

    Create a GNS3 Virtual-lab that models run-state (configuration and physical topology) of Arista switches present in Netbox's devices table

    The netbox_ptov plugin passes the values you provide in the form below to the p_to_v function of the dcnodatg module. This instantiates a virtual-lab project on the GNS3 server in which the startup configurations and physical links between the Arista switches you selected are all replicated.

    This is not an instantaneous process, but is several orders of magnitude faster than manually harvesting the switch's runstate data and building out a virtual-lab. (A 14-switch lab took just under 60-seconds to fully instantiate.)

    Refer to the netbox_ptov plugin documentation and repository for further information.

    Populate the fields below and click the "submit" button to generate a virtual-lab

    {% csrf_token %} {{ form.as_p }}
    {% if messages %}
    Results
      {% for message in messages %}
    • {% if 'safe' in message.tags %}{{ message|safe }}{% else %}{{ message }}{% endif %}
    • {% endfor %}
    {% endif %}
    {% endblock content %} {% block modals %} {% include 'inc/htmx_modal.html' %} {% endblock modals %}