Files
cloudkitty/doc/source/user/rating/graph/hashmap.dot
Luka Peschke 4b794472a8 Change the documentation layout
This changes the documentation layout according to the previously submitted
spec.

Change-Id: I9aa879af23ae4e993da60186eddaef8d22f59e79
Story: 2004179
Task: 28152
2018-12-14 10:28:59 +01:00

55 lines
1.2 KiB
Plaintext

digraph "Hashmap's data structure" {
label="HashMap module data structure";
compound=true;
compute;
network [label="network.floating_ip"];
volume;
subgraph cluster_0 {
label="services";
style=dashed;
{rank=same; compute -> network -> volume [style=invis];}
}
compute -> flavor;
subgraph cluster_1 {
label="fields:\nAssociate to metadata";
style=dashed;
flavor;
}
// Mappings
micro [label="value=m1.micro\ntype=flat\ncost=0.1"];
tiny [label="value=m1.tiny\ntype=flat\ncost=0.2"];
small [label="value=m1.small\ntype=flat\ncost=0.4"];
floating [label="\ntype=flat\ncost=0.5"];
// Thresholds
1024 [label="level=1024\ntype=flat\ncost=0.1"];
10240 [label="level=10240\ntype=flat\ncost=0.2"];
subgraph cluster_2 {
label="mappings";
style=dashed;
{rank=same; micro -> tiny -> small -> floating [style=invis];}
}
subgraph cluster_3 {
label="thresholds";
style=dashed;
{rank=same; 1024 -> 10240 [style=invis];}
}
flavor -> micro;
flavor -> tiny;
flavor -> small;
network -> floating;
volume -> 1024;
volume -> 10240;
}