Files
nova-specs/doc/source/_media/stein/reshape-provider-tree.seqdiag
Stephen Finucane 00347ca9b7 Remove sphinxcontrib.seqdiag
This was a great tool but it seems it is no longer maintained, with no
commits since late 2021 [1]. Remove it, capturing static copies of the
SVGs it was generating so we don't lose information. The original
"source" is retained in case we ever want to revive our use of the tool
but that seems unlikely at this point.

[1] https://github.com/blockdiag/blockdiag

Change-Id: Ie3f89730128fdb8beca8bb02312d11516affcbbc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-05 15:21:49 +01:00

37 lines
2.3 KiB
Plaintext

seqdiag {
edge_length = 200;
span_height = 15;
activation = none;
default_note_color = white;
'Resource Tracker'; 'Report Client'; Placement; 'Virt Driver';
'Resource Tracker' -> 'Virt Driver' [label = "update_provider_tree(provider_tree, nodename, allocations=None)"];
'Resource Tracker' <- 'Virt Driver' [label = "raise ReshapeNeeded", color = red];
'Resource Tracker' -> 'Report Client' [label = "get_allocations_for_provider_tree()", color = red];
'Report Client' -> Placement [label = "GET /resource_providers/{uuid}/allocations", color = red];
'Report Client' <-- Placement [label = "HTTP 200", color = red];
'Report Client' -> 'Report Client' [label = "get_allocations_for_consumer(context, consumer)", color = red];
'Report Client' -> Placement [label = "GET /allocations/{consumer_uuid}", color = red];
'Report Client' <-- Placement [label = "HTTP 200", color = red];
'Resource Tracker' <-- 'Report Client' [label = "{allocations by consumer}", color = red];
'Resource Tracker' -> 'Virt Driver' [label = "update_provider_tree(provider_tree, nodename, allocations=allocations)", color = red];
'Resource Tracker' <-- 'Virt Driver';
'Resource Tracker' -> 'Report Client' [label = "update_from_provider_tree(
context, new_tree,
allocations)"];
'Report Client' -> Placement [label = "POST /resource_providers
(create new providers)"];
'Report Client' <-- Placement [label = "HTTP 200"];
'Report Client' -> Placement [label = "POST /resource_providers/{uuid}/aggregates|traits
(fix up aggregates, traits, etc.)"];
'Report Client' <-- Placement [label = "HTTP 200"];
'Report Client' -> Placement [label = "POST /reshaper {transformation payload}"];
Placement --> Placement [label = "create/modify/
delete
inventories"];
Placement --> Placement [label = "create/modify/
delete
allocations", color = red];
'Report Client' <-- Placement [label = "HTTP 204"];
'Resource Tracker' <-- 'Report Client'
}