X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fdomain%2Fresource_type.py;h=f94e6886023f3513ac376aecf9af5641e2343f0a;hb=f73c8e3b01b8f5b7438ba544870e06d8f30cdea0;hp=72f0db05eaef2fe574fdc3a561afbc39d825ec10;hpb=81e3575a77366f30c2049f98c48a3087db0ea992;p=pti%2Fo2.git diff --git a/o2ims/domain/resource_type.py b/o2ims/domain/resource_type.py index 72f0db0..f94e688 100644 --- a/o2ims/domain/resource_type.py +++ b/o2ims/domain/resource_type.py @@ -2,6 +2,19 @@ from enum import Enum class ResourceTypeEnum(Enum): - PSERVER = 1 - PSERVER_CPU = 2 - PSERVER_RAM = 3 + OCLOUD = 1 + RESOURCE_POOL = 2 + DMS = 3 + PSERVER = 11 + PSERVER_CPU = 12 + PSERVER_RAM = 13 + PSERVER_PORT = 14 + PSERVER_IF = 15 + + +class InvalidOcloudState(Exception): + pass + + +class MismatchedModel(Exception): + pass