Skip to content

Add the local id and remote id in key protobuffer message #25

@kaiduanx

Description

@kaiduanx

Now the following code decides the site id of A or B.

https://github.com/Open-QKD-Network/qkd-net/blob/issue-21-zp/qnl/key-routing-service/src/main/java/com/uwaterloo/iqc/qnl/qll/cqptoolkit/server/KeyTransferServer.java#L87

This will not work when we have more than 2 nodes in the system.

Please add local and remote as string to key protobuffer message.

https://github.com/Open-QKD-Network/qkd-net/blob/issue-21-zp/qnl/key-routing-service/src/main/proto/KeyTransfer.proto#L7 key

message Key {
bytes key = 1;
uint64 seqID = 2;
string localId = 3;
string remoteId = 4;
}

LocalId and remoteId is the id of dummy driver, it is set in the dummydriver.json when we run dummy driver.

Please figure out by yourself how to change the code in cqptoolkit to pass the local id and remote id to OpenQKDNetwork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions