mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue