Commit de172049 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Test - QKD E2E:

- Corrected QKD Node deployment
- Corrected topology descriptor
- Deactivated rest of CI/CD tests
parent d6a50486
Loading
Loading
Loading
Loading
+37 −37
Original line number Diff line number Diff line
@@ -21,43 +21,43 @@ stages:

# include the individual .gitlab-ci.yml of each micro-service and tests
include:
  #- local: '/manifests/.gitlab-ci.yml'
  - local: '/src/monitoring/.gitlab-ci.yml'
  - local: '/src/nbi/.gitlab-ci.yml'
  - local: '/src/context/.gitlab-ci.yml'
  - local: '/src/device/.gitlab-ci.yml'
  - local: '/src/service/.gitlab-ci.yml'
  - local: '/src/qkd_app/.gitlab-ci.yml'
  - local: '/src/dbscanserving/.gitlab-ci.yml'
  - local: '/src/opticalattackmitigator/.gitlab-ci.yml'
  - local: '/src/opticalattackdetector/.gitlab-ci.yml'
  - local: '/src/opticalattackmanager/.gitlab-ci.yml'
  - local: '/src/opticalcontroller/.gitlab-ci.yml'
  - local: '/src/ztp/.gitlab-ci.yml'
  - local: '/src/policy/.gitlab-ci.yml'
  - local: '/src/automation/.gitlab-ci.yml'
  - local: '/src/forecaster/.gitlab-ci.yml'
  #- local: '/src/webui/.gitlab-ci.yml'
  #- local: '/src/l3_distributedattackdetector/.gitlab-ci.yml'
  #- local: '/src/l3_centralizedattackdetector/.gitlab-ci.yml'
  #- local: '/src/l3_attackmitigator/.gitlab-ci.yml'
  - local: '/src/slice/.gitlab-ci.yml'
  #- local: '/src/interdomain/.gitlab-ci.yml'
  - local: '/src/pathcomp/.gitlab-ci.yml'
  #- local: '/src/dlt/.gitlab-ci.yml'
  - local: '/src/load_generator/.gitlab-ci.yml'
  - local: '/src/bgpls_speaker/.gitlab-ci.yml'
  - local: '/src/kpi_manager/.gitlab-ci.yml'
  - local: '/src/kpi_value_api/.gitlab-ci.yml'
  #- local: '/src/kpi_value_writer/.gitlab-ci.yml'
  #- local: '/src/telemetry/.gitlab-ci.yml'
  - local: '/src/analytics/.gitlab-ci.yml'
  - local: '/src/qos_profile/.gitlab-ci.yml'
  - local: '/src/vnt_manager/.gitlab-ci.yml'
  - local: '/src/e2e_orchestrator/.gitlab-ci.yml'
  - local: '/src/ztp_server/.gitlab-ci.yml'
  - local: '/src/osm_client/.gitlab-ci.yml'
  - local: '/src/simap_connector/.gitlab-ci.yml'
#  #- local: '/manifests/.gitlab-ci.yml'
#  - local: '/src/monitoring/.gitlab-ci.yml'
#  - local: '/src/nbi/.gitlab-ci.yml'
#  - local: '/src/context/.gitlab-ci.yml'
#  - local: '/src/device/.gitlab-ci.yml'
#  - local: '/src/service/.gitlab-ci.yml'
#  - local: '/src/qkd_app/.gitlab-ci.yml'
#  - local: '/src/dbscanserving/.gitlab-ci.yml'
#  - local: '/src/opticalattackmitigator/.gitlab-ci.yml'
#  - local: '/src/opticalattackdetector/.gitlab-ci.yml'
#  - local: '/src/opticalattackmanager/.gitlab-ci.yml'
#  - local: '/src/opticalcontroller/.gitlab-ci.yml'
#  - local: '/src/ztp/.gitlab-ci.yml'
#  - local: '/src/policy/.gitlab-ci.yml'
#  - local: '/src/automation/.gitlab-ci.yml'
#  - local: '/src/forecaster/.gitlab-ci.yml'
#  #- local: '/src/webui/.gitlab-ci.yml'
#  #- local: '/src/l3_distributedattackdetector/.gitlab-ci.yml'
#  #- local: '/src/l3_centralizedattackdetector/.gitlab-ci.yml'
#  #- local: '/src/l3_attackmitigator/.gitlab-ci.yml'
#  - local: '/src/slice/.gitlab-ci.yml'
#  #- local: '/src/interdomain/.gitlab-ci.yml'
#  - local: '/src/pathcomp/.gitlab-ci.yml'
#  #- local: '/src/dlt/.gitlab-ci.yml'
#  - local: '/src/load_generator/.gitlab-ci.yml'
#  - local: '/src/bgpls_speaker/.gitlab-ci.yml'
#  - local: '/src/kpi_manager/.gitlab-ci.yml'
#  - local: '/src/kpi_value_api/.gitlab-ci.yml'
#  #- local: '/src/kpi_value_writer/.gitlab-ci.yml'
#  #- local: '/src/telemetry/.gitlab-ci.yml'
#  - local: '/src/analytics/.gitlab-ci.yml'
#  - local: '/src/qos_profile/.gitlab-ci.yml'
#  - local: '/src/vnt_manager/.gitlab-ci.yml'
#  - local: '/src/e2e_orchestrator/.gitlab-ci.yml'
#  - local: '/src/ztp_server/.gitlab-ci.yml'
#  - local: '/src/osm_client/.gitlab-ci.yml'
#  - local: '/src/simap_connector/.gitlab-ci.yml'

  # This should be last one: end-to-end integration tests
  - local: '/src/tests/.gitlab-ci.yml'
+14 −14
Original line number Diff line number Diff line
@@ -14,20 +14,20 @@

# include the individual .gitlab-ci.yml of each end-to-end integration test
include:
  - local: '/src/tests/ofc22/.gitlab-ci.yml'
  #- local: '/src/tests/oeccpsc22/.gitlab-ci.yml'
  - local: '/src/tests/ecoc22/.gitlab-ci.yml'
  #- local: '/src/tests/nfvsdn22/.gitlab-ci.yml'
  #- local: '/src/tests/ofc23/.gitlab-ci.yml'
  - local: '/src/tests/ofc24/.gitlab-ci.yml'
  - local: '/src/tests/eucnc24/.gitlab-ci.yml'
  #- local: '/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml'
  #- local: '/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml'
  #- local: '/src/tests/ofc25/.gitlab-ci.yml'
  #- local: '/src/tests/ryu-openflow/.gitlab-ci.yml'
#  - local: '/src/tests/ofc22/.gitlab-ci.yml'
#  #- local: '/src/tests/oeccpsc22/.gitlab-ci.yml'
#  - local: '/src/tests/ecoc22/.gitlab-ci.yml'
#  #- local: '/src/tests/nfvsdn22/.gitlab-ci.yml'
#  #- local: '/src/tests/ofc23/.gitlab-ci.yml'
#  - local: '/src/tests/ofc24/.gitlab-ci.yml'
#  - local: '/src/tests/eucnc24/.gitlab-ci.yml'
#  #- local: '/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml'
#  #- local: '/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml'
#  #- local: '/src/tests/ofc25/.gitlab-ci.yml'
#  #- local: '/src/tests/ryu-openflow/.gitlab-ci.yml'
  - local: '/src/tests/qkd_end2end/.gitlab-ci.yml'

  - local: '/src/tests/tools/mock_tfs_nbi_dependencies/.gitlab-ci.yml'
#  - local: '/src/tests/tools/mock_tfs_nbi_dependencies/.gitlab-ci.yml'
  - local: '/src/tests/tools/mock_qkd_node/.gitlab-ci.yml'
  - local: '/src/tests/tools/mock_osm_nbi/.gitlab-ci.yml'
  - local: '/src/tests/tools/simap_server/.gitlab-ci.yml'
#  - local: '/src/tests/tools/mock_osm_nbi/.gitlab-ci.yml'
#  - local: '/src/tests/tools/simap_server/.gitlab-ci.yml'
+6 −6
Original line number Diff line number Diff line
@@ -9,24 +9,24 @@
        {
            "device_id": {"device_uuid": {"uuid": "QKD1"}}, "device_type": "qkd-node", "device_drivers": ["DEVICEDRIVER_QKD"],
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.101"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8080"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.254"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8881"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {"scheme": "http"}}}
            ]}
        },
        {
            "device_id": {"device_uuid": {"uuid": "QKD2"}}, "device_type": "qkd-node", "device_drivers": ["DEVICEDRIVER_QKD"],
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.102"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8080"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.254"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8882"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {"scheme": "http"}}}
            ]}
        },
        {
            "device_id": {"device_uuid": {"uuid": "QKD3"}}, "device_type": "qkd-node", "device_drivers": ["DEVICEDRIVER_QKD"],
            "device_config": {"config_rules": [
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.103"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8080"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.254.250.254"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "8883"}},
                {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": {"scheme": "http"}}}
            ]}
        }
+3 −3
Original line number Diff line number Diff line
@@ -22,13 +22,13 @@ docker network rm --force qkd-node-br
docker network create --driver bridge --subnet=172.254.250.0/24 --gateway=172.254.250.254 qkd-node-br

# Create QKD Nodes
docker run --detach --name qkd-node-01 --network qkd-node-br --ip 172.254.250.101 \
docker run --detach --name qkd-node-01 --network qkd-node-br --ip 172.254.250.101 --publish 8881:8080 \
    --volume "$PWD/src/tests/qkd_end2end/data/qkd-node-01.json:/var/mock_qkd_node/startup.json" \
    mock-qkd-node:test
docker run --detach --name qkd-node-02 --network qkd-node-br --ip 172.254.250.102 \
docker run --detach --name qkd-node-02 --network qkd-node-br --ip 172.254.250.102 --publish 8882:8080 \
    --volume "$PWD/src/tests/qkd_end2end/data/qkd-node-02.json:/var/mock_qkd_node/startup.json" \
    mock-qkd-node:test
docker run --detach --name qkd-node-03 --network qkd-node-br --ip 172.254.250.103 \
docker run --detach --name qkd-node-03 --network qkd-node-br --ip 172.254.250.103 --publish 8883:8080 \
    --volume "$PWD/src/tests/qkd_end2end/data/qkd-node-03.json:/var/mock_qkd_node/startup.json" \
    mock-qkd-node:test