ed95d621f4
As we are about to version the Watcher objects, we need to make sure that upcoming model/object modifications are additive in order to avoid having to bump the major version of the API. Therefore, this changeset removes 4 unused DB fields that were exposed in their associated Watcher objects (i.e. AuditTemplate and Audit). Change-Id: Ifb0783f21cd66db16b31e3c8e376fc9d6c07dea3 Partially-Implements: blueprint watcher-versioned-objects
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
@startuml
|
|
|
|
actor Administrator
|
|
|
|
== Create some Audit settings ==
|
|
|
|
Administrator -> Watcher : create new Audit Template (i.e. Audit settings : goal, scope, ...)
|
|
Watcher -> Watcher : save Audit Template in database
|
|
Administrator <-- Watcher : Audit Template UUID
|
|
|
|
== Launch a new Audit ==
|
|
|
|
Administrator -> Watcher : launch new Audit of the Openstack infrastructure resources\nwith a previously created Audit Template
|
|
Administrator <-- Watcher : Audit UUID
|
|
Administrator -> Watcher : get the Audit state
|
|
Administrator <-- Watcher : ONGOING
|
|
Watcher -> Watcher : compute a solution to achieve optimization goal
|
|
Administrator -> Watcher : get the Audit state
|
|
Administrator <-- Watcher : SUCCEEDED
|
|
|
|
== Get the result of the Audit ==
|
|
|
|
Administrator -> Watcher : get Action Plan
|
|
Administrator <-- Watcher : recommended Action Plan and estimated efficacy
|
|
Administrator -> Administrator : verify the recommended actions\nand evaluate the estimated gain vs aggressiveness of the solution
|
|
|
|
== Launch the recommended Action Plan ==
|
|
|
|
Administrator -> Watcher : launch the Action Plan
|
|
Administrator <-- Watcher : Action Plan has been launched
|
|
Watcher -> Watcher : trigger Actions on Openstack services
|
|
Administrator -> Watcher : get the Action Plan state
|
|
Administrator <-- Watcher : ONGOING
|
|
Administrator -> Watcher : get the Action Plan state
|
|
Administrator <-- Watcher : SUCCEEDED
|
|
|
|
@enduml
|