3f168321a71c32a3a03752677170e176af878e5c
[pti/o2.git] / o2dms / domain / states.py
1 \r
2 # Copyright (C) 2021 Wind River Systems, Inc.\r
3 #\r
4 #  Licensed under the Apache License, Version 2.0 (the "License");\r
5 #  you may not use this file except in compliance with the License.\r
6 #  You may obtain a copy of the License at\r
7 #\r
8 #      http://www.apache.org/licenses/LICENSE-2.0\r
9 #\r
10 #  Unless required by applicable law or agreed to in writing, software\r
11 #  distributed under the License is distributed on an "AS IS" BASIS,\r
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13 #  See the License for the specific language governing permissions and\r
14 #  limitations under the License.\r
15 \r
16 from __future__ import annotations\r
17 from dataclasses import dataclass\r
18 \r
19 \r
20 @dataclass\r
21 class NfDeploymentState():\r
22     Initial = 0\r
23     NotInstalled = 1\r
24     Installing = 2\r
25     Installed = 3\r
26     Updating = 4\r
27     Uninstalling = 5\r
28     Abnormal = 6\r
29     Deleted = 7\r