X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fcommands.py;h=9cc51d6fa71e3c4948b84db819d7c2e75eacb92e;hb=HEAD;hp=4f86a6f4f3c11085d1c7171a1b99df6a173d2655;hpb=94b4519e5482219b60342c73157faf339fac071b;p=pti%2Fo2.git diff --git a/o2ims/domain/commands.py b/o2ims/domain/commands.py index 4f86a6f..9cc51d6 100644 --- a/o2ims/domain/commands.py +++ b/o2ims/domain/commands.py @@ -1,4 +1,4 @@ -# Copyright (C) 2021 Wind River Systems, Inc. +# Copyright (C) 2021-2024 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ class UpdateFaultObject(Command): @dataclass class PubMessage2SMO(Command): data: Message2SMO + type: str @dataclass @@ -137,3 +138,8 @@ class UpdatePserverAcc(UpdateResource): @dataclass class UpdateAlarm(UpdateFaultObject): parentid: str + + +@dataclass +class PurgeAlarmEvent(UpdateFaultObject): + data: AlarmEvent2SMO