Remove l2switch sample
[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 }
20
21 message CreateTransactionReply{
22 required string transactionActorPath = 1;
23 required string transactionId = 2;
24
25 }
26
27 message ReadyTransaction{
28
29 }
30
31 message ReadyTransactionReply{
32 required string actorPath = 1;
33 }
34
35 message DeleteData {
36 required InstanceIdentifier instanceIdentifierPathArguments = 1;
37 }
38
39 message DeleteDataReply{
40
41 }
42 message ReadData {
43 required InstanceIdentifier instanceIdentifierPathArguments=1;
44 }
45
46 message ReadDataReply{
47   optional Node normalizedNode=1;
48 }
49
50 message WriteData {
51  required InstanceIdentifier instanceIdentifierPathArguments = 1;
52 required Node normalizedNode =2;
53
54 }
55
56 message WriteDataReply{
57
58 }
59
60 message MergeData {
61  required InstanceIdentifier instanceIdentifierPathArguments = 1;
62 required Node normalizedNode =2;
63
64 }
65
66 message MergeDataReply{
67
68 }
69
70 message DataExists {
71   required InstanceIdentifier instanceIdentifierPathArguments = 1;
72 }
73
74 message DataExistsReply {
75   required bool exists = 1;
76 }