{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% block form_id %}add_interface_profile_form{% endblock %} {% block form_action %}{% url 'horizon:admin:inventory:addinterfaceprofile' host_id %}{% endblock %} {% block modal-header %}{% trans "Create Interface Profile" %}{% endblock %} {% block modal-body %}
{% include "horizon/common/_form_fields.html" %}
{{ "
With the following configuration:" }} {{ "

Port Configuration:" }}
{% for ports in host.ports %}
  • {{ ports.namedisplay }} {{": "}} {{ ports.pdevice }} {% if ports.autoneg != 'na' %} {{" | Auto Neg ="}} {{ ports.autoneg }} {% endif %} {% if ports.bootp %} {{" | bootp-IF"}} {% endif %}
  • {% endfor %} {{ "

    Interface Configuration:" }}
    {% for interfaces in host.interfaces %}
  • {{ interfaces.ifname }} {{": "}} {{ interfaces.ifclass }} {{ " | " }} {{ interfaces.iftype }} {% if interfaces.iftype != 'ae' and interfaces.iftype != 'vlan' %} {{ " | " }}{{"PORTS ="}} {{ interfaces.ports }} {% endif %} {% if interfaces.iftype == 'ae' or interfaces.iftype == 'vlan' %} {{ " | " }}{{"INTERFACES ="}} {{ interfaces.uses }} {% endif %} {% if interfaces.iftype == 'ae' %} {{" | "}} {{ interfaces.aemode }} {% if interfaces.aemode == 'balanced' %} {{" | "}} {{ interfaces.txhashpolicy }} {% endif %} {% if interfaces.aemode == 'active_standby' %} {{" | "}} {{ interfaces.primary_reselect }} {% endif %} {% endif %} {{" | MTU="}} {{ interfaces.imtu }}
  • {% endfor %} {{ "
    " }}

    {% trans "Description" %}:

    {% trans "Create a new Interface Profile based on the interface and port configuration of this host." %}

    {% endblock %} {% block modal-footer %} Cancel {% endblock %}