-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support network-scope settings and add setting to override vr service offering #6918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@blueorangutan package |
@soreana a 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. |
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 4629 |
@soreana can you check build failures? I also see failing coverage and quality checks |
api/src/main/java/org/apache/cloudstack/api/command/admin/config/ResetCfgCmd.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/admin/config/UpdateCfgCmd.java
Outdated
Show resolved
Hide resolved
framework/config/src/main/java/org/apache/cloudstack/framework/config/ConfigKey.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
@blueorangutan package |
@DaanHoogland a 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. |
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 5042 |
api/src/main/java/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
Outdated
Show resolved
Hide resolved
@blueorangutan package |
@soreana a 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. |
Packaging result: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 5145 |
@DaanHoogland Happy new year. :)
|
@soreana I haven't had a chance to investigate very deeply yet, but at my laptop it also crashes with
|
@DaanHoogland The |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@soreana i ran this in a debugger and for some reason your PR tries to load |
a37a4a5
to
833a7fd
Compare
@DaanHoogland I removed these lines and the build error gone. I don't know what was wrong. 🤷♂️ diff --git a/server/src/test/java/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java b/server/src/test/java/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java
index 33747b0342..6beba0b212 100644
--- a/server/src/test/java/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java
+++ b/server/src/test/java/org/apache/cloudstack/networkoffering/ChildTestConfiguration.java
@@ -56,7 +56,6 @@ import com.cloud.network.dao.FirewallRulesDcidrsDaoImpl;
import com.cloud.network.dao.IPAddressDaoImpl;
import com.cloud.network.dao.LoadBalancerDao;
import com.cloud.network.dao.NetworkDao;
-import com.cloud.network.dao.NetworkDetailsDao;
import com.cloud.network.dao.NetworkDomainDaoImpl;
import com.cloud.network.dao.NetworkServiceMapDaoImpl;
import com.cloud.network.dao.PhysicalNetworkDaoImpl;
@@ -325,11 +324,6 @@ public class
return Mockito.mock(DomainDetailsDao.class);
}
- @Bean
- public NetworkDetailsDao networkDetailsDao() {
- return Mockito.mock(NetworkDetailsDao.class);
- }
-
@Bean
public DataStoreManager dataStoreManager() {
return Mockito.mock(DataStoreManager.class); |
@blueorangutan package |
@soreana a 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. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5855 |
Co-authored-by: dahn <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6918 +/- ##
===========================================
Coverage 15.28% 15.28%
- Complexity 11528 11540 +12
===========================================
Files 5425 5425
Lines 474072 474259 +187
Branches 57689 61821 +4132
===========================================
+ Hits 72466 72511 +45
- Misses 393554 393675 +121
- Partials 8052 8073 +21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi @soreana ! |
@blueorangutan package |
@weizhouapache 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. |
Packaging result [SF]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 9568 |
…oudstack into override-vr-service-offering
@weizhouapache It should be better now. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Description
As of now, it is possible to override the virtual router service offering with global, domain, and account level configurations. What if a customer wants to change the service offering for only one network? There isn't such an option in Cloudstack. As an admin, you can only override the network offering for a domain, account, or global, affecting all the networks in that domain, account, or zone. This pull request aims to add a network-level setting to override the virtual router service offering per network.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
To test this feature, please follow the below steps:
network.router.service.offering
to the UUID of the service offering for the network using the cmkUseful
cmk
commands: