Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
charts: add supprot to pull images from private registry
[pti/o2.git]
/
o2ims
/
domain
/
resource_type.py
diff --git
a/o2ims/domain/resource_type.py
b/o2ims/domain/resource_type.py
index
8267d9e
..
076d6ae
100644
(file)
--- a/
o2ims/domain/resource_type.py
+++ b/
o2ims/domain/resource_type.py
@@
-2,6
+2,7
@@
from enum import Enum
class ResourceTypeEnum(Enum):
class ResourceTypeEnum(Enum):
+ UNDEFINED = 0
OCLOUD = 1
RESOURCE_POOL = 2
DMS = 3
OCLOUD = 1
RESOURCE_POOL = 2
DMS = 3
@@
-11,6
+12,14
@@
class ResourceTypeEnum(Enum):
PSERVER_IF = 14
PSERVER_IF_PORT = 15
PSERVER_ETH = 16
PSERVER_IF = 14
PSERVER_IF_PORT = 15
PSERVER_ETH = 16
+ PSERVER_PCI_DEV = 17
+ PSERVER_ACC = 18
+
+
+class ResourceKindEnum(Enum):
+ UNDEFINED = 0
+ PHYSICAL = 1
+ LOGICAL = 2
class InvalidOcloudState(Exception):
class InvalidOcloudState(Exception):