{% extends load_base %} {% load i18n %} {% load gui_utils %} {% block javascript %} {% include "gui/vm/monitoring_js.html" with graphs=graphs %} {% endblock %} {% block base_nav %} {% include "gui/vm/navigation.html" with li_monitoring="active" %} {% include "gui/vm/monitoring_navigation.html" with mon_net="active" %} {% endblock %} {% block base_content %}
{% with desc_bandwidth=graph_items|keyvalue:'net-bandwidth'|keyvalue:'desc' desc_packets=graph_items|keyvalue:'net-packets'|keyvalue:'desc' %}
{% for nic_id in vm_nics %}
{{ vm.alias }} › {% blocktrans %}nic {{ nic_id }} › bandwidth{% endblocktrans %} {% include "gui/vm/monitoring_graph.html" with desc=desc_bandwidth %}
{{ vm.alias }} › {% blocktrans %}nic {{ nic_id }} › packets{% endblocktrans %} {% include "gui/vm/monitoring_graph.html" with desc=desc_packets %}
{% endfor%}
{% endwith %} {% endblock %}