From 55c46d65afb0c88450ddd8f225c8c138fe76de7b Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Mon, 2 Dec 2024 11:46:35 +0100 Subject: [PATCH] Add architecture image Signed-off-by: Ondra Machacek --- README.md | 5 +++++ doc/img/flow.mmd | 46 ++++++++++++++++++++++++++++++++++++++++++++++ doc/img/flow.svg | 1 + 3 files changed, 52 insertions(+) create mode 100644 doc/img/flow.mmd create mode 100644 doc/img/flow.svg 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..0b056e7 --- /dev/null +++ b/doc/img/flow.mmd @@ -0,0 +1,46 @@ +graph TB + User((User)) + MainUI[Migration Assessment UI] + Service[Migration Assessment Service] + AgentUI[Agent UI] + OVA[OVA Image] + Agent[Agent] + VCenter[(vCenter)] + Console[Assisted installer] + + subgraph Openshift-Console + Console + end + + subgraph vCenter + VCenter + subgraph Agent VM OVA + 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 + 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 | Openshift-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..5d0affb --- /dev/null +++ b/doc/img/flow.svg @@ -0,0 +1 @@ +

vCenter

Agent VM OVA

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

5 - Deploy OVA to

14 - Create cluster

Openshift-Console

Assisted installer

User

Migration Assessment UI

Migration Assessment Service

Agent UI

OVA Image

Agent

vCenter

\ No newline at end of file