Skip to content

Commit 52d5b27

Browse files
authored
UI: Add button to show public IPs associated with vlanid (#8717)
1 parent 56e0450 commit 52d5b27

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

ui/src/config/section/infra/phynetworks.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ export default {
4242
name: 'guestnetwork',
4343
title: 'label.guest.networks',
4444
param: 'physicalnetworkid'
45+
},
46+
{
47+
name: 'publicip',
48+
title: 'label.public.ip.addresses',
49+
param: 'physicalnetworkid'
4550
}],
4651
actions: [
4752
{

ui/src/views/infra/network/IpRangesTabPublic.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
<div
5454
class="actions"
5555
style="text-align: right" >
56+
<router-link :to="{ name: 'publicip', query: { vlanid: record.id }}" target="_blank">
57+
<tooltip-button
58+
tooltipPlacement="bottom"
59+
:tooltip="$t('label.view') + ' ' + $t('label.public.ip.addresses')"
60+
icon="environment-outlined"/>
61+
</router-link>
5662
<tooltip-button
5763
v-if="!record.domain && !basicGuestNetwork && record.gateway && !record.ip6gateway"
5864
tooltipPlacement="bottom"

0 commit comments

Comments
 (0)