Skip to content

Commit

Permalink
Update sequence diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
ba2tro committed Dec 12, 2024
1 parent c86b7d7 commit 3673750
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions examples/controlplane/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Different control plane architectures with arbitrary network topologies can be s

2b. An interactive web app with the same simulation as 2a

The control protocol is illustrated at a high level by the sequence diagram below:
The connection-oriented control protocol is illustrated at a high level by the sequence diagram below:

```mermaid
sequenceDiagram
Expand All @@ -19,7 +19,16 @@ Controller-->>+RequestTrackerN: EntanglementRequest
Controller-->>+RequestTracker1: SwapRequest
Controller-->>+RequestTracker2: SwapRequest
Controller-->>+RequestTrackerN: SwapRequest
Controller-->>-Alice(Request Generator): RequestCompletion(path_id)
```

For the connection-less protocol we have pre=emptive entanglement generation and swaps are performed when a request is received at the controller

```mermaid
sequenceDiagram
Alice(Request Generator)->>+Controller: DistributionRequest(path_id)
Controller-->>+RequestTracker1: SwapRequest
Controller-->>+RequestTracker2: SwapRequest
Controller-->>+RequestTrackerN: SwapRequest
```

The `RequestGenerator` (Alice) sends a message to the controller, requesting entanglement generation with an end node (Bob).
Expand Down

0 comments on commit 3673750

Please sign in to comment.