graph updates

Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
Nico Schottelius 2019-07-30 15:04:11 +02:00
parent eb1ead4ca3
commit ecdb02164c
2 changed files with 32 additions and 4 deletions

View File

@ -3,7 +3,34 @@ digraph G {
ucloud_router [shape=box];
ucloud_nat64 [shape=box];
ucloud_api -> REQUEST_SLASH_64 [label="Requested by user" style="dotted"];
ucloud_router -> HAS_SLASH_64 [label="Requested by user" style="dotted"];
{
rank = same;
ucloud_api;
ucloud_router;
ucloud_nat64;
}
ucloud_api -> REQUEST_IPV6_SLASH_64 [label="Requested by user" style="dotted"];
ucloud_api -> REQUEST_IPV4_ADDRESS [label="Requested by user" style="dotted"];
ucloud_router -> HAS_IPV6_SLASH_64 [label="Adding route" style="dotted"];
ucloud_nat64 -> HAS_IPV4_ADDRESS [label="Adding NAT64" style="dotted"];
ucloud_router -> DELETE_IPV6_SLASH_64 [label="Deleting route" style="dotted"];
ucloud_nat64 -> DELETE_IPV4_ADDRESS [label="Removing NAT64" style="dotted"];
ERROR;
ERROR -> DEFAULT;
DEFAULT -> REQUEST_IPV6_SLASH_64;
REQUEST_IPV6_SLASH_64 -> HAS_IPV6_SLASH_64 [label="If another /64 can be routed"];
REQUEST_IPV6_SLASH_64 -> ERROR [label="If no /64 can be routed"];
DEFAULT -> REQUEST_IPV4_ADDRESS;
REQUEST_IPV4_ADDRESS -> HAS_IPV4_ADDRESS;
REQUEST_IPV4_ADDRESS -> ERROR [label="If IPv4 address can be added"];
HAS_IPV6_SLASH_64 -> DELETE_IPV6_SLASH_64 -> DEFAULT;
HAS_IPV4_ADDRESS -> DELETE_IPV4_ADDRESS -> DEFAULT;
}

View File

@ -9,11 +9,12 @@ digraph G {
ucloud_api -> DELETED [label="Requested by user" style="dotted"];
ucloud_vm -> RUNNING [style="dotted"];
{ rank = same;
{
rank = same;
ucloud_scheduler;
ucloud_api;
ucloud_vm;
}
}
NEW -> SCHEDULED_FOR_DEPLOY [label="ucloud_scheduler selects hosts"];
SCHEDULED_FOR_DEPLOY -> RUNNING [label="ucloud_vm starts VM"];