You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/11/09 11:14:08 UTC
[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #5670: server: set network rate for additional public IPs
DaanHoogland commented on a change in pull request #5670:
URL: https://github.com/apache/cloudstack/pull/5670#discussion_r745516064
##########
File path: engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
##########
@@ -2069,7 +2068,8 @@ public void prepareAllNicsForMigration(final VirtualMachineProfile vm, final Dep
profile.setIsolationUri(Networks.IsolationType.Vlan.toUri(publicIp.getVlanTag()));
profile.setSecurityGroupEnabled(_networkModel.isSecurityGroupSupportedInNetwork(network));
profile.setName(_networkModel.getNetworkTag(vm.getHypervisorType(), network));
- profile.setNetworId(network.getId());
+ profile.setNetworkRate(_networkModel.getNetworkRate(network.getId(), vm.getId()));
Review comment:
will the network id not be needed anymore?
--
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