blob: 4af54c373f5e6bc02fa9917f8f9502f220239939 [file] [log] [blame]
Khen Nursimuluaaac7ee2016-12-11 22:03:52 -05001syntax = "proto3";
2
3package voltha;
4
5import "google/protobuf/any.proto";
6import "common.proto";
7import "meta.proto";
8
9
10message AdapterConfig {
11
12 // Common adapter config attributes here
13 LogLevel.LogLevel log_level = 1;
14
15 // Custom (vendor-specific) configuration attributes
16 google.protobuf.Any additional_config = 64;
17
18}
19
20// Adapter (software plugin)
21message Adapter {
22
23 // Unique name of adapter, matching the python packate name under
24 // voltha/adapters.
25 string id = 1 [(access) = READ_ONLY];
26 string vendor = 2 [(access) = READ_ONLY];
27 string version = 3 [(access) = READ_ONLY];
28
29 // Adapter configuration
30 AdapterConfig config = 16;
31
32 // Custom descriptors and custom configuration
33 google.protobuf.Any additional_description = 64 [(access) = READ_ONLY];
34
35 repeated string logical_device_ids = 4; // Logical devices "owned"
36
37}
38
39message Adapters {
40 repeated Adapter items = 1;
41}