rhtyd commented on a change in pull request #423:
URL: https://github.com/apache/cloudstack-primate/pull/423#discussion_r440684934
##########
File path: src/views/network/IpAddressesTab.vue
##########
@@ -181,6 +214,21 @@ export default {
this.fetchLoading = false
})
},
+ fetchListPublicIpAddress () {
+ return new Promise((resolve, reject) => {
+ const params = {
+ zoneid: this.resource.zoneid,
+ domainid: this.resource.domainid,
+ account: this.resource.account,
+ forvirtualnetwork: true,
+ allocatedonly: false
+ }
+ api('listPublicIpAddresses', params).then(json => {
+ const listPublicIps =
json.listpublicipaddressesresponse.publicipaddress || []
+ resolve(listPublicIps)
Review comment:
Can you sort the IPs @utchoang (and make the list searching, like other
a-selects)?
----------------------------------------------------------------
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:
[email protected]