Skip to content

Commit 43a5d62

Browse files
SadiJrSadiJr
andauthored
Enable CPU cap in VRs (#7234)
Co-authored-by: SadiJr <sadi@scclouds.com.br>
1 parent c9b103c commit 43a5d62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/src/main/java/com/cloud/network/router/NetworkHelperImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ public DomainRouterVO deployRouter(final RouterDeploymentDefinition routerDeploy
542542

543543
router.setDynamicallyScalable(template.isDynamicallyScalable());
544544
router.setRole(Role.VIRTUAL_ROUTER);
545+
router.setLimitCpuUse(routerOffering.getLimitCpuUse());
545546
router = _routerDao.persist(router);
546547

547548
reallocateRouterNetworks(routerDeploymentDefinition, router, template, null);

0 commit comments

Comments
 (0)