blob: d1eda20016f49506ea56bf63c334d2c4caaaebd6 [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 FastVectoringLineConfigurationExtensionsClassId ClassID = ClassID(434)
25
26var fastvectoringlineconfigurationextensionsBME *ManagedEntityDefinition
27
28// FastVectoringLineConfigurationExtensions (class ID #434)
29// This ME extends FAST line configuration MEs with attributes that are specific to vectoring. An
30// instance of this ME is created and deleted by the OLT.
31//
32// Relationships
33// An instance of this ME may be associated with zero or more instances of an xDSL UNI.//// The overall FAST line configuration MEs is modelled in several parts, all of which are
34// associated together through a common ME ID (the client PPTP xDSL UNI part 3 has a single
35// pointer, which refers to the entire set of line configuration parts).
36//
37// Attributes
38// Managed Entity Id
39// Managed entity ID: This attribute uniquely identifies each instance of this ME. The value 0 is
40// reserved. (R, set-by-create) (mandatory) (2 bytes)
41//
42// Fext Cancellation Enabling_Disabling Upstream Fext_To_Cancel_Enableus
43// FEXT cancellation enabling/disabling upstream (FEXT_TO_CANCEL_ENABLEus): A value of 1 enables
44// and a value of 0 disables FEXT cancellation in the upstream direction from all the other
45// vectored lines into the line in the vectored group. See clause 7.1.7.2 of [ITU-T G.997.2].
46// (R, W) (mandatory) (1 byte)
47//
48// Fext Cancellation Enabling_Disabling Downstream Fext_To_Cancel_Enableds
49// FEXT cancellation enabling/disabling downstream (FEXT_TO_CANCEL_ENABLEds): A value of 1 enables
50// and a value of 0 disables FEXT cancellation in the downstream direction from all the other
51// vectored lines into the line in the vectored group. See clause 7.1.7.1 of [ITUT G.997.2]. (R, W)
52// (mandatory) (1 byte)
53//
54type FastVectoringLineConfigurationExtensions struct {
55 ManagedEntityDefinition
56 Attributes AttributeValueMap
57}
58
59func init() {
60 fastvectoringlineconfigurationextensionsBME = &ManagedEntityDefinition{
61 Name: "FastVectoringLineConfigurationExtensions",
62 ClassID: 434,
63 MessageTypes: mapset.NewSetWith(
64 Create,
65 Delete,
66 Get,
67 Set,
68 ),
69 AllowedAttributeMask: 0XC000,
70 AttributeDefinitions: AttributeDefinitionMap{
71 0: Uint16Field("ManagedEntityId", 0, mapset.NewSetWith(Read, SetByCreate), false, false, false, false, 0),
72 1: ByteField("FextCancellationEnablingDisablingUpstreamFextToCancelEnableus", 0, mapset.NewSetWith(Read, Write), false, false, false, false, 1),
73 2: ByteField("FextCancellationEnablingDisablingDownstreamFextToCancelEnableds", 0, mapset.NewSetWith(Read, Write), false, false, false, false, 2),
74 },
75 }
76}
77
78// NewFastVectoringLineConfigurationExtensions (class ID 434 creates the basic
79// Managed Entity definition that is used to validate an ME of this type that
80// is received from the wire, about to be sent on the wire.
81func NewFastVectoringLineConfigurationExtensions(params ...ParamData) (*ManagedEntity, OmciErrors) {
82 return NewManagedEntity(fastvectoringlineconfigurationextensionsBME, params...)
83}