diff --git a/openstack_dashboard/api/neutron.py b/openstack_dashboard/api/neutron.py index 5d7b655643..c4ea0828f3 100644 --- a/openstack_dashboard/api/neutron.py +++ b/openstack_dashboard/api/neutron.py @@ -1735,7 +1735,8 @@ def servers_update_addresses(request, servers, all_tenants=False): ports_floating_ips[fip.port_id].append(fip) # Map network id to its name - network_names = dict(((network.id, network.name) for network in networks)) + network_names = dict((network.id, network.name_or_id) + for network in networks) for server in servers: try: diff --git a/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html b/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html index 35b23fefbf..65b728ad33 100644 --- a/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html +++ b/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html @@ -69,7 +69,7 @@
{% for network, ip_list in instance.addresses.items %} -
{{ network|title }}
+
{{ network }}
{% if ip_list|length > 0 %} {% for ip in ip_list %}