blob: 18efd7b56d8a8f4745176824f61e61fe8871435e [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 FastLineInventoryAndStatusDataPart2ClassId ClassID = ClassID(436)
25
26var fastlineinventoryandstatusdatapart2BME *ManagedEntityDefinition
27
28// FastLineInventoryAndStatusDataPart2 (class ID #436)
29// This ME contains part 3 of the FAST line inventory and status data with attributes specific to
30// [ITU T G.997.2]. The ONU automatically creates or deletes an instance of this ME upon the
31// creation or deletion of a PPTP xDSL UNI part 1.
32//
33// Relationships
34// This is one of the status data MEs associated with an xDSL UNI. It is required only if FAST is
35// supported by the PPTP. The ONU automatically creates or deletes an instance of this ME upon
36// creation or deletion of a PPTP xDSL UNI part 1 that supports these attributes.
37//
38// Attributes
39// Managed Entity Id
40// Managed entity ID: This attribute uniquely identifies each instance of this ME. Through an
41// identical ID, this ME is implicitly linked to an instance of the PPTP xDSL UNI part 1. (R)
42// (mandatory) (2 bytes)
43//
44// Date_Time_Stamping Of Last Successful Downstream Fra Operation Stamp_Frads
45// (R) (optional) (7 bytes)
46//
47// Date_Time_Stamping Of Last Successful Upstream Fra Operation Stamp_Fraus
48// Date/time-stamping of last successful upstream FRA operation (STAMP-FRAus): This parameter
49// reports the date/time of the last successful FTU-O initiated FRA execution that has modified the
50// bits allocation. See clause 7.10.14.6 of [ITUT G.997.2]. The format of this parameter is the
51// same as STAMPTESTNE. (R) (optional) (7 bytes)
52//
53// Date_Time_Stamping Of Last Successful Downstream Rpa Operation Stamp_Rpads
54// Date/time-stamping of last successful downstream RPA operation (STAMP-RPAds): This parameter
55// reports the date/time of the last successful FTU-R initiated RPA execution that has modified the
56// bits allocation for the RMC. See clause 7.10.14.7 of [ITU-T G.997.2]. The format of this
57// parameter is the same as STAMP-TEST-NE. (R) (optional) (7 bytes)
58//
59// Date_Time_Stamping Of Last Successful Upstream Rpa Operation Stamp_Rpaus
60// Date/time-stamping of last successful upstream RPA operation (STAMP-RPAus): This parameter
61// reports the date/time of the last successful FTU-O initiated RPA execution that has modified the
62// bits allocation for the RMC. See clause 7.10.14.8 of [ITU-T G.997.2]. The format of this
63// parameter is the same as STAMP-TEST-NE. (R) (optional) (7 bytes)
64//
65// Date_Time_Stamping Of Last Successful Downstream Tiga Operation Stamp_Tiga
66// Date/time-stamping of last successful downstream TIGA operation (STAMP-TIGA): This parameter
67// reports the date/time of the last successful FTU-O initiated TIGA execution. See clause
68// 7.10.14.9 of [ITU-T G.997.2]. The format of this parameter is the same as STAMP-TEST-NE. (R)
69// (optional) (7 bytes)
70//
71type FastLineInventoryAndStatusDataPart2 struct {
72 ManagedEntityDefinition
73 Attributes AttributeValueMap
74}
75
76func init() {
77 fastlineinventoryandstatusdatapart2BME = &ManagedEntityDefinition{
78 Name: "FastLineInventoryAndStatusDataPart2",
79 ClassID: 436,
80 MessageTypes: mapset.NewSetWith(
81 Get,
82 ),
83 AllowedAttributeMask: 0XF800,
84 AttributeDefinitions: AttributeDefinitionMap{
85 0: Uint16Field("ManagedEntityId", 0, mapset.NewSetWith(Read), false, false, false, false, 0),
86 1: MultiByteField("DateTimeStampingOfLastSuccessfulDownstreamFraOperationStampFrads", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 1),
87 2: MultiByteField("DateTimeStampingOfLastSuccessfulUpstreamFraOperationStampFraus", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 2),
88 3: MultiByteField("DateTimeStampingOfLastSuccessfulDownstreamRpaOperationStampRpads", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 3),
89 4: MultiByteField("DateTimeStampingOfLastSuccessfulUpstreamRpaOperationStampRpaus", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 4),
90 5: MultiByteField("DateTimeStampingOfLastSuccessfulDownstreamTigaOperationStampTiga", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 5),
91 },
92 }
93}
94
95// NewFastLineInventoryAndStatusDataPart2 (class ID 436 creates the basic
96// Managed Entity definition that is used to validate an ME of this type that
97// is received from the wire, about to be sent on the wire.
98func NewFastLineInventoryAndStatusDataPart2(params ...ParamData) (*ManagedEntity, OmciErrors) {
99 return NewManagedEntity(fastlineinventoryandstatusdatapart2BME, params...)
100}