blob: 61621199d79fb4a31d51933a5cff0979aa44bbe1 [file] [log] [blame]
Matteo Scandolof9d43412021-01-12 11:11:34 -08001/*
2 * Copyright (c) 2018 - present. Boling Consulting Solutions (bcsw.net)
3 * Copyright 2020-present Open Networking Foundation
Elia Battiston9bfe1102022-02-03 10:38:03 +01004 *
Matteo Scandolof9d43412021-01-12 11:11:34 -08005 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
Elia Battiston9bfe1102022-02-03 10:38:03 +01008 *
Matteo Scandolof9d43412021-01-12 11:11:34 -08009 * http://www.apache.org/licenses/LICENSE-2.0
Elia Battiston9bfe1102022-02-03 10:38:03 +010010 *
Matteo Scandolof9d43412021-01-12 11:11:34 -080011 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
Andrea Campanella10426e22021-10-15 17:58:04 +020017/*
18 * NOTE: This file was generated, manual edits will be overwritten!
19 *
20 * Generated by 'goCodeGenerator.py':
21 * https://github.com/cboling/OMCI-parser/README.md
22 */
Matteo Scandolof9d43412021-01-12 11:11:34 -080023
24package generated
25
26// ClassSupport specifies the support for this Managed Entity by the ONU
27type ClassSupport int
28
29const (
30 UnknownSupport = iota
31 Supported // Supported as defined by this object
32 Unsupported // OMCI returns error code if accessed
33 PartiallySupported // some aspects of ME supported
34 Ignored // OMCI supported, but underlying function is now
35
36 // The following two are specific unsupported Managed Entity Definitions
37 UnsupportedManagedEntity // Unsupported ITU G.988 Class ID
38 UnsupportedVendorSpecificManagedEntity // Unsupported Vendor Specific Class ID
39)
40
41func (cs ClassSupport) String() string {
42 return [...]string{"Unknown", "Supported", "Unsupported", "Partially Supported", "Ignored",
43 "Unsupported", "Vendor Specific"}[cs]
44}