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
37 lines
1.4 KiB
Plaintext
37 lines
1.4 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_healing"];
|
|
"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 AutoHeal"];
|
|
"Prometheus Plugin" -> "Tacker DB"
|
|
[label = "5. Find the corresponding resource from the DB"];
|
|
"Prometheus Plugin" <-- "Tacker DB"
|
|
[label = "vnf_instance"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "6. Check whether the resource has AutoHeal enabled"];
|
|
"Prometheus Plugin" -> "Prometheus Plugin"
|
|
[label = "7. Check vnfc_info_id in vnf_instance"];
|
|
"Prometheus Plugin" -> "Vnflcm Controller"
|
|
[label = "8. Call the internal Heal function"];
|
|
"Vnflcm Controller" -> "Vnflcm Driver"
|
|
[label = "9. Trigger asynchronous task", note = "The same with the default Heal operation"];
|
|
"Prometheus Plugin" <-- "Vnflcm Controller"
|
|
[label = "Response 202 Accepted"];
|
|
"External Monitoring Tool" <-- "Prometheus Plugin"
|
|
[label = "Response 204 No Content"];
|
|
}
|