Bug 2327: Handle binary data in NormalizedNode streaming
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / resources / ShardTransaction.proto
1 package org.opendaylight.controller.mdsal;
2
3 import "Common.proto";
4
5 option java_package = "org.opendaylight.controller.protobuff.messages.transaction";
6 option java_outer_classname = "ShardTransactionMessages";
7
8 message CloseTransaction{
9 }
10
11 message CloseTransactionReply{
12
13 }
14
15 message CreateTransaction{
16   required string transactionId = 1;
17   required int32  transactionType =2;
18   optional string transactionChainId = 3;
19   optional int32 messageVersion = 4;
20 }
21
22 message CreateTransactionReply{
23   required string transactionActorPath = 1;
24   required string transactionId = 2;
25   optional int32 messageVersion = 3;
26 }
27
28 message ReadyTransaction{
29
30 }
31
32 message ReadyTransactionReply{
33   required string actorPath = 1;
34 }
35
36 message DeleteData {
37 required InstanceIdentifier instanceIdentifierPathArguments = 1;
38 }
39
40 message DeleteDataReply{
41
42 }
43 message ReadData {
44 required InstanceIdentifier instanceIdentifierPathArguments=1;
45 }
46
47 message ReadDataReply{
48   optional Node normalizedNode=1;
49 }
50
51 message WriteData {
52  required InstanceIdentifier instanceIdentifierPathArguments = 1;
53 required Node normalizedNode =2;
54
55 }
56
57 message WriteDataReply{
58
59 }
60
61 message MergeData {
62  required InstanceIdentifier instanceIdentifierPathArguments = 1;
63 required Node normalizedNode =2;
64
65 }
66
67 message MergeDataReply{
68
69 }
70
71 message DataExists {
72   required InstanceIdentifier instanceIdentifierPathArguments = 1;
73 }
74
75 message DataExistsReply {
76   required bool exists = 1;
77 }