blob: 6aec120cbd8de6ed034267bb2891d0bcbb504678 [file] [log] [blame]
khenaidooabad44c2018-08-03 16:58:35 -04001syntax = "proto3";
2
William Kurkiandaa6bb22019-03-07 12:26:28 -05003option go_package = "github.com/opencord/voltha-protos/go/voltha";
khenaidooabad44c2018-08-03 16:58:35 -04004
5package voltha;
6
7import "google/protobuf/any.proto";
8import "common.proto";
9import "meta.proto";
10
11
12message AdapterConfig {
13
14 // Common adapter config attributes here
15 LogLevel.LogLevel log_level = 1;
16
17 // Custom (vendor-specific) configuration attributes
18 google.protobuf.Any additional_config = 64;
19
20}
21
22// Adapter (software plugin)
23message Adapter {
24
khenaidoo21d51152019-02-01 13:48:37 -050025 // Unique name of adapter, matching the python package name under
khenaidooabad44c2018-08-03 16:58:35 -040026 // voltha/adapters.
27 string id = 1 [(access) = READ_ONLY];
28 string vendor = 2 [(access) = READ_ONLY];
29 string version = 3 [(access) = READ_ONLY];
30
31 // Adapter configuration
32 AdapterConfig config = 16;
33
34 // Custom descriptors and custom configuration
35 google.protobuf.Any additional_description = 64 [(access) = READ_ONLY];
36
khenaidooabad44c2018-08-03 16:58:35 -040037}
38
39message Adapters {
40 repeated Adapter items = 1;
41}