Add documentation
parent
f6c24f0eaa
commit
b250277bab
@ -0,0 +1,28 @@
|
||||
@startuml
|
||||
autonumber
|
||||
hide footbox
|
||||
|
||||
footer "RoutingTableToWg | Ruakij"
|
||||
|
||||
title "Add Route"
|
||||
|
||||
participant System
|
||||
control Program
|
||||
boundary Wireguard
|
||||
|
||||
System ++
|
||||
Wireguard ++
|
||||
System ->> Program ++ : Add Route
|
||||
Program -> Program : Filter Route
|
||||
|
||||
Program -> Wireguard ++ : Get current State
|
||||
Wireguard -> Program -- : State
|
||||
|
||||
Program -> Program : Find Peer with Gateway\nfrom AllowedIPs
|
||||
|
||||
Program -> Wireguard ++ : Add Dst-Net to\nAllowedIPs from Peer
|
||||
Wireguard --> Program --
|
||||
|
||||
Program --
|
||||
|
||||
@enduml
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,28 @@
|
||||
@startuml
|
||||
autonumber
|
||||
hide footbox
|
||||
|
||||
footer "RoutingTableToWg | Ruakij"
|
||||
|
||||
title "Delete Route"
|
||||
|
||||
participant System
|
||||
control Program
|
||||
boundary Wireguard
|
||||
|
||||
System ++
|
||||
Wireguard ++
|
||||
System ->> Program ++ : Delete Route
|
||||
Program -> Program : Filter Route
|
||||
|
||||
Program -> Wireguard ++ : Get current State
|
||||
Wireguard -> Program -- : State
|
||||
|
||||
Program -> Program : Find Peer with Dst-Net\nfrom AllowedIPs
|
||||
|
||||
Program -> Wireguard ++ : Remove Dst-Net from\nAllowedIPs from Peer
|
||||
Wireguard --> Program --
|
||||
|
||||
Program --
|
||||
|
||||
@enduml
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue