change scenario
This commit is contained in:
parent
732f3724b0
commit
363954f01e
Binary file not shown.
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user