Merge "Fix test coverage not being reported in Sonar"
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / resources / Common.proto
1 package org.opendaylight.controller.mdsal;
2
3 option java_package = "org.opendaylight.controller.protobuff.messages.common";
4 option java_outer_classname = "NormalizedNodeMessages";
5
6
7 message Attribute{
8   required string name =1;
9   optional string value=2;
10   optional string type=3;
11 }
12
13 message QName {
14     required string value=1;
15 }
16
17 message PathArgument {
18   required string value=1;
19   optional string type=2; //NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates
20   optional QName nodeType=3;
21   repeated Attribute attributes=4;
22
23 }
24
25 message InstanceIdentifier {
26   repeated PathArgument arguments=1;
27 }
28
29 message Node{
30   optional string path = 1;
31   optional string type = 2;
32   repeated Attribute attributes = 3;
33   repeated Node child=4;
34   optional string value = 5;
35   optional string valueType = 6;
36   repeated string bitsValue = 7;
37   optional InstanceIdentifier instanceIdentifierValue = 8;
38 }
39
40 message Container{
41   required string parentPath =1 ;
42   optional Node normalizedNode=2;
43 }
44
45 message NodeMapEntry{
46   required InstanceIdentifier instanceIdentifierPath =1;
47   optional Node normalizedNode=2;
48 }
49
50 message NodeMap{
51 repeated NodeMapEntry mapEntries=1;
52 }