blob: f8fe157995d3152ca99b20b8505d0bef41c5db14 [file] [log] [blame]
//
// Copyright 2018 - present the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
syntax = "proto3";
option go_package = "github.com/opencord/voltha-go/protos/omci";
package omci;
import "meta.proto";
message MibAttributeData {
string name = 1 [(voltha.access) = READ_ONLY];
string value = 2;
}
message MibInstanceData {
uint32 instance_id = 1 [(voltha.access) = READ_ONLY];
string created = 2;
string modified = 3;
repeated MibAttributeData attributes = 4
[(voltha.child_node) = {key: "name"}];
}
message MibClassData {
uint32 class_id = 1 [(voltha.access) = READ_ONLY];
repeated MibInstanceData instances= 2
[(voltha.child_node) = {key: "instance_id"}];
}
message MibDeviceData {
string device_id = 1 [(voltha.access) = READ_ONLY];
string created = 2;
string last_sync_time = 3;
uint32 mib_data_sync = 4;
uint32 version = 5;
repeated MibClassData classes = 6
[(voltha.child_node) = {key: "class_id"}];
}