blob: b566e20ed7151173d98708c69a361f40ca4973eb [file] [log] [blame]
Matteo Scandoloa6a3aee2019-11-26 13:30:14 -07001/*
2 * Copyright (c) 2018 - present. Boling Consulting Solutions (bcsw.net)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14/*
15 * NOTE: This file was generated, manual edits will be overwritten!
16 *
17 * Generated by 'goCodeGenerator.py':
18 * https://github.com/cboling/OMCI-parser/README.md
19 */
20package generated
21
22import "github.com/deckarep/golang-set"
23
24const Vdsl2LineConfigurationExtensions3ClassId ClassID = ClassID(410)
25
26var vdsl2lineconfigurationextensions3BME *ManagedEntityDefinition
27
28// Vdsl2LineConfigurationExtensions3 (class ID #410)
29// This ME extends the xDSL line configuration MEs.
30//
31// An instance of this ME is created and deleted by the OLT.
32//
33// Relationships
34// An instance of this ME may be associated with zero or more instances of an xDSL UNI.//// The overall xDSL line configuration profile is modelled in several parts, all of which are
35// associated together through a common ME ID (the client PPTP xDSL UNI part 1 has a single
36// pointer, which refers to the entire set of line configuration parts).
37//
38// Attributes
39// Managed Entity Id
40// Managed entity ID: This attribute uniquely identifies each instance of this ME. All xDSL and
41// VDSL2 line configuration profiles and extensions that pertain to a given PPTP xDSL UNI must
42// share a common ME ID. (R, setbycreate) (mandatory) (2 bytes)
43//
44// Ripolicyds
45// RIPOLICYds: This attribute indicates which policy shall be applied to determine the triggers for
46// re-initialization in the downstream direction. A valid range of values is given in clause
47// 7.3.1.1.12.1 of [ITU-T G.997.1]. (R, W) (optional) (1 byte)
48//
49// Ripolicyus
50// RIPOLICYus: This attribute indicates which policy shall be applied to determine the triggers for
51// re-initialization in the upstream direction. A valid range of values is given in clause
52// 7.3.1.1.12.2 of [ITU-T G.997.1]. (R, W) (optional) (1 byte)
53//
54// Reinit_Time_Thresholdds
55// REINIT_TIME_THRESHOLDds: This attribute indicates defines the downstream threshold for re-
56// initialization based on SES, to be used by the VTU receiver when re-initialization policy 1 is
57// used in downstream. A valid range of values is given in clause 7.3.1.1.13.1 of [ITU-T G.997.1].
58// (R, W) (optional) (1 byte)
59//
60// Reinit_Time_Thresholdus
61// REINIT_TIME_THRESHOLDus: This attribute indicates defines the upstream threshold for re-
62// initialization based on SES, to be used by the VTU receiver when reinitialization policy 1 is
63// used in upstream. A valid range of values is given in clause 7.3.1.1.13.2 of [ITU-T G.997.1].
64// (R, W) (optional) (1 byte)
65//
66// Rxrefvnsfus
67// RXREFVNSFus: If SNRM_MODE = 4, this attribute defines the upstream receiver-referred virtual
68// noise scaling factor. The attribute value ranges from 0 (–64.0 dBm) to 255 (+63.5 dBm) – see
69// clause 7.3.1.7.5 of [ITU-T G.997.1]. (R, W) (optional) (1 byte)
70//
71// Txrefvnsfds
72// TXREFVNSFds: If SNRM_MODE = 4, this attribute defines the downstream transmitter referred
73// virtual noise scaling factor. The attribute value ranges from 0 (–64.0 dBm) to 255 (+63.5 dBm)
74// – see clause 7.3.1.7.6 of [ITU-T G.997.1]. (R, W) (optional) (1 byte)
75//
76// Rtx_Modeds
77// RTX_MODEds: This attribute controls the mode of operation of [ITU-T G.998.4] retransmission in
78// the downstream direction. A valid range of values is given in clause 7.3.1.11 of [ITU-T
79// G.997.1]. (R, W) (mandatory) (1 byte)
80//
81// Rtx_Modeus
82// RTX_MODEus: This attribute controls the mode of operation of [ITU-T G.998.4] retransmission in
83// the upstream direction. A valid range of values is given in clause 7.3.1.11 of [ITU-T G.997.1].
84// (R, W) (mandatory) (1 byte)
85//
86// Leftr_Thresh
87// LEFTR_THRESH: If retransmission is used in a given transmit direction, LEFTR_THRESH specifies
88// the threshold for declaring a near-end ''leftr'' defect. LEFTR_THRESH is equal to the integer
89// value of this attribute multiplied by 0.01. Valid values and usage are given in clause 7.3.1.12
90// of [ITU-T G.997.1]. (R, W) (mandatory) (1 byte)
91//
92// Maxdelayoctet_Split Parameter Mdosplit
93// MAXDELAYOCTET-split parameter (MDOSPLIT): This attribute defines the percentage of the
94// MAXDELAYOCTET_ext if operating in [ITU-T G.998.4] or MAXDELAYOCTET in other cases allocated to
95// the downstream direction. MDOSPLIT is equal to the integer value of this attribute multiplied by
96// 1%. Valid values and usage are given in clause 7.3.1.14 of [ITUT G.997.1]. (R, W) (optional)
97// (1 byte)
98//
99// Attndr Method Attndr_Method
100// ATTNDR Method (ATTNDR_METHOD): This attribute specifies the method to be used for the
101// calculation of the ATTNDR in the downstream and upstream direction. Valid values are given in
102// clause 7.3.1.15.1 of [ITU-T G.997.1]. (R, W) (optional) (1 byte)
103//
104// Attndr Maxdelayoctet_Split Parameter Attndr_Mdosplit
105// ATTNDR MAXDELAYOCTET-split parameter (ATTNDR_MDOSPLIT): This attribute defines the percentage of
106// the MAXDELAYOCTET_ext if operating in [ITU-T G.998.4] or MAXDELAYOCTET in other cases allocated
107// to the downstream direction to be used in the improved method for calculation of the ATTNDR. The
108// valid values are identical to the values of the line configuration parameter MDOSPLIT. See
109// clause 7.3.1.15.2 of [ITUT G.997.1]. (R, W) (optional) (1 byte)
110//
111type Vdsl2LineConfigurationExtensions3 struct {
112 ManagedEntityDefinition
113 Attributes AttributeValueMap
114}
115
116func init() {
117 vdsl2lineconfigurationextensions3BME = &ManagedEntityDefinition{
118 Name: "Vdsl2LineConfigurationExtensions3",
119 ClassID: 410,
120 MessageTypes: mapset.NewSetWith(
121 Create,
122 Delete,
123 Get,
124 Set,
125 ),
126 AllowedAttributeMask: 0XFFF0,
127 AttributeDefinitions: AttributeDefinitionMap{
128 0: Uint16Field("ManagedEntityId", 0, mapset.NewSetWith(Read, SetByCreate), false, false, false, false, 0),
129 1: ByteField("Ripolicyds", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 1),
130 2: ByteField("Ripolicyus", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 2),
131 3: ByteField("ReinitTimeThresholdds", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 3),
132 4: ByteField("ReinitTimeThresholdus", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 4),
133 5: ByteField("Rxrefvnsfus", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 5),
134 6: ByteField("Txrefvnsfds", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 6),
135 7: ByteField("RtxModeds", 0, mapset.NewSetWith(Read, Write), false, false, false, false, 7),
136 8: ByteField("RtxModeus", 0, mapset.NewSetWith(Read, Write), false, false, false, false, 8),
137 9: ByteField("LeftrThresh", 0, mapset.NewSetWith(Read, Write), false, false, false, false, 9),
138 10: ByteField("MaxdelayoctetSplitParameterMdosplit", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 10),
139 11: ByteField("AttndrMethodAttndrMethod", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 11),
140 12: ByteField("AttndrMaxdelayoctetSplitParameterAttndrMdosplit", 0, mapset.NewSetWith(Read, Write), false, false, true, false, 12),
141 },
142 }
143}
144
145// NewVdsl2LineConfigurationExtensions3 (class ID 410 creates the basic
146// Managed Entity definition that is used to validate an ME of this type that
147// is received from the wire, about to be sent on the wire.
148func NewVdsl2LineConfigurationExtensions3(params ...ParamData) (*ManagedEntity, OmciErrors) {
149 return NewManagedEntity(vdsl2lineconfigurationextensions3BME, params...)
150}