Download OpenAPI specification:
Messages the SDN sends to the KMS
Query which essential features are supported by this instance.
{- "key_relay_support": true,
- "app_api_support": [
- "etsi_014"
], - "etsi_014_info": {
- "KME_ID": "string",
- "key_size": 0,
- "stored_key_count": 0,
- "max_key_count": 0,
- "max_key_per_request": 0,
- "max_key_size": 0,
- "min_key_size": 0,
- "max_SAE_ID_count": 0,
- "status_extension": { }
}
}Get the status from the KMS, it can be online or stopped.
| new_operation_state_only | boolean Default: false If true, only consider operational status events since last query. If not given default of "false" is used. |
{- "state": "online",
- "operation": "normal operation"
}Receive QKD device information the KMS instance has.
{- "qkd_devices": [
- {
- "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940",
- "link_id": "02a2c2f0-9521-47cc-9615-2e177adeebac",
- "label": "'Alice & Bob Quantum Inc.' on node AIT",
- "state": "online",
- "interface": "etsi_004",
- "protocol": "https",
- "peer_kms": "53d3fa09-9e87-40d5-a7c0-974fcfe95c72"
}
]
}Modify state of the KMS, it can be online, stopped or offline.
| state required | string Enum: "stopped" "offline" "online" Target state of the KMS. |
{- "state": "offline"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}Create/register a new QKD device in the KMS instance.
| device_id required | string <uuid> |
| link_id required | string <uuid> The ID of the link this device is associate to. |
| label required | string Human readable label, for example vendor name and model number. |
| state required | string Enum: "online" "stopped" "offline" Current or target state after successful operation |
| interface required | string Enum: "etsi_004" "etsi_014" "skip" Interface type of the QKD device |
| protocol required | string Transport protocol used, for ETSI GS QKD 014 typically https. |
| peer_kms required | string to which peer is this device connected, does not have to be UUID format, but unique in network |
| server_address required | string URI of the QKD device server. Specify domain (or IP) and port. |
object Only required if QKD device uses ETSI GS QKD 014 interface. | |
object (etsi_004_device_QoS_data) only required if QKD device uses ETSI GS QKD 004 interface. All values according to ETSI GS QKD 004 specification. |
{- "link_id": "02a2c2f0-9521-47cc-9615-2e177adeebac",
- "label": "'Alice & Bob Quantum Inc.' on node AIT",
- "state": "online",
- "interface": "etsi_004",
- "protocol": "https",
- "peer_kms": "53d3fa09-9e87-40d5-a7c0-974fcfe95c72",
- "server_address": "172.0.10.101:5683",
- "etsi_014": {
- "primary_id": "6a45ee57-8673-40cb-97ed-6f4f06e1f975",
- "secondary_id": "55169914-40a0-43de-8cf1-d3472db644bd"
}, - "etsi_004": {
- "source": "string",
- "destination": "string",
- "key_chunk_size": 32,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 5,
- "metadata_mimetype": "application/json"
}
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}Update mutable fields of a known QKD device.
| device_id required | string <uuid> |
| link_id | string <uuid> The ID of the link this device is associate to. |
| label | string Human readable label, for example vendor name and model number. |
| state | string Enum: "online" "stopped" "offline" Current or target state after successful operation |
| interface | string Enum: "etsi_004" "etsi_014" "skip" Interface type of the QKD device |
| protocol | string Transport protocol used, for ETSI GS QKD 014 typically https. |
| peer_kms | string to which peer is this device connected, does not have to be UUID format, but unique in network |
| server_address | string URI of the QKD device server. Specify domain (or IP) and port. |
object Only required if QKD device uses ETSI GS QKD 014 interface. | |
object (etsi_004_device_QoS_data) only required if QKD device uses ETSI GS QKD 004 interface. All values according to ETSI GS QKD 004 specification. |
{- "link_id": "02a2c2f0-9521-47cc-9615-2e177adeebac",
- "label": "'Alice & Bob Quantum Inc.' on node AIT",
- "state": "online",
- "interface": "etsi_004",
- "protocol": "https",
- "peer_kms": "53d3fa09-9e87-40d5-a7c0-974fcfe95c72",
- "server_address": "172.0.10.101:5683",
- "etsi_014": {
- "primary_id": "6a45ee57-8673-40cb-97ed-6f4f06e1f975",
- "secondary_id": "55169914-40a0-43de-8cf1-d3472db644bd"
}, - "etsi_004": {
- "source": "string",
- "destination": "string",
- "key_chunk_size": 32,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 5,
- "metadata_mimetype": "application/json"
}
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}Get the performance data for the link with the given link id. Query parameter for entries is optional.
| link_id required | string <uuid> link's UUID |
| entries | integer Optional. Number of history records requested. If not specified maximal available history is returned. If 0, only current value is transmitted. |
{- "current": {
- "timestamp": "2024-08-27T17:41:28Z",
- "delta_t": 10000,
- "IKR": 50,
- "EXKR": 50,
- "SKR": 500,
- "KAV": 400
}, - "history": [
- {
- "timestamp": "2024-08-27T17:41:28Z",
- "delta_t": 10000,
- "IKR": 144,
- "SKR": 1250,
- "EXKR": 320,
- "KAV": 1810
}, - {
- "timestamp": "2024-08-27T17:31:28Z",
- "delta_t": 10000,
- "IKR": 144,
- "SKR": 1250,
- "EXKR": 320,
- "KAV": 1024
}
]
}Create a link relay configuration record with the data in the request, using the given key_stream_id as an identifier
| key_stream_id required | string <uuid> key_stream_id's UUID |
| source required | string URI or UUID of the source APP |
| destination required | Array of strings[ items non-empty ] |
| next_node_info required | Array of strings List of adjacent nodes. Type URI authority |
object (qos-data) QoS requested by the KMS |
{- "next_node_info": [
- "kms-1.net:5683",
- "kms-3.net:5684"
], - "qos_request": {
- "type": "etsi_014",
- "etsi_014": {
- "number": 1,
- "size": 256,
- "extensions": [
- {
- "example_key": "example_value"
}
]
}, - "etsi_004": {
- "key_chunk_size": 32,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 5,
- "metadata_mimetype": "application/json"
}
}
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}Replace a link relay configuration with the data in the request, using the given key_stream_id as an identifier. Only the data to be changed should be included in data body, supporting partial updates.
| key_stream_id required | string <uuid> key_stream_id's UUID |
| source | string Source APP's URI or UUID |
| destination | Array of strings[ items non-empty ] |
| next_node_info | Array of strings List of adjacent nodes. Type URI authority. |
| qos_request | object QoS requested by the KMS |
{- "next_node_info": [
- "172.0.10.103:5683",
- "172.0.10.103:5684"
], - "qos_request": {
- "key_chunk_size": 4,
- "max_bps": 128,
- "min_bps": 64,
- "jitter": 1,
- "priority": 3,
- "timeout": 50,
- "ttl": 5,
- "metadata_mimetype": "application/json"
}
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}Delete the relay configuration associated with the given key_stream_id
| key_stream_id required | string <uuid> key stream's UUID |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string"
}