weizhouapache commented on code in PR #9557:
URL: https://github.com/apache/cloudstack/pull/9557#discussion_r1723480651


##########
ui/src/views/network/VpcTiersTab.vue:
##########
@@ -538,12 +538,16 @@ export default {
     fetchNetworkOfferings () {
       this.fetchLoading = true
       this.modalLoading = true
-      api('listNetworkOfferings', {
+      const params = {
         forvpc: true,
         guestiptype: 'Isolated',
-        supportedServices: 'SourceNat',
         state: 'Enabled'
-      }).then(json => {
+      }
+      params.supportedServices = 'SourceNat'
+      if (this.resource.service.map(svc => { return svc.name }).indexOf('Lb') 
> -1) {
+        params.supportedServices += ',Lb'

Review Comment:
   @nvazquez 
   does this mean the network offering must support Lb if vpc supports Lb ?
   
   



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

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

Reply via email to