Skip to content

Commit

Permalink
Update from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Feb 12, 2024
1 parent bd5bd5a commit 60de074
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions doc/new_architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using Agama live.
auto-installation process.

* **Auto-installation (`autoinstallation`)**: it is composed by a Systemd service (`agama-auto`) and
an script that relies in `agama-cli`.
a script that relies on `agama-cli`.

In addition to those components, we need to consider Cockpit, which plays a vital role:

Expand All @@ -36,6 +36,7 @@ flowchart LR
subgraph Clients
Browser
CLI
auto
end
subgraph Cockpit
Expand All @@ -53,6 +54,7 @@ flowchart LR
CLI <--D-Bus--> Rust
CLI <--D-Bus--> Ruby
Rust <--D-Bus---> Ruby
auto --> CLI
```

## The new architecture
Expand Down Expand Up @@ -84,13 +86,17 @@ makes this React application available to the browsers.
auto-installation process. With the new architecture, connecting through the network might be
possible without SSH.

* **Auto-installation (`autoinstallation`)**: as in the current architecture, it is composed by
a Systemd service (`agama-auto`) and a script that relies on `agama-cli`.

The following diagram could be better, but it represents the main components and their interactions.

```mermaid
flowchart LR
subgraph Clients
Browser
CLI
auto
end
subgraph Agama Core
Expand All @@ -101,7 +107,7 @@ flowchart LR
WS["WebSocket"]
end
Web <--"Channel?" --> Rust
Web <--"Channel" --> Rust
end
Rust <-- "D-Bus" --> YaST["Agama YaST"]
Expand All @@ -110,6 +116,7 @@ flowchart LR
Browser <---> WS
CLI --> API
CLI <---> WS
auto --> CLI
```

### The web-based API
Expand Down

0 comments on commit 60de074

Please sign in to comment.