summaryrefslogtreecommitdiff
path: root/opendc-compute/opendc-compute-api
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-09-10 17:10:42 +0200
committerGitHub <noreply@github.com>2021-09-10 17:10:42 +0200
commitcae193284570d6ee9dbacdde57b3e4e367aa9d9f (patch)
tree205bf08e503bc8b8bb2d5af77f0b4aee819f862b /opendc-compute/opendc-compute-api
parent58ac6e203f38ea0122d08c74adf7644c478c3afe (diff)
parentf142be8c2afd1f19bdec183f1169639b7cd1a472 (diff)
merge: Integrate fault injector into compute simulator
This pull request integrates the fault injector into the `opendc-compute-simulator` module, where it is now specialized to inject faults into `SimHost` instances. The previous fault injector implementation supported generic targets, but this caused the implementation to be more complex. Since the fault injector was only used for `SimHost` instances, we have decided to specialize it to `SimHost` for now. - Support generic distribution in fault injector - Terminate servers after reaching deadline - Integrate fault injection into compute simulator - Clarify terminology in compute service ** External Dependencies** - Apache commons-math3 **Breaking API Changes** - Removal of `opendc-simulator-failures` and its corresponding interfaces/classes.
Diffstat (limited to 'opendc-compute/opendc-compute-api')
-rw-r--r--opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/ComputeClient.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/ComputeClient.kt b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/ComputeClient.kt
index baa1ba2f..577fbc73 100644
--- a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/ComputeClient.kt
+++ b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/ComputeClient.kt
@@ -45,7 +45,7 @@ public interface ComputeClient : AutoCloseable {
*
* @param name The name of the flavor.
* @param cpuCount The amount of CPU cores for this flavor.
- * @param memorySize The size of the memory.
+ * @param memorySize The size of the memory in MB.
* @param labels The identifying labels of the image.
* @param meta The non-identifying meta-data of the image.
*/