Code Review
/
pti
/
o2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8267d9e8e18df253bb28a61be86d5b6f764cc96b
[pti/o2.git]
/
o2ims
/
domain
/
resource_type.py
1
from enum import Enum
2
3
4
class ResourceTypeEnum(Enum):
5
OCLOUD = 1
6
RESOURCE_POOL = 2
7
DMS = 3
8
PSERVER = 11
9
PSERVER_CPU = 12
10
PSERVER_RAM = 13
11
PSERVER_IF = 14
12
PSERVER_IF_PORT = 15
13
PSERVER_ETH = 16
14
15
16
class InvalidOcloudState(Exception):
17
pass
18
19
20
class MismatchedModel(Exception):
21
pass