Commit 33a983c2 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

QKD E2E Test:

- Added descriptors for direct and virtual QKD links
- Added commands.txt with useful commands
- Added redeploy scripts
parent 06827436
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line

src/tests/qkd_end2end/redeploy-all.sh
src/tests/qkd_end2end/redeploy-tfs.sh
src/tests/qkd_end2end/redeploy-qkd-nodes.sh

python src/qkd_app/tests/test_create_apps.py

src/tests/qkd_end2end/dump_logs.sh
+16 −0
Original line number Diff line number Diff line
{
  "services": [
    {
      "service_id": {
        "context_id": {"context_uuid": {"uuid": "admin"}},
        "service_uuid": {"uuid": "direct-link-QKD1-QKD2"}
      },
      "name": "direct-link-QKD1-QKD2",
      "service_type": "SERVICETYPE_QKD",
      "service_endpoint_ids": [
        {"device_id": {"device_uuid": {"uuid": "QKD1"}}, "endpoint_uuid": {"uuid": "QKD2:201"}},
        {"device_id": {"device_uuid": {"uuid": "QKD2"}}, "endpoint_uuid": {"uuid": "QKD1:102"}}
      ]
    }
  ]
}
+16 −0
Original line number Diff line number Diff line
{
  "services": [
    {
      "service_id": {
        "context_id": {"context_uuid": {"uuid": "admin"}},
        "service_uuid": {"uuid": "direct-link-QKD2-QKD3"}
      },
      "name": "direct-link-QKD2-QKD3",
      "service_type": "SERVICETYPE_QKD",
      "service_endpoint_ids": [
        {"device_id": {"device_uuid": {"uuid": "QKD2"}}, "endpoint_uuid": {"uuid": "QKD3:302"}},
        {"device_id": {"device_uuid": {"uuid": "QKD3"}}, "endpoint_uuid": {"uuid": "QKD2:203"}}
      ]
    }
  ]
}
+16 −0
Original line number Diff line number Diff line
{
  "services": [
    {
      "service_id": {
        "context_id": {"context_uuid": {"uuid": "admin"}},
        "service_uuid": {"uuid": "virtual-link-QKD1-QKD3"}
      },
      "name": "virtual-link-QKD1-QKD3",
      "service_type": "SERVICETYPE_QKD",
      "service_endpoint_ids": [
        {"device_id": {"device_uuid": {"uuid": "QKD1"}}, "endpoint_uuid": {"uuid": "QKD2:201"}},
        {"device_id": {"device_uuid": {"uuid": "QKD3"}}, "endpoint_uuid": {"uuid": "QKD2:203"}}
      ]
    }
  ]
}
+9 −0
Original line number Diff line number Diff line
#!/bin/bash

kubectl --namespace tfs logs deployment/contextservice -c server > context.log
kubectl --namespace tfs logs deployment/deviceservice -c server > device.log
kubectl --namespace tfs logs deployment/pathcompservice -c frontend > pathcomp_front.log
kubectl --namespace tfs logs deployment/pathcompservice -c backend > pathcomp_back.log
kubectl --namespace tfs logs deployment/serviceservice -c server > service.log
kubectl --namespace tfs logs deployment/qkd-appservice -c server > qkd_app.log
kubectl --namespace tfs logs deployment/nbiservice -c server > nbi.log
Loading