{% bs_icon 'ethernet' %} eth{{ forloop.counter0 }} · {{ network.target|default:_("no target") }}
- -{% trans "Source" %} {{ network.nic|default:"—" }}
-{% trans "IPv4" %} {{ network.ipv4|join:", "|default:_("unknown") }}
-{% trans "Device details" %}
--
-
- {% trans "Type" %}
- {{ network.type }} -
- {% trans "MAC" %}
- {{ network.mac }} -
- {% trans "Model" %}
- {{ network.model|default:"—" }} -
- {% trans "NWFilter" %}
- {{ network.filterref|default:_("None") }} -
- {% trans "IPv6" %}
- {{ network.ipv6|join:", "|default:_("unknown") }} -
{% trans "QoS limits" %} · {% if network.inbound and network.outbound %}{% trans "inbound, outbound" %}{% elif network.inbound %}{% trans "inbound" %}{% elif network.outbound %}{% trans "outbound" %}{% else %}{% trans "none" %}{% endif %}
- {% if network.inbound %}{% include 'instances/nic_qos_form.html' with nic=forloop.counter0 direction="inbound" limit=network.inbound %}{% endif %} - {% if network.outbound %}{% include 'instances/nic_qos_form.html' with nic=forloop.counter0 direction="outbound" limit=network.outbound %}{% endif %} -{% trans "Average and peak are in KiB/s, burst in KiB. A running VM gets a change after it is powered off and on." %}
-{% bs_icon 'info-circle' %} {% trans "In most configurations, macvtap does not work for host to guest network communication" %}
- {% endif %} +{% bs_icon 'ethernet' %} eth{{ forloop.counter0 }}
+{% trans "Device details" %}
+-
+
- {% trans "Type" %}
- {{ network.type }} +
- {% trans "MAC" %}
- {{ network.mac }} +
- {% trans "Model" %}
- {{ network.model|default:"—" }} +
- {% trans "NWFilter" %}
- {{ network.filterref|default:_("None") }} +
- {% trans "IPv6" %}
- {{ network.ipv6|join:", "|default:_("unknown") }} +
{% trans "QoS limits" %} · {% if network.inbound and network.outbound %}{% trans "inbound, outbound" %}{% elif network.inbound %}{% trans "inbound" %}{% elif network.outbound %}{% trans "outbound" %}{% else %}{% trans "none" %}{% endif %}
+ {% if network.inbound %}{% include 'instances/nic_qos_form.html' with nic=forloop.counter0 direction="inbound" limit=network.inbound %}{% endif %} + {% if network.outbound %}{% include 'instances/nic_qos_form.html' with nic=forloop.counter0 direction="outbound" limit=network.outbound %}{% endif %} +{% trans "Average and peak are in KiB/s, burst in KiB. A running VM gets a change after it is powered off and on." %}
+{% bs_icon 'info-circle' %} {% trans "In most configurations, macvtap does not work for host to guest network communication" %}
+ {% endif %} + {# the dialogs of Edit and Add QoS #} {% if network.type != "hostdev" %}