shwstppr commented on a change in pull request #5786:
URL: https://github.com/apache/cloudstack/pull/5786#discussion_r829101094



##########
File path: ui/src/views/infra/network/IpRangesTabPublic.vue
##########
@@ -174,6 +186,19 @@
         class="form"
 
       >
+        <a-form-item name="iptype" ref="iptype" 
:label="$t('label.ip.range.type')" class="form__item">
+          <a-radio-group
+            v-model:value="form.iptype"
+            buttonStyle="solid"
+            @change="selected => { addFormIpType = selected.target.value }">
+            <a-radio-button value="">
+              {{ $t('label.ip.v4') }}

Review comment:
       @weizhouapache should be fixed in the 
https://github.com/apache/cloudstack/pull/5786/commits/5b4b41af3bf2e4152b091e164e943fe72b16e471

##########
File path: ui/src/views/infra/network/IpRangesTabPublic.vue
##########
@@ -186,22 +211,32 @@
             <a-select-option v-for="pod in pods" :key="pod.id" 
:value="pod.id">{{ pod.name }}</a-select-option>
           </a-select>
         </a-form-item>
-        <a-form-item name="gateway" ref="gateway" :label="$t('label.gateway')" 
class="form__item">
-          <a-input v-model:value="form.gateway" />
-        </a-form-item>
-        <a-form-item name="netmask" ref="netmask" :label="$t('label.netmask')" 
class="form__item">
-          <a-input v-model:value="form.netmask" />
-        </a-form-item>
         <a-form-item name="vlan" ref="vlan" :label="$t('label.vlan')" 
class="form__item" v-if="!basicGuestNetwork">
           <a-input v-model:value="form.vlan" />
         </a-form-item>
-        <a-form-item name="startip" ref="startip" :label="$t('label.startip')" 
class="form__item">
-          <a-input v-model:value="form.startip" />
-        </a-form-item>
-        <a-form-item name="endip" ref="endip" :label="$t('label.endip')" 
class="form__item">
-          <a-input v-model:value="form.endip" />
-        </a-form-item>
-        <div class="form__item" v-if="!basicGuestNetwork">
+        <div v-if="addFormIpType==='ip6'">
+          <a-form-item name="ip6gateway" ref="ip6gateway" 
:label="$t('label.gateway')" class="form__item">

Review comment:
       will do




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to