X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2dms%2Fdomain%2Fstates.py;fp=o2dms%2Fdomain%2Fstates.py;h=3f168321a71c32a3a03752677170e176af878e5c;hb=d14329a57d8d01d443e4158fa5030a5b5ada4060;hp=0000000000000000000000000000000000000000;hpb=44f01a560347914798d8f913696d0e495ee076f8;p=pti%2Fo2.git diff --git a/o2dms/domain/states.py b/o2dms/domain/states.py new file mode 100644 index 0000000..3f16832 --- /dev/null +++ b/o2dms/domain/states.py @@ -0,0 +1,29 @@ + +# Copyright (C) 2021 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. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from __future__ import annotations +from dataclasses import dataclass + + +@dataclass +class NfDeploymentState(): + Initial = 0 + NotInstalled = 1 + Installing = 2 + Installed = 3 + Updating = 4 + Uninstalling = 5 + Abnormal = 6 + Deleted = 7