VOL-3787: Added alarm notification decode/AlarmMap support
Change-Id: I05e6188c279f26cd413e23ec068ff0993e7070c1
diff --git a/generated/me.go b/generated/me.go
index caa32bc..8bec058 100644
--- a/generated/me.go
+++ b/generated/me.go
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
- /*
+/*
* NOTE: This file was generated, manual edits will be overwritten!
*
* Generated by 'goCodeGenerator.py':
@@ -258,6 +258,17 @@
return nil
}
+// GetClassSupport returns the ONU support for this managed entity
+func (entity *ManagedEntity) GetClassSupport() ClassSupport {
+ return entity.definition.GetClassSupport()
+}
+
+// GetAlarmMap returns the Alarm Bit Number to Alarm Name (string) mapping. Nil is returned if
+// the managed entity does not support alarms
+func (entity *ManagedEntity) GetAlarmMap() AlarmMap {
+ return entity.definition.GetAlarmMap()
+}
+
// DecodeFromBytes decodes a Managed Entity give an octet stream pointing to the ME within a frame
func (entity *ManagedEntity) DecodeFromBytes(data []byte, p gopacket.PacketBuilder, msgType byte) error {
if len(data) < 6 {