change scenario

This commit is contained in:
Torma Kristóf 2021-04-19 19:08:10 +02:00
parent 732f3724b0
commit 363954f01e
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 2 additions and 2 deletions

View File

@ -141,13 +141,13 @@ public class Birbnetes {
}
private static void createFogDevices(int brokerId, String appId) {
FogDevice cloud = createAFogDevice("cloud", 44800, 64000, 10000,
FogDevice cloud = createAFogDevice("cloud", 1000000, 64000, 10000,
10000, 0, 0.01, 16 * 103, 16 * 83.25);
cloud.setParentId(-1);
fogDevices.add(cloud);
getIdByName.put(cloud.getName(), cloud.getId());
for (int i = 0; i < numOfFogDevices; i++) {
FogDevice device = createAFogDevice("FogDevice-" + i, 4000, 4000,
FogDevice device = createAFogDevice("FogDevice-" + i, 1000, 2000,
1000, 1000, 1, 0.01,
100, 70);
device.setParentId(cloud.getId());