{% with speed_test.get_bond_configuration as bond_configuration %} Packet distribution: {% if bond_configuration.balancing == "flowlet" %}Flowlet, {{ bond_configuration.flowlet_delta }} ms delta{% elif bond_configuration.balancing == "idmpq" %}IDMPQ{% else %}Weighted round robin{% endif %}
{% if 'automatic_reorder_max_hold' in bond_configuration %} Automatic reorder max hold:
{% endif %} {% if 'automatic_reorder_max_hold' not in bond_configuration or not bond_configuration.automatic_reorder_max_hold %} Reorder max hold: {{ bond_configuration.reorder_max_hold }} ms
{% endif %} Compression:
{% if 'shape_traffic' in bond_configuration %} Traffic shaping:
{% else %} QoS profile: {% if bond_configuration.qos_profile %}{{ bond_configuration.qos_profile }}{% else %}{% endif %}
{% endif %} Batched leg send operations:
Clamp TCP:
{% if bond_configuration.tunnel_security %} Tunnel security: {{ bond_configuration.tunnel_security }}
{% else %} Tunnel authenticate:
{% endif %} {% if bond_configuration.bonder_tcp_congestion_control_algorithm %} Bonder TCP congestion control algorithm: {{ bond_configuration.bonder_tcp_congestion_control_algorithm }}
{% else %} Bonder TCP congestion control algorithm::
{% endif %} {% if bond_configuration.agg_tcp_congestion_control_algorithm %} Aggregator TCP congestion control algorithm: {{ bond_configuration.agg_tcp_congestion_control_algorithm }}
{% else %} Aggregator TCP congestion control algorithm::
{% endif %} {% if 'bridge_enabled' in bond_configuration %} TCP proxy: {% if bond_configuration.bridge_enabled %}, concurrency {{ bond_configuration.bridge_concurrency }}, {{ bond_configuration.bridge_congestion_control_algorithm }} congestion control{% endif %}
{% endif %} {% if bond_configuration.legs %}
Legs
{% for leg in bond_configuration.legs %} Leg {{ leg.id }}: interface {{ leg.interface|default_if_none:"n/a" }}, {{ leg.down_speed }} Mbps down, {{ leg.up_speed }} Mbps up{% if leg.failover %}, failover{% endif %}{% if leg.interface_mtu %}, MTU {{ leg.interface_mtu }} bytes{% endif %}
{% empty %} No up legs during test.
{% endfor %} {% endif %} {% endwith %}