af542c4418
As suggested open openstack-discuss ML[1], some sphinxcontrib packages have not been updated for several years and might going to be maintained anymore. In tacker-specs repo, many diagrams are compiled with sphinxcontrib-seqdiag and sphinxcontrib-nwdiag. This update is to drop using the packages and add image files instead. The embedded source codes are remained as separated files and named as "*.diag". In addition, it includes two updates other than that. * usage of the dropped diagram support described in the `specs/template.rst` is also removed because it's no longer supported. * Upgrade the version of `pillow` to the latest 11.0.0 since installation is failed if the version is old. [1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/4IID4UEXY4PJJGBTMFMTRYLKJIN4GOQ6/ Change-Id: I8cede6de0770b68a9984617643aa4aa81e47ba5c
66 lines
2.9 KiB
Plaintext
66 lines
2.9 KiB
Plaintext
|
|
seqdiag {
|
|
node_width = 80;
|
|
edge_length = 100;
|
|
|
|
EM; Client; NFVO; "Tacker common process"; "Tacker UserData script";
|
|
Heat; VDU1-VNFC1; VDU1-VNFC2;
|
|
|
|
=== Instantiate VNF ===
|
|
|
|
"Client" -> "Tacker common process"
|
|
[label = "POST /vnflcm/v2/vnf_instances/{vnfInstanceId}/instantiate"];
|
|
"Client" <-- "Tacker common process" [label = "Response 202 Accepted"];
|
|
"Tacker common process" ->> "Tacker common process"
|
|
[label = "calculate the number of VMs"];
|
|
"NFVO" <- "Tacker common process" [label = "POST /grants"];
|
|
"NFVO" --> "Tacker common process"
|
|
[label = "201 Created with OpenStack Glance imageid"];
|
|
"Tacker common process" -> "Tacker UserData script"
|
|
[label = "request, instance, grantRequest, grant, tmp_csar_dir"];
|
|
"Tacker common process" <-- "Tacker UserData script"
|
|
[label = "adjusted HOT and corresponding input-parameter",
|
|
leftnote = "Tacker UserData script makes adjusted HOT"];
|
|
"Tacker common process" -> "Heat"
|
|
[label = "POST /v1/{tenant_id}/stacks --parameter imageid=<original imageid>"];
|
|
"Heat" -> "VDU1-VNFC1" [label = "create VM"];
|
|
"Heat" <-- "VDU1-VNFC1" [label = ""];
|
|
"Tacker common process" <-- "Heat" [label = ""];
|
|
|
|
=== Update internal configuration on VNFC ===
|
|
|
|
"EM" -> "VDU1-VNFC1" [label = "update the internal configuration"];
|
|
"EM" <-- "VDU1-VNFC1" [label = ""];
|
|
|
|
=== Modify the VNF Instance's information in Tacker DB ===
|
|
|
|
"Client" -> "Tacker common process"
|
|
[label = "PATCH vnflcm/v2/vnf_instances/{vnfInstanceId}"];
|
|
"Tacker common process" -> "Tacker common process"
|
|
[label = "change vnfdid of the vnfInstance.
|
|
new vnfd includes identifier of the new image."];
|
|
"Client" <-- "Tacker common process" [label = "Response 202 Accepted"];
|
|
|
|
=== Scale-out the VNF ===
|
|
|
|
"Client" -> "Tacker common process"
|
|
[label = "/vnflcm/v2/vnf_instances/{vnfInstanceId}/scale"];
|
|
"Client" <-- "Tacker common process" [label = "Response 202 Accepted"];
|
|
"NFVO" <- "Tacker common process" [label = "POST /grants"];
|
|
"NFVO" --> "Tacker common process"
|
|
[label = "201 Created with new OpenStack Glance imageid"];
|
|
"Tacker common process" -> "Tacker UserData script"
|
|
[label = "request, instance, grantRequest, grant, tmp_csar_dir"];
|
|
"Tacker UserData script" -> "Tacker UserData script"
|
|
[label = "calculate the number of VMs"];
|
|
"Tacker common process" <-- "Tacker UserData script"
|
|
[label = "adjusted HOT and corresponding input-parameter",
|
|
leftnote = "Tacker UserData script makes adjusted HOT"];
|
|
"Tacker common process" -> "Heat"
|
|
[label = "PATCH /v1/{tenant_id}/stacks/{stack_name}/{stack_id}
|
|
--existing --parameter imageid=<new imageid>"];
|
|
"Heat" -> "VDU1-VNFC2" [label = "create VM"];
|
|
"Heat" <-- "VDU1-VNFC2" [label = ""];
|
|
"Tacker common process" <-- "Heat" [label = ""];
|
|
}
|