Uh oh!
There was an error while loading. Please reload this page.
Prepend VPC name to VPC network tier name - #9780
Conversation
… than English (apache#9766) * Fix updateTemplatePermission UI in non-english language * Improve fix --------- Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #9780 +/- ##
===========================================
Coverage 15.78% 15.78% - Complexity 12564 12568 +4
===========================================
Files 5627 5628 +1 Lines 492250 492266 +16 Branches 61405 63361 +1956 ===========================================
+ Hits 77710 77719 +9 - Misses 406066 406072 +6 - Partials 8474 8475 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
sureshanaparti
commented
Oct 8, 2024
@blueorangutan package |
blueorangutan
commented
Oct 8, 2024
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 8, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11304 |
| if (vpcId != null && VpcManager.VpcTierNamePrepend.value()) { | ||
| final String delimiter = VpcManager.VpcTierNamePrependDelimiter.value(); | ||
| Vpc vpc = _vpcDao.findById(vpcId); | ||
| if (vpc != null) { | ||
| name = vpc.getName() + delimiter + name; | ||
| } | ||
| } |
There was a problem hiding this comment.
can this be a method called at the moment name is being set?
abh1sar
commented
Oct 9, 2024
@blueorangutan package |
blueorangutan
commented
Oct 9, 2024
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 9, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11308 |
abh1sar
commented
Oct 9, 2024
@blueorangutan test |
blueorangutan
commented
Oct 9, 2024
@abh1sar a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
blueorangutan
commented
Oct 10, 2024
[SF] Trillian test result (tid-11644)
|
alexandremattioli
commented
Oct 10, 2024
@abh1sar are there any documentation changes? |
abh1sar
commented
Oct 10, 2024
|
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM
| Test Case Execution | Result |
|---|---|
| Verify the functionality of global setting (vpc.tier.name.prepend.delimiter) | Pass |
| Test the global settings at account and project level | Pass |
| Verify the functionality of global setting (vpc.tier.name.prepend) | Pass |
* Fix `updateTemplatePermission` when the UI is set to a language other than English (apache#9766) * Fix updateTemplatePermission UI in non-english language * Improve fix --------- Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br> * Prepend vpc name to vpc tier network name based on global setting * Added UT for createVpcGuestNetwork * rename connector to delimiter and add configKey.Category.Network * Move setting the name to a new method --------- Co-authored-by: Daan Hoogland <daan@onecht.net> Co-authored-by: Lucas Martins <56271185+lucas-a-martins@users.noreply.github.com> Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
Description
Network tiers which belong to a VPC have their own individual names, in the networks tab they are listed with all other networks, in order to make it easier to identify those networks and correlate them with the VPCs. their names should be prepended with the name of the VPC they belong to.
This PR prepends VPC name to the network tier name using a delimiter.
This feature can be enabled using a global setting which is disabled by default.
The delimiter can also be changed using a global setting. " " by default.
Doc PR : apache/cloudstack-documentation#445
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?