X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Fmain%2Fresources%2FCommon.proto;h=59d78dd04d483c8157d142a7bc7a04958e55db25;hb=eff56082a308f3be21cd4eefd03e0799a6b04714;hp=657e5060c346a1100ab1862ac0b667e88f2f6d73;hpb=f1c47fb514878ef2149e5f22d6098ff8c79dec1d;p=controller.git diff --git a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/resources/Common.proto b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/resources/Common.proto index 657e5060c3..59d78dd04d 100644 --- a/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/resources/Common.proto +++ b/opendaylight/md-sal/sal-protocolbuffer-encoding/src/main/resources/Common.proto @@ -7,17 +7,46 @@ 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{ - required string path = 1; + 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 ; - required Node normalizedNode=2; -} \ No newline at end of file + optional Node normalizedNode=2; +} + +message NodeMapEntry{ + required InstanceIdentifier instanceIdentifierPath =1; + optional Node normalizedNode=2; +} + +message NodeMap{ +repeated NodeMapEntry mapEntries=1; +}