Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 20 | package generated |
| 21 | |
| 22 | import "github.com/deckarep/golang-set" |
| 23 | |
| 24 | const XdslLineInventoryAndStatusDataPart8ClassId ClassID = ClassID(414) |
| 25 | |
| 26 | var xdsllineinventoryandstatusdatapart8BME *ManagedEntityDefinition |
| 27 | |
| 28 | // XdslLineInventoryAndStatusDataPart8 (class ID #414) |
| 29 | // This ME extends the attributes defined in the xDSL line inventory and status data parts 1..4. |
| 30 | // |
| 31 | // Relationships |
| 32 | // This is one of the status data MEs associated with an xDSL UNI. The ONU automatically creates or |
| 33 | // deletes an instance of this ME upon creation or deletion of a PPTP xDSL UNI part 1 that supports |
| 34 | // these attributes. |
| 35 | // |
| 36 | // Attributes |
| 37 | // Managed Entity Id |
| 38 | // Managed entity ID: This attribute uniquely identifies each instance of this ME. Through an |
| 39 | // identical ID, this ME is implicitly linked to an instance of the PPTP xDSL UNI part 1 ME. (R) |
| 40 | // (mandatory) (2 bytes) |
| 41 | // |
| 42 | // Retransmission Used Downstream Rtx_Usedds |
| 43 | // Retransmission used downstream (RTX_USEDds): This parameter specifies whether [ITU-T G.998.4] |
| 44 | // retransmission is used (i.e., active in showtime) in the downstream transmit direction. The |
| 45 | // valid range of values is given in clause 7.5.1.38 of [ITU-T G.997.1]. (R) (mandatory) (1 byte) |
| 46 | // |
| 47 | // Retransmission Used Upstream Rtx_Usedus |
| 48 | // Retransmission used upstream (RTX_USEDus): This parameter specifies whether [ITUT G.998.4] |
| 49 | // retransmission is used (i.e., active in showtime) in the upstream transmit direction. The valid |
| 50 | // range of values is given in clause 7.5.1.38 of [ITU-T G.997.1]. (R) (mandatory) (1 byte) |
| 51 | // |
| 52 | // Date_Time_Stamping Of Near_End Test Parameters Stamp_Test_Ne |
| 53 | // (R) (optional) (7 bytes) |
| 54 | // |
| 55 | // Date_Time_Stamping Of Far_End Test Parameters Stamp_Test_Fe |
| 56 | // Date/time-stamping of far-end test parameters (STAMP-TEST-FE): This parameter indicates the |
| 57 | // date/time when the far-end test parameters that can change during showtime were last updated. |
| 58 | // See clause 7.5.1.36.4 of [ITUT G.997.1]. The format of this parameter is the same as STAMP-TEST- |
| 59 | // NE. (R) (optional) (7 bytes) |
| 60 | // |
| 61 | // Date_Time_Stamping Of Last Successful Downstream Olr Operation Stamp_Olr_Ds |
| 62 | // Date/time-stamping of last successful downstream OLR operation (STAMP-OLR-ds): This parameter |
| 63 | // indicates the date/time of the last successful OLR execution in the downstream direction that |
| 64 | // has modified the bits or gains. See clause 7.5.1.37.1 of [ITU-T G.997.1]. The format of this |
| 65 | // parameter is the same as STAMP-TEST-NE. (R) (optional) (7 bytes) |
| 66 | // |
| 67 | // Date_Time_Stamping Of Last Successful Upstream Olr Operation Stamp_Olr_Us |
| 68 | // Date/time-stamping of last successful upstream OLR operation (STAMP-OLR-us): This parameter |
| 69 | // indicates the date/time of the last successful OLR execution in the upstream direction that has |
| 70 | // modified the bits or gains. See clause 7.5.1.37.2 of [ITU-T G.997.1]. The format of this |
| 71 | // parameter is the same as STAMP-TEST-NE. (R) (optional) (7 bytes) |
| 72 | // |
| 73 | type XdslLineInventoryAndStatusDataPart8 struct { |
| 74 | ManagedEntityDefinition |
| 75 | Attributes AttributeValueMap |
| 76 | } |
| 77 | |
| 78 | func init() { |
| 79 | xdsllineinventoryandstatusdatapart8BME = &ManagedEntityDefinition{ |
| 80 | Name: "XdslLineInventoryAndStatusDataPart8", |
| 81 | ClassID: 414, |
| 82 | MessageTypes: mapset.NewSetWith( |
| 83 | Get, |
| 84 | ), |
| 85 | AllowedAttributeMask: 0XFC00, |
| 86 | AttributeDefinitions: AttributeDefinitionMap{ |
| 87 | 0: Uint16Field("ManagedEntityId", 0, mapset.NewSetWith(Read), false, false, false, false, 0), |
| 88 | 1: ByteField("RetransmissionUsedDownstreamRtxUsedds", 0, mapset.NewSetWith(Read), false, false, false, false, 1), |
| 89 | 2: ByteField("RetransmissionUsedUpstreamRtxUsedus", 0, mapset.NewSetWith(Read), false, false, false, false, 2), |
| 90 | 3: MultiByteField("DateTimeStampingOfNearEndTestParametersStampTestNe", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 3), |
| 91 | 4: MultiByteField("DateTimeStampingOfFarEndTestParametersStampTestFe", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 4), |
| 92 | 5: MultiByteField("DateTimeStampingOfLastSuccessfulDownstreamOlrOperationStampOlrDs", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 5), |
| 93 | 6: MultiByteField("DateTimeStampingOfLastSuccessfulUpstreamOlrOperationStampOlrUs", 7, nil, mapset.NewSetWith(Read), false, false, true, false, 6), |
| 94 | }, |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | // NewXdslLineInventoryAndStatusDataPart8 (class ID 414 creates the basic |
| 99 | // Managed Entity definition that is used to validate an ME of this type that |
| 100 | // is received from the wire, about to be sent on the wire. |
| 101 | func NewXdslLineInventoryAndStatusDataPart8(params ...ParamData) (*ManagedEntity, OmciErrors) { |
| 102 | return NewManagedEntity(xdsllineinventoryandstatusdatapart8BME, params...) |
| 103 | } |