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 2023/01/13 06:53:58 UTC

[GitHub] [cloudstack] DaanHoogland commented on a diff in pull request #6840: infra: edge zones

DaanHoogland commented on code in PR #6840:
URL: https://github.com/apache/cloudstack/pull/6840#discussion_r1068995052


##########
plugins/hypervisors/simulator/src/main/java/com/cloud/agent/manager/MockAgentManagerImpl.java:
##########
@@ -106,7 +111,13 @@ public class MockAgentManagerImpl extends ManagerBase implements MockAgentManage
 
     private Pair<String, Long> getPodCidr(long podId, long dcId) {
         try {
-
+            DataCenterVO zone = dcDao.findById(dcId);
+            if (DataCenter.Type.Edge.equals(zone.getType())) {
+                SecureRandom random = new SecureRandom();

Review Comment:
   ```suggestion
                   random = new SecureRandom();
   ```



-- 
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