Display public ip addresses for shared network#4676
Conversation
|
@ravening does this rely on some code changes ? |
@weizhouapache dont think so.. public ip address should be listed by default |
@ravening but listing ips in shared network does not work, right ? |
@weizhouapache I can display it |
@ravening ok. by the way, forvirtualnetwork should be 'false', and networkid should be passed. |
|
@ravening @weizhouapache does it make sense to change base to 4.15 to 4.15.1? |
|
@ravening Could you please address the conflict. Thanks. |
|
ping @ravening |
26fd877 to
e383dd3
Compare
If a vm belongs to shared network then display the list of ip addresses available which can be used to assign for secondary IP addresses. Also display "Public IP addresses" tab for shared networks
e383dd3 to
c990f73
Compare
|
@Pearl1594 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
ui/src/views/compute/InstanceTab.vue
Outdated
| onAcquireSecondaryIPAddress (record) { | ||
| if (record.nic.type === 'Shared') { | ||
| this.editNicResource = record.nic | ||
| this.editNetworkId = record.nic.networkid |
There was a problem hiding this 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
|
ping @ravening cc @weizhouapache - any progress/update on this? @utchoang cc @svenvogel - can you help review/test this as well? |
|
@ravening |
@utchoang @Pearl1594 can you guys test/review the code again? |
|
@Pearl1594 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Pearl1594
left a comment
There was a problem hiding this comment.
Verified behavior. LGTM




Description
If a vm belongs to shared network then display the list
of ip addresses available which can be used to assign for
secondary IP addresses.
Also display "Public IP addresses" tab for shared networks
List all public ip address in shared network
Display the list of ip address while adding secondary ip instead of user input box
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?