From dff30fa60809c018101052f395b09cf17cb83ccb Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Tue, 19 Mar 2024 20:26:04 +0100 Subject: Scenario and Portfolio update (#209) * Initial commit * Implemented a new systems of defining and running scenarios / portfolios. Scenarios and Portfolios can now be defined using JSON files similar to topologies. This allows user to define experiments without changing any KotLin code. * Ran spotlessApply --- .../src/main/resources/scenario.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 opendc-experiments/opendc-experiments-scenario/src/main/resources/scenario.json (limited to 'opendc-experiments/opendc-experiments-scenario/src/main/resources/scenario.json') diff --git a/opendc-experiments/opendc-experiments-scenario/src/main/resources/scenario.json b/opendc-experiments/opendc-experiments-scenario/src/main/resources/scenario.json new file mode 100644 index 00000000..854d9b8f --- /dev/null +++ b/opendc-experiments/opendc-experiments-scenario/src/main/resources/scenario.json @@ -0,0 +1,13 @@ +{ + "runs": 5, + "topology": { + "pathToFile": "resources/env/single.json" + }, + "workload": { + "pathToFile": "resources/bitbrains-small", + "type": "ComputeWorkload" + }, + "allocationPolicy": { + "policyType": "Mem" + } +} -- cgit v1.2.3