{% macro header_row() %} Count Action Serial number Platform HW rev. IP-Address PnP flow Status First seen Last contact Current job Current version Target version {% if debug %} Current image Target image Size Free space Destination {% endif %} {% if debug %} Backoff {% endif %} {% endmacro %} {% macro add_empty_rows() %} {% set min_rows = 50 %} {% if devices|length < min_rows %} {% set current_rows = devices|length %} {% set num_columns = 17 %} {%if debug %} {% set num_columns = num_columns + 6 %} {% endif %} {% for i in range (0, min_rows - current_rows) %} {{ loop.index + current_rows}} {% for c in range(0, num_columns) %} {% endfor %} {% endfor %} {% endif %} {% endmacro %}

Open PnP server status

{{ header_row() }} {% for device in devices %} {% if debug %} {% else %} {% endif %} {% if debug %} {% endif %} {% if debug %} {% endif %} {% endfor %} {{ add_empty_rows() }} {{ header_row() }}
{{ loop.index }}
{{device.serial }}{{ device.serial }}{{ device.platform }} {{ device.hw_rev }} {{ device.ip_address }} {{ device.pnp_flow_readable }} {{ device.status }} {{ device.first_seen }} {{ device.last_contact }} {{ device.current_job }} {{ device.version }} {{ device.target_image.version }}{{ device.image }} {{device.target_image.image }} {{ device.target_image.size }} {{ device.destination_free }} {{ device.destination_name }} {{ device.backoff }}