fe6e395a62
Previously instance ports without IP address were not shown because api.neutron.servers_update_addresses() ignored ports without IP address. This commit changes servers_update_addresses() to include a special symbol (None) representing "No IP address" in "addresses" attribute in "server" object. "(No IP address)" will be shown for ports without IP addresses now. Closes-Bug: #1804016 Change-Id: I46699731ab515667b8cdf97ef68bdb8cbfe0b563
14 lines
316 B
HTML
14 lines
316 B
HTML
{% load i18n %}
|
|
<ul class="list-unstyled">
|
|
{% for ip_group, ips in ip_groups.items %}
|
|
{% if ip_groups.keys|length > 1 %}
|
|
<li><b>{{ ip_group }}</b>
|
|
{% endif %}
|
|
{% if ips|length > 0 %}
|
|
{{ ips|join:", " }}</li>
|
|
{% else %}
|
|
{% trans "(No IP address)" %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|