X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fcommands.py;h=9cc51d6fa71e3c4948b84db819d7c2e75eacb92e;hb=95eeb8bc924e4d6bbf1d579593e39cc80182f063;hp=25c9629ad0f38473a4275bc42543d423e64d4473;hpb=f7ef52a5b4ead0472b1b5828471b28c88d2a0aea;p=pti%2Fo2.git diff --git a/o2ims/domain/commands.py b/o2ims/domain/commands.py index 25c9629..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 @@ -105,5 +126,20 @@ class UpdatePserverIfPort(UpdateResource): @dataclass -class UpdateAlarm(UpdateFaultObject): +class UpdatePserverDev(UpdateResource): + pass + + +@dataclass +class UpdatePserverAcc(UpdateResource): pass + + +@dataclass +class UpdateAlarm(UpdateFaultObject): + parentid: str + + +@dataclass +class PurgeAlarmEvent(UpdateFaultObject): + data: AlarmEvent2SMO