X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2dms%2Fdomain%2Fstates.py;h=31f5c4d321ccd94d8de6a2df4b30bad21ff5ff8c;hb=refs%2Fheads%2Ff-release;hp=1c98d490831fb28142af59d639ba67c81e00ff4a;hpb=a6392b46c7b808b8adeede97c4dd69c5032e0d11;p=pti%2Fo2.git diff --git a/o2dms/domain/states.py b/o2dms/domain/states.py index 1c98d49..31f5c4d 100644 --- a/o2dms/domain/states.py +++ b/o2dms/domain/states.py @@ -1,30 +1,30 @@ - -# 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 - # Aborting = 8 + +# 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 + Deleting = 7 + # Aborting = 8