diff --git a/horizon/static/horizon/js/horizon.networktopology.js b/horizon/static/horizon/js/horizon.networktopology.js index 6bfb9cbc60e..ab3e874d7fc 100644 --- a/horizon/static/horizon/js/horizon.networktopology.js +++ b/horizon/static/horizon/js/horizon.networktopology.js @@ -541,6 +541,8 @@ horizon.network_topology = { }; if (d.type === 'router') { html_data.port = ports; + html_data.add_interface_url = d.url + 'addinterface'; + html_data.add_interface_label = gettext("Add Interface"); html = balloon_tmpl.render(html_data,{ table1:device_tmpl, table2:port_tmpl diff --git a/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/client_side/_balloon_container.html b/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/client_side/_balloon_container.html index 7a8f6e776a1..b146a57650f 100644 --- a/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/client_side/_balloon_container.html +++ b/openstack_dashboard/dashboards/project/network_topology/templates/network_topology/client_side/_balloon_container.html @@ -19,6 +19,7 @@ ยป [[open_console_label]] [[/console_id]] + [[add_interface_label]]