X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-protocolbuffer-encoding%2Fsrc%2Fmain%2Fresources%2FCommon.proto;h=59d78dd04d483c8157d142a7bc7a04958e55db25;hp=44d9468391ae340545f044e0aa24accc3e1d2265;hb=516a4b2ea78179c9bd6ebb584862e8fc686ebf08;hpb=de3e413b633b7555ae8f3fe2ec163dbb7dda5da8 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 44d9468391..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 ; optional Node normalizedNode=2; -} \ No newline at end of file +} + +message NodeMapEntry{ + required InstanceIdentifier instanceIdentifierPath =1; + optional Node normalizedNode=2; +} + +message NodeMap{ +repeated NodeMapEntry mapEntries=1; +}