blob: f5b2aa6ac94ac48aa59f5082e102746f41eb8b0a [file] [log] [blame]
Zack Williams52209662019-02-07 10:15:31 -07001syntax = "proto3";
2
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +03003option go_package = "github.com/opencord/voltha-protos/v3/go/voltha";
4option java_package = "org.opencord.voltha";
5option java_outer_classname = "VolthaAdapter";
Zack Williams52209662019-02-07 10:15:31 -07006
7package voltha;
8
9import "google/protobuf/any.proto";
10import "voltha_protos/common.proto";
11import "voltha_protos/meta.proto";
12
13
14message AdapterConfig {
15
16 // Common adapter config attributes here
Serkant Uluderyacbcfaa42019-10-18 13:25:08 +030017 common.LogLevel.Types log_level = 1;
18
Zack Williams52209662019-02-07 10:15:31 -070019
20 // Custom (vendor-specific) configuration attributes
21 google.protobuf.Any additional_config = 64;
22
23}
24
25// Adapter (software plugin)
26message Adapter {
27
William Kurkian6ea97f82019-03-13 15:51:55 -040028 // Unique name of adapter, matching the python package name under
Zack Williams52209662019-02-07 10:15:31 -070029 // voltha/adapters.
30 string id = 1 [(access) = READ_ONLY];
31 string vendor = 2 [(access) = READ_ONLY];
32 string version = 3 [(access) = READ_ONLY];
33
34 // Adapter configuration
35 AdapterConfig config = 16;
36
37 // Custom descriptors and custom configuration
38 google.protobuf.Any additional_description = 64 [(access) = READ_ONLY];
39
40 repeated string logical_device_ids = 4; // Logical devices "owned"
41
42}
43
44message Adapters {
45 repeated Adapter items = 1;
46}