This is an automated email from the ASF dual-hosted git repository.

Pearl1594 pushed a commit to branch fix-vnf-net-select-non-deployasis
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 25f48a253ff4d7f091decc81ff8307650400753e
Author: Pearl Dsilva <[email protected]>
AuthorDate: Mon Jun 15 13:27:08 2026 -0400

    Allow selecting network for VNF nics if template nics > 0 and is a 
non-deploy as is template
---
 ui/src/views/compute/DeployVnfAppliance.vue      | 1 +
 ui/src/views/compute/wizard/VnfNicsSelection.vue | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ui/src/views/compute/DeployVnfAppliance.vue 
b/ui/src/views/compute/DeployVnfAppliance.vue
index 36fdd86dbf6..113ae233c62 100644
--- a/ui/src/views/compute/DeployVnfAppliance.vue
+++ b/ui/src/views/compute/DeployVnfAppliance.vue
@@ -362,6 +362,7 @@
                       :items="templateVnfNics"
                       :templateNics="templateNics"
                       :networks="networks"
+                      :deployasis="template && template.deployasis"
                       @update-vnf-nic-networks="($event) => 
updateVnfNicNetworks($event)" />
                   </div>
                   <div style="margin-top: 15px" 
v-if="showVnfConfigureManagement">
diff --git a/ui/src/views/compute/wizard/VnfNicsSelection.vue 
b/ui/src/views/compute/wizard/VnfNicsSelection.vue
index 40bdc1c676a..0a156472016 100644
--- a/ui/src/views/compute/wizard/VnfNicsSelection.vue
+++ b/ui/src/views/compute/wizard/VnfNicsSelection.vue
@@ -50,7 +50,7 @@
       <template #network="{ record }">
         <a-form-item style="display: block" :name="'nic-' + record.deviceid">
           <a-select
-            disabled="templateNics && templateNics.length > 0"
+            :disabled="deployasis && templateNics && templateNics.length > 0"
             @change="updateNicNetworkValue($event, record.deviceid)"
             optionFilterProp="label"
             :filterOption="(input, option) => {
@@ -87,6 +87,10 @@ export default {
     preFillContent: {
       type: Object,
       default: () => {}
+    },
+    deployasis: {
+      type: Boolean,
+      default: false
     }
   },
   data () {

Reply via email to