ucloud_common/docs/ucloud-vm-states.dot

28 lines
752 B
Text
Raw Normal View History

2019-07-30 12:39:10 +00:00
digraph G {
ucloud_scheduler [shape=box];
ucloud_api [shape=box];
ucloud_vm [shape=box];
ucloud_scheduler -> SCHEDULED_FOR_DEPLOY [style="dotted"];
ucloud_api -> NEW [label="Requested by user" style="dotted"];
ucloud_api -> SUSPENDED [label="Requested by user" style="dotted"];
ucloud_api -> DELETED [label="Requested by user" style="dotted"];
ucloud_vm -> RUNNING [style="dotted"];
{
rank = same;
2019-07-30 12:39:10 +00:00
ucloud_scheduler;
ucloud_api;
ucloud_vm;
}
2019-07-30 12:39:10 +00:00
NEW -> SCHEDULED_FOR_DEPLOY [label="ucloud_scheduler selects hosts"];
SCHEDULED_FOR_DEPLOY -> RUNNING [label="ucloud_vm starts VM"];
RUNNING -> SUSPENDED;
SUSPENDED -> SCHEDULED_FOR_DEPLOY;
RUNNING -> DELETED;
}