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
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
|
|
seqdiag {
|
|
node_width = 150;
|
|
edge_length = 160;
|
|
|
|
"External Monitoring Tool"
|
|
"Prometheus Plugin"
|
|
"Vnflcm Controller"
|
|
"Vnflcm Driver"
|
|
"Tacker DB"
|
|
|
|
"External Monitoring Tool" -> "Prometheus Plugin"
|
|
[label = "1. POST /alert/auto_scaling"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "2. Check if this API is enabled in Prometheus Plugin"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "3. Check the status of the received alert"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "4. Check if this alert is for AutoScale"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "5. Check that the received alert contains a valid type of Scale"];
|
|
"Prometheus Plugin" -> "Tacker DB"
|
|
[label = "6. Find the corresponding resource from the DB"];
|
|
"Prometheus Plugin" <-- "Tacker DB"
|
|
[label = "vnf_instance"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "7. Check whether the resource has AutoScale enabled"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "8. Check aspect_id in vnf_instance"];
|
|
"Prometheus Plugin" -> "Vnflcm Controller"
|
|
[label = "9. Call the internal Scale function"];
|
|
"Vnflcm Controller" -> "Vnflcm Driver"
|
|
[label = "10. Trigger asynchronous task", note = "The same with the default Scale operation"];
|
|
"Prometheus Plugin" <-- "Vnflcm Controller"
|
|
[label = "Response 202 Accepted"];
|
|
"External Monitoring Tool" <-- "Prometheus Plugin"
|
|
[label = "Response 204 No Content"];
|
|
}
|