Commit ef4b6eb1 authored by Konstantin Munichev's avatar Konstantin Munichev
Browse files

[dlt] Proto for DLT records

parent 61a05fbb
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -15,3 +15,28 @@ message DltConfig {
  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