X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fresources%2FCommon.proto;fp=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fresources%2FCommon.proto;h=59d78dd04d483c8157d142a7bc7a04958e55db25;hb=6b9c0bb57b65343df31fd68d178821a22afd0fe2;hp=0000000000000000000000000000000000000000;hpb=cc6c063be5f143cd601208ef26604d90a25bd1a5;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto new file mode 100644 index 0000000000..59d78dd04d --- /dev/null +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/resources/Common.proto @@ -0,0 +1,52 @@ +package org.opendaylight.controller.mdsal; + +option java_package = "org.opendaylight.controller.protobuff.messages.common"; +option java_outer_classname = "NormalizedNodeMessages"; + + +message Attribute{ + required string name =1; + optional string value=2; + optional string type=3; +} + +message QName { + required string value=1; +} + +message PathArgument { + required string value=1; + optional string type=2; //NodeIdentifier, NodeWithValue, NodeIdentifierWithPredicates + optional QName nodeType=3; + repeated Attribute attributes=4; + +} + +message InstanceIdentifier { + repeated PathArgument arguments=1; +} + +message Node{ + optional string path = 1; + optional string type = 2; + repeated Attribute attributes = 3; + repeated Node child=4; + optional string value = 5; + optional string valueType = 6; + repeated string bitsValue = 7; + optional InstanceIdentifier instanceIdentifierValue = 8; +} + +message Container{ + required string parentPath =1 ; + optional Node normalizedNode=2; +} + +message NodeMapEntry{ + required InstanceIdentifier instanceIdentifierPath =1; + optional Node normalizedNode=2; +} + +message NodeMap{ +repeated NodeMapEntry mapEntries=1; +}