Skip to content
Snippets Groups Projects
Commit f306cc6f authored by !! Julian Keck (old Account; do not use) !!'s avatar !! Julian Keck (old Account; do not use) !! :ghost:
Browse files

UPD add change insert for patch request confirmation

parent 4c2b0f4c
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,23 @@
({{ action['building']['name'] }})<br>
<b>Room:</b> {{ action['room']['number'] }} ({{ action['room']['name'] }})<br>
<b>Module:</b> {{ action['module']['label'] }} ({{ action['module']['type'] }})<br>
<b>Action & Port:</b> {{ action['action'] }} {{ action['p_port']['name'] }}<br>
{% if 'bcd' is defined %}
<b>Broadcast domain:</b> {{ action['bcd']['name'] }}<br>
<b>Action:</b> {{ action['action'].value }}<br>
{% if action['action'].value != 'change_insert' %}
<b>Port:</b>{{ action['p_port']['name'] }}<br>
{% endif %}
{% if action['bcd'] is defined and action['bcd']['name'] is defined %}
<b>Broadcast domain:</b> {{ action['bcd']['name'] }} ({% if action['bcd_tagged'] %}add tagged{%else%}untagged{%endif%})<br>
{% endif %}
{% if action['new_insert_type'] %}
<b>New insert:</b> {{ action['new_insert_type'] }}<br>
{% endif %}
{% if action['new_insert_assignment'] is defined %}
<b>BCD-assignment:</b> the following BCDs should be assigned to the new insert. Port names are only estimated, you might need to adjust them:<br>
<ul>
{% for assignment in action['new_insert_assignment'] %}
<li>{{ assignment['port_name'] }}: {{ assignment['bcd_name'] }} ({% if not assignment['bcd_tagged'] %}un{% endif %}tagged)</li>
{% endfor %}
</ul>
{% endif %}
<b>Comment:</b> {{ action['comment'] }}<br>
</code><br>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment