You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements and fixes:
- Uniformize actor activation code in Mermaid sequence diagram.
- Fix erroneous arrows for return messages in onboarding sequence diagram.
- Small readibility improvement in onboarding sequence diagram: Request messages have a continuous line and returns a dashed line.
- Add to onboarding sequence diagram a box showing the proposal for using a FIDO onboarding workflow.
- Improve readability
- Add legend
- Document possible sequence diagram change
- Typos
Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Copy file name to clipboardExpand all lines: system-design/fleet-management/workload/workload-fleet-management-edge-onboarding.md
+35-28Lines changed: 35 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ In order for the Workload Fleet Management software to manage the edge device's
13
13
- The device's management client receives the URL for the Git repository containing its desired state and an associated access token for authentication
14
14
- The [device capabilities](./device-capability-reporting.md) information is sent from the device to the workload orchestration web service using the [Device API](../../margo-api-reference/workload-api/device-api/device-capabilities.md)
15
15
16
+
> Note:
17
+
> ๐ Indicates communication is secure and requires authentication/authorization.
18
+
> ๐ Indicates communication is secure but DOES NOT require authentication/authorization.
19
+
16
20
```mermaid
17
21
sequenceDiagram
18
22
%%{init: {'sequence': {'mirrorActors': false}}}%%
@@ -23,51 +27,54 @@ sequenceDiagram
23
27
participant wos as WOS
24
28
participant git as WOS: Device Git Repo
25
29
note over device, git: Workload orchestration onboarding
26
-
user -->> device: Get device id and cert
27
-
activate device
28
-
device -->> user: return
29
-
deactivate device
30
-
user -->> wos: Provides device id and cert to pre-register device in end user's tenant ๐
30
+
user ->>+ device: Get device id and cert
31
+
device -->>- user: return
32
+
user ->> wos: Provides device id and cert to pre-register device in end user's tenant ๐
31
33
32
-
%%note over device, rendezvous: FIDO
33
-
user -->> rendezvous: Provides WOS URL
34
-
device -->>+ rendezvous: Looks up WOS URL
35
-
rendezvous -->>- device: return
36
-
device -->>+ wos: Request WOS' public signing cert ๐
37
-
wos -->- device: return
38
-
device -->>+ wos: Send onboard request, device id and certificate ๐
39
-
wos -->> wos: Vaidates device id and cert with onboarding registry
40
-
wos -->- device: returns URL to check onboarding status
device -->>+ git: Checks for updates to desired state ๐
60
+
device ->>+ git: Checks for updates to desired state ๐
55
61
git -->>- device: return
56
62
opt
57
-
device -->> wos: Requests new GitOps token ๐
63
+
device ->> wos: Requests new GitOps token ๐
58
64
wos -->> device: return
59
65
end
60
-
device -->> device: Applies new desired state
61
-
device -->> wos: Sends state ๐
62
-
device -->> wos: Sends state ๐
63
-
device -->> wos: Sends final state ๐
66
+
device ->> device: Applies new desired state
67
+
device ->> wos: Sends state ๐
68
+
device ->> wos: Sends state ๐
69
+
device ->> wos: Sends final state ๐
64
70
end
65
71
```
72
+
66
73
> Action: FIDO Device onboarding has not been finalized as the standard onboarding solution. Further discussion/investigations are needed.
67
74
68
75
### Configuring the Workload Fleet Management Web Service URL
69
76
70
-
> Action: Ideally this URL is discoverable instead of having to manually enter it but we still need to determine if there is a good way to make this discoverable by using something like the FDO Rendezvous service or multicast DNS. Also, once we determine how the Margo compliant device onboarding and fleet management is going to work it will probably impact this.
77
+
> Action: Ideally this URL is discoverable instead of having to manually enter it but we still need to determine if there is a good way to make this discoverable by using something like the FIDO Rendezvous service or multicast DNS. Also, once we determine how the Margo compliant device onboarding and fleet management is going to work it will probably impact this.
71
78
72
79
To ensure the management client is configured to communicate with the correct Workload Fleet Management web service, the device's management client needs to be configured with the expected URL. The device vendor MUST provide a way for the end user to manually set the URL the device's management client uses to communicate with the workload orchestration solution chosen by the end user.
0 commit comments