X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fcommands.py;h=9cc51d6fa71e3c4948b84db819d7c2e75eacb92e;hb=1abc5e828314695ea32221c28e8540453794239b;hp=5d58e4cb70226079fdd969d2dd5b68bc91a689fc;hpb=e0f9e545f020276f022ead2f00e36457e6bfc36c;p=pti%2Fo2.git diff --git a/o2ims/domain/commands.py b/o2ims/domain/commands.py index 5d58e4c..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 @@ -74,6 +75,26 @@ class UpdateResource(UpdateStxObject): parentid: str +@dataclass +class UpdateComputeAgg(UpdateResource): + pass + + +@dataclass +class UpdateNetworkAgg(UpdateResource): + pass + + +@dataclass +class UpdateStorageAgg(UpdateResource): + pass + + +@dataclass +class UpdateUndefinedAgg(UpdateResource): + pass + + @dataclass class UpdatePserver(UpdateResource): pass @@ -116,4 +137,9 @@ class UpdatePserverAcc(UpdateResource): @dataclass class UpdateAlarm(UpdateFaultObject): - pass + parentid: str + + +@dataclass +class PurgeAlarmEvent(UpdateFaultObject): + data: AlarmEvent2SMO