From d37febee74a85e0b2fb43327796107a87f66931c Mon Sep 17 00:00:00 2001
From: Martin Stiemerling <martin.stiemerling@h-da.de>
Date: Thu, 29 Jun 2023 16:33:01 +0000
Subject: [PATCH] Added sequence diagram for comm QKDNC & KMS.

---
 README.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/README.md b/README.md
index 247549a..eef5134 100644
--- a/README.md
+++ b/README.md
@@ -51,5 +51,25 @@ There are basically two ETSI interfaces, i.e.,
 ### SDN Controller (ETSI GS QKD 15)
 
 
+# Interactions (AKA Flowcharts)
+
+```mermaid 
+sequenceDiagram
+QKDNC->>KMS1: ETSIGetQuantumInterfaces()
+loop 
+    KMS1->>KMS1: range es.handlingEkms.QuantumElements
+end
+KMS1-->>QKDNC: List QuantumInterfaces
+QKDNC->>KMS1: ETSIAddKMSPeer(KMS2)
+KMS1-->>QKDNC: KMSPeer added
+KMS1->>KMS2: InterComCapabilities()
+KMS2->>KMS1: InterComCapabilitiesReply
+QKDNC->>KMS1: AddSession() NOTIMPLYET
+KMS1->>KMS2: InterComKeyTransportSessionHandling()
+KMS2->>KMS1: InterComKeyTransportSessionHandlingReply
+KMS1-->>QKDNC: SessionReply NOTIMPLYET
+
+```
+
 
 
-- 
GitLab