File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 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.
2828* ` deploy(driver, ...) ` - deploys a cluster using the specified ` driver ` and
2929other parameters specific to that driver. Returns a ` cluster ` instance that is
3030used 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.
3237
3338#### ` troubleaux `
3439
3540This is the troublemaker that messes with the network, nodes and time.
3641
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 .
3944* ` fix(cluster) ` - fixes all troubles caused in the ` cluster ` .
4045
4146#### ` valideaux `
You can’t perform that action at this time.
0 commit comments