You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "andrijapanicsb (via GitHub)" <gi...@apache.org> on 2026/05/26 07:38:06 UTC
[PR] Clarify VR public IP labels [cloudstack]
andrijapanicsb opened a new pull request, #13240:
URL: https://github.com/apache/cloudstack/pull/13240
### Description
This PR clarifies the wording for the optional public IPv4 address assigned to virtual routers during isolated network and VPC creation.
The existing `label.routerip` text was reused for `sourcenatipaddress` in the isolated network and VPC forms, where the value represents the optional public interface / Source NAT address of the VR. The old wording, `IPv4 address for the VR in this Network`, could be confused with the internal router IP or gateway address. The label now reads `Public IPv4 address for the VR`.
The API descriptions for `sourcenatipaddress` are also updated to explicitly describe the value as optional and assigned to the public interface. The VPC API wording now refers to the VPC router and VPC implementation rather than a generic Network router/implementation.
Shared network router IP fields are not necessarily public. To avoid changing their meaning, `CreateSharedNetworkForm.vue` now uses the dedicated shared-network labels, `label.sharedrouterip` and `label.sharedrouteripv6`, instead of the generic `label.routerip` and `label.routeripv6`. This keeps shared network creation wording unchanged while allowing the generic label to be accurate for the Source NAT/public VR address fields.
No functional behavior is changed; this is a UI/API-description wording improvement only.
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] Build/CI
- [ ] Test (unit or integration test code)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [x] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
### Screenshots (if appropriate):
N/A
### How Has This Been Tested?
- Parsed `ui/public/locales/en.json` successfully.
- Ran `git diff --check` on the changed files.
- Verified shared network creation uses `label.sharedrouterip` and `label.sharedrouteripv6`, so shared network router IP fields do not inherit the new public IPv4 wording.
#### How did you try to break this feature and the system with this change?
Checked each use of the affected labels in the network creation views to confirm the public wording is only used by the `sourcenatipaddress` fields in isolated network and VPC creation, while shared network creation retains dedicated shared-network labels.
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on code in PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#discussion_r3302103943
##########
ui/public/locales/en.json:
##########
@@ -2193,7 +2193,7 @@
"label.router.health.check.success": "Success",
"label.router.health.checks": "Health checks",
"label.routercount": "Total of virtual routers",
-"label.routerip": "IPv4 address for the VR in this Network.",
+"label.routerip": "Public IPv4 address for the VR",
Review Comment:
<img width="624" height="748" alt="image" src="https://github.com/user-attachments/assets/0ae5c858-aba3-4b25-a86a-de2761095219" />
I think it's the Public one, per desc...?
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on code in PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#discussion_r3302110139
##########
ui/src/views/network/CreateSharedNetworkForm.vue:
##########
@@ -344,7 +344,7 @@
</a-row>
<a-form-item v-if="isVirtualRouterForAtLeastOneService" name="routerip" ref="routerip">
<template #label>
- <tooltip-label :title="$t('label.routerip')" :tooltip="apiParams.routerip.description"/>
+ <tooltip-label :title="$t('label.sharedrouterip')" :tooltip="apiParams.routerip.description"/>
Review Comment:
idea was to add prexi Public and to also separate "...for network" (Isolated) vs "...for VPC" (VPC)
##########
ui/src/views/network/CreateSharedNetworkForm.vue:
##########
@@ -344,7 +344,7 @@
</a-row>
<a-form-item v-if="isVirtualRouterForAtLeastOneService" name="routerip" ref="routerip">
<template #label>
- <tooltip-label :title="$t('label.routerip')" :tooltip="apiParams.routerip.description"/>
+ <tooltip-label :title="$t('label.sharedrouterip')" :tooltip="apiParams.routerip.description"/>
Review Comment:
idea was to add prexix Public and to also separate "...for network" (Isolated) vs "...for VPC" (VPC)
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#discussion_r3304426063
##########
ui/public/locales/en.json:
##########
@@ -2192,7 +2193,7 @@
"label.router.health.check.success": "Success",
"label.router.health.checks": "Health checks",
"label.routercount": "Total of virtual routers",
-"label.routerip": "IPv4 address for the VR in this Network.",
+"label.routerip": "Public IPv4 address for the VR",
"label.routeripv6": "IPv6 address for the VR in this Network.",
Review Comment:
`label.routerip`’s meaning is being changed (now “Public IPv4 address for the VR”), but several non-English locale files already define `label.routerip` with the old shared-network meaning (e.g. el_GR/ja_JP/ko_KR/pt_BR/zh_CN). Since the UI uses `label.routerip` for the Source NAT/public VR address in isolated network/VPC creation, those locales will now show misleading text unless their `label.routerip` translations are updated (or a new key is introduced and used instead).
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on code in PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#discussion_r3302072948
##########
ui/public/locales/en.json:
##########
@@ -2193,7 +2193,7 @@
"label.router.health.check.success": "Success",
"label.router.health.checks": "Health checks",
"label.routercount": "Total of virtual routers",
-"label.routerip": "IPv4 address for the VR in this Network.",
+"label.routerip": "Public IPv4 address for the VR",
Review Comment:
actually `routerip` is the ip address of VR on the guest network, not on Public network
##########
ui/src/views/network/CreateSharedNetworkForm.vue:
##########
@@ -344,7 +344,7 @@
</a-row>
<a-form-item v-if="isVirtualRouterForAtLeastOneService" name="routerip" ref="routerip">
<template #label>
- <tooltip-label :title="$t('label.routerip')" :tooltip="apiParams.routerip.description"/>
+ <tooltip-label :title="$t('label.sharedrouterip')" :tooltip="apiParams.routerip.description"/>
Review Comment:
good 👍
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#issuecomment-4541738663
## [Codecov](https://app.codecov.io/gh/apache/cloudstack/pull/13240?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 3.51%. Comparing base ([`f6efda5`](https://app.codecov.io/gh/apache/cloudstack/commit/f6efda50d2f6fd27179e6d9b105081b1a828967d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`7cf4a33`](https://app.codecov.io/gh/apache/cloudstack/commit/7cf4a333e4ef05c20c5ecf64afbbe19c1a00a70a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 39 commits behind head on main.
> :exclamation: There is a different number of reports uploaded between BASE (f6efda5) and HEAD (7cf4a33). Click for more details.
>
> <details><summary>HEAD has 3 uploads less than BASE</summary>
>
>| Flag | BASE (f6efda5) | HEAD (7cf4a33) |
>|------|------|------|
>|uitests|2|1|
>|unittests|2|0|
></details>
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #13240 +/- ##
=============================================
- Coverage 18.09% 3.51% -14.58%
=============================================
Files 6037 464 -5573
Lines 542546 40159 -502387
Branches 66431 7560 -58871
=============================================
- Hits 98159 1413 -96746
+ Misses 433368 38556 -394812
+ Partials 11019 190 -10829
```
| [Flag](https://app.codecov.io/gh/apache/cloudstack/pull/13240/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [uitests](https://app.codecov.io/gh/apache/cloudstack/pull/13240/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `3.51% <ø> (-0.01%)` | :arrow_down: |
| [unittests](https://app.codecov.io/gh/apache/cloudstack/pull/13240/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `?` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/cloudstack/pull/13240?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Clarify VR public IP labels [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #13240:
URL: https://github.com/apache/cloudstack/pull/13240#issuecomment-5477679309
@weizhouapache @andrijapanicsb for what branch is this intended? (main vs 22?) cc @kiwiflyer @wido
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org