You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/03/31 12:56:31 UTC

[GitHub] [cloudstack] Pearl1594 commented on a change in pull request #4676: Display public ip addresses for shared network

Pearl1594 commented on a change in pull request #4676:
URL: https://github.com/apache/cloudstack/pull/4676#discussion_r604871925



##########
File path: ui/src/views/compute/InstanceTab.vue
##########
@@ -444,6 +461,15 @@ export default {
         this.fetchPublicIps(record.nic.networkid)
       }
     },
+    onAcquireSecondaryIPAddress (record) {
+      if (record.nic.type === 'Shared') {
+        this.editNicResource = record.nic
+        this.editNetworkId = record.nic.networkid

Review comment:
       @ravening I believe L466-467 need to be moved outside the if block as in a case where we have one nic on an Isolated network & one on a shared network; if you first attempt adding a secondary IP for the nic on a shared network and then do the same for the nic on Isolated network, it continues to show the shared n/ws public ips




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org