diff --git a/README.md b/README.md index 86f8bd5..bba927f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # Assisted migration Plan migrations to OpenShift Virtualization from VMware. + +## Architecture + +### Flow chart +![Flow Diagram](doc/img/flow.svg) diff --git a/doc/img/flow.mmd b/doc/img/flow.mmd new file mode 100644 index 0000000..8f80a89 --- /dev/null +++ b/doc/img/flow.mmd @@ -0,0 +1,46 @@ +graph TB + User((User)) + MainUI[Main Web UI] + Service[Central Service] + AgentUI[Agent Web UI] + OVA[OVA Image] + Agent[Agent Application] + VCenter[(vCenter)] + Console[Assisted installer] + + subgraph Openshift Console + Console + end + + subgraph vCenter-Infrastructure + VCenter + subgraph Agent-VM + AgentUI + Agent + end + end + + User-->| 1 - Generate OVA| MainUI + MainUI<--> |2 - Generate OVA| Service + Service-->|3 - Generates OVA| OVA + User<-->|4 - Downloads OVA| OVA + User-->|5 - Deploy OVA to| vCenter-Infrastructure + Agent-->|6 - Registers with| Service + Service-->|7 - Display Agent IP| MainUI + User-->|8 - Enter vCenter credentials| AgentUI + AgentUI-->|9 - Execute collection of data | Agent + Agent<-->|10 - Fetch infrastructure data| VCenter + Agent-->|11 - Sends data to| Service + Service-->|12 - Display data| MainUI + User-->|13 - Create cluster | MainUI + MainUI-->|14 - Create cluster | Console + + classDef service fill:#f96,stroke:#333,stroke-width:2px + classDef ui fill:#9cf,stroke:#333,stroke-width:2px + classDef agent fill:#9f9,stroke:#333,stroke-width:2px + classDef infra fill:#fcf,stroke:#333,stroke-width:2px + + class Service service + class MainUI,AgentUI ui + class Agent agent + class VCenter infra diff --git a/doc/img/flow.svg b/doc/img/flow.svg new file mode 100644 index 0000000..5426c3a --- /dev/null +++ b/doc/img/flow.svg @@ -0,0 +1 @@ +

vCenter-Infrastructure

Openshift Console

Agent-VM

1 - Generate OVA

2 - Generate OVA

3 - Generates OVA

4 - Downloads OVA

6 - Registers with

7 - Display Agent IP

8 - Enter vCenter credentials

9 - Execute collection of data

10 - Fetch infrastructure data

11 - Sends data to

12 - Display data

13 - Create cluster

14 - Create cluster

5 - Deploy OVA to

User

Main Web UI

Central Service

Agent Web UI

OVA Image

Agent Application

vCenter

Assisted installer

\ No newline at end of file