mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Enable CPU cap in VRs (#7234)
Co-authored-by: SadiJr <sadi@scclouds.com.br>
This commit is contained in:
parent
c9b103c8a7
commit
43a5d6260f
@ -542,6 +542,7 @@ public class NetworkHelperImpl implements NetworkHelper {
|
||||
|
||||
router.setDynamicallyScalable(template.isDynamicallyScalable());
|
||||
router.setRole(Role.VIRTUAL_ROUTER);
|
||||
router.setLimitCpuUse(routerOffering.getLimitCpuUse());
|
||||
router = _routerDao.persist(router);
|
||||
|
||||
reallocateRouterNetworks(routerDeploymentDefinition, router, template, null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user