Add api_versions support; update model of ocloud, resourcepool, and resource
[pti/o2.git] / o2ims / domain / resource_type.py
index 8267d9e..3a2271a 100644 (file)
@@ -2,6 +2,7 @@ from enum import Enum
 
 
 class ResourceTypeEnum(Enum):
+    UNDEFINED = 0
     OCLOUD = 1
     RESOURCE_POOL = 2
     DMS = 3
@@ -13,6 +14,12 @@ class ResourceTypeEnum(Enum):
     PSERVER_ETH = 16
 
 
+class ResourceKindEnum(Enum):
+    UNDEFINED = 0
+    PHYSICAL = 1
+    LOGICAL = 2
+
+
 class InvalidOcloudState(Exception):
     pass