[ONOS-6702] ConfigProperty Protobuf model
Change-Id: Ida520bf97f09c8acfd7fcdc5081023117fe6737b
diff --git a/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyEnumsProto.proto b/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyEnumsProto.proto
new file mode 100644
index 0000000..c1fd731
--- /dev/null
+++ b/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyEnumsProto.proto
@@ -0,0 +1,14 @@
+syntax = "proto3";
+option java_package = "org.onosproject.grpc.cfg.models";
+
+package cfg;
+
+enum ConfigPropertyTypeProto {
+ STRING = 0;
+ BYTE = 1;
+ INTEGER = 2;
+ LONG = 3;
+ FLOAT = 4;
+ DOUBLE = 5;
+ BOOLEAN = 6;
+}
\ No newline at end of file
diff --git a/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyProto.proto b/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyProto.proto
new file mode 100644
index 0000000..9edb9d5
--- /dev/null
+++ b/incubator/protobuf/models/src/main/proto/cfg/ConfigPropertyProto.proto
@@ -0,0 +1,16 @@
+syntax = "proto3";
+option java_package = "org.onosproject.grpc.cfg.models";
+
+package cfg;
+
+import "cfg/ConfigPropertyEnumsProto.proto";
+
+// Corresponds to org.onosproject.cfg.ConfigProperty.
+message ConfigPropertyProto {
+ string name = 1;
+ cfg.ConfigPropertyTypeProto type = 2;
+ string value = 3;
+ string default_value = 4;
+ string description = 5;
+ bool is_set = 6;
+}
\ No newline at end of file