diff --git a/src/dlt/src/main/kotlin/proto/Config.proto b/src/dlt/src/main/kotlin/proto/Config.proto index fb5badf00fd516690423afda633cdf700abab7a6..4345af4827ad3e74201ffca36fc3022cbdbb6ca8 100644 --- a/src/dlt/src/main/kotlin/proto/Config.proto +++ b/src/dlt/src/main/kotlin/proto/Config.proto @@ -14,4 +14,29 @@ message DltConfig { string caAdminSecret = 9; string msp = 10; string affiliation = 11; +} + +message DltRecordId { + string uuid = 1; +} + +enum DltRecordOperation { + ADD = 0; + GET = 1; + UPDATE = 2; + DISABLE = 3; +} + +enum DltRecordType { + UNKNOWN = 0; + SERVICE = 1; + DEVICE = 2; + SLICE = 3; +} + +message DltRecord { + DltRecordId id = 1; + DltRecordOperation operation = 2; + DltRecordType type = 3; + string json = 4; } \ No newline at end of file