|
|
This is the same chart I created in [Lucid charts](https://app.lucidchart.com/invitations/accept/5ff45f32-d7b0-47e2-ad98-7f2350f146e1), re-implemented in Mermaid, incase that is easier for gitlab users to edit. (I don't find mermaid that intuitive, but maybe you do?)
|
|
|
|
|
|
I was hoping to end up with a flowchart suitable to include in the documentation, ideally one we could maintain the source to in Gitlab and rebuild as needed. I am afraid unless someone has better Mermaid-foo, I don't think we have enough control over the layout of the subgraphs to make this readable. In that case, once the flow is correct, I will re-draw this in some other format that gives more control over the appearance.
|
|
|
I was hoping to end up with a flowchart suitable to include in the documentation, ideally one we could maintain the source to in Gitlab and rebuild as needed. I am afraid unless someone has better Mermaid-foo, I don't think we have enough control over the layout of the subgraphs to make this readable. In that case, once the flow is correct, I will re-draw this in some other format that gives more control over the appearance.
|
|
|
|
|
|
|
|
|
```mermaid
|
... | ... | @@ -19,7 +19,7 @@ graph TB; |
|
|
Node14 -- No --> Node16
|
|
|
Node15[(Check for Host Reservation, <br> evaluating Mac address and ciaddr)] -- Reservation, <br> add class=known <br> add options from HR --> Node17
|
|
|
Node15 -- No reservation --> Node16
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
subgraph "Address Assignment"
|
... | ... | @@ -34,7 +34,7 @@ graph TB; |
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
subgraph "Option Selection"
|
|
|
Node17((Address Selected)) --> Node23
|
|
|
Node30{Is this a host reservation?} -- Yes --> Node31[Add options associated <br> HR and class = known]
|
... | ... | @@ -46,7 +46,7 @@ graph TB; |
|
|
Node35 --> Node36[Add global options]
|
|
|
Node36 --> Node37((Options assigned)) --> Node7
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
subgraph "Client Request"
|
|
|
Node1[Request for new lease] --> Node2{Bypass global HR check?}
|
... | ... | @@ -57,8 +57,8 @@ graph TB; |
|
|
Node4 --> Node5{Does HR include an address?}
|
|
|
Node5 -- Yes, address provided --> Node17
|
|
|
Node5 ==> Node7[(Write lease to lease db)] ==> Node8([Respond to client <br> confirming lease])
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
|
|
|
``` |