| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…n-deploy as is template
There was a problem hiding this comment.
Code LGTM thanks @Pearl1594
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## 4.22 #13423 +/- ##
============================================
- Coverage 17.67% 17.67% -0.01%
Complexity 15792 15792
============================================
Files 5922 5922
Lines 533165 533180 +15
Branches 65208 65218 +10
============================================
+ Hits 94242 94244 +2
- Misses 428276 428290 +14
+ Partials 10647 10646 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
|
@Pearl1594 if there are template nics and it's a non deploy-as-is VNF template |
Sorry, something went wrong.
|
thanks @Pearl1594 for the info I can reproduce the issue. the fix could be as simple as diff --git a/ui/src/views/compute/wizard/VnfNicsSelection.vue b/ui/src/views/compute/wizard/VnfNicsSelection.vue
index 40bdc1c676a..538c9553eb4 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="templateNics && templateNics.length > 0"
@change="updateNicNetworkValue($event, record.deviceid)"
optionFilterProp="label"
:filterOption="(input, option) => {
🤦 |
Sorry, something went wrong.
Oh yeah |
Sorry, something went wrong.
|
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
verified OK
Sorry, something went wrong.
Sorry, something went wrong.
|
@nvazquez a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
UI build: ✔️ |
Sorry, something went wrong.
…as-is template (#13423) * Allow selecting network for VNF nics if template nics > 0 and is a non-deploy as is template * delpoy as is param not required --------- Co-authored-by: Pearl Dsilva <pearl1954@gmail.com>
…as-is template (apache#13423) * Allow selecting network for VNF nics if template nics > 0 and is a non-deploy as is template * delpoy as is param not required --------- Co-authored-by: Pearl Dsilva <pearl1954@gmail.com> (cherry picked from commit e689c02)
| Back | FazBrowse Home | New Git URL |
Description
This PR fixes an issue where we can't select the network for VNF nic mapping if there are template nics and it's a non deploy-as-is VNF template
introduced by: #12499
Types of changes
Feature/Enhancement Scale or Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?