Documentation ¶
Overview ¶
* Copyright (c) 2018 - present. Boling Consulting Solutions (bcsw.net) * * 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. *
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInitialDatabase ¶
GetInitialDatabase returns the JSON with the initial MIB database for this ONU. This is the state of the database after a MIB RESET request.
func GetOnuVendorId ¶
Types ¶
type VendorInfo ¶
type VendorInfo struct { Name string `yaml:"name"` ID string `yaml:"id"` Model string `yaml:"model"` Firmware string `yaml:"firmware"` InitialDb string `yaml:"initial-db"` // Relative path SupportsDate bool `yaml:"24_hour_clock"` MessageTypes []me.MsgType `yaml:"message_types"` ManagedEntities []me.ClassID `yaml:"managed_entities"` MsgTypeTiming []VendorMsgTypeTiming `yaml:"msgtype_timing"` ManagedEntitySet mapset.Set `yaml:"-"` // for faster access // contains filtered or unexported fields }
VendorInfo is used to model a specific vendor's ONU model
func GetOnuVendorInfo ¶
func GetOnuVendorInfo(url string) (*VendorInfo, error)
func (*VendorInfo) String ¶
func (v *VendorInfo) String() string