File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,19 @@ Manages the database nodes.
28
28
* ` deploy(driver, ...) ` - deploys a cluster using the specified ` driver ` and
29
29
other parameters specific to that driver. Returns a ` cluster ` instance that is
30
30
used in other methods.
31
- * `
31
+ * ` cluster->up(id) ` - adds a node named ` id ` to the ` cluster ` .
32
+ * ` cluster->down(id) ` - removes a node named ` id ` from the ` cluster ` .
33
+ * ` cluster->drop(src, dst, ratio) ` - drop ` ratio ` packets flowing from node
34
+ ` src ` to node ` dst ` .
35
+ * ` cluster->delay(src, dst, msec) ` - delay packets flowing from node ` src ` to
36
+ node ` dst ` by ` msec ` milliseconds.
32
37
33
38
#### ` troubleaux `
34
39
35
40
This is the troublemaker that messes with the network, nodes and time.
36
41
37
- * ` cause(cluster, trouble) ` - causes the specified ` trouble ` in the specified
38
- ` cluster ` .
42
+ * ` cause(cluster, trouble, ... ) ` - causes the specified ` trouble ` in the
43
+ specified ` cluster ` with some trouble-specific parameters .
39
44
* ` fix(cluster) ` - fixes all troubles caused in the ` cluster ` .
40
45
41
46
#### ` valideaux `
You can’t perform that action at this time.
0 commit comments