Adding cloud to VduInstantiateInput dataclass 92/13292/1
authorGulsum Atici <gulsum.atici@canonical.com>
Wed, 26 Apr 2023 21:44:26 +0000 (00:44 +0300)
committerGulsum Atici <gulsum.atici@canonical.com>
Wed, 26 Apr 2023 21:44:26 +0000 (00:44 +0300)
Change-Id: I72508c8f64bc2912a04af021cfa3a469df9f2433
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
osm_common/dataclasses/temporal_dataclasses.py

index f197186..26797a6 100644 (file)
@@ -162,13 +162,10 @@ class VduComputeConstraints:
     cores : int (Number of virtual CPUs)
 
     mem: int (GB)
-
-    cloud: str (VIM cloud type)
     """
 
     cores: int
     mem: int
-    cloud: str
 
 
 @dataclass
@@ -183,12 +180,15 @@ class VduInstantiateInput:
     charm_info : CharmInfo
 
     constraints: VduComputeConstraints
+
+    cloud: VIM cloud type
     """
 
     vim_uuid: str
     model_name: str
     charm_info: CharmInfo
     constraints: VduComputeConstraints
+    cloud: str
 
 
 @dataclass