X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fservice%2Fauditor%2Fdms_handler.py;h=5152b27f85ede20347c34ba746456c7e49357903;hb=defeb292d90ce07556f0dc6d5f9ab0d16d760e42;hp=33b7296363d89b1d57903ddd2ae5dc8d2aa44802;hpb=d526dada19a291932dd2c235fc2c40f0422ccdd7;p=pti%2Fo2.git diff --git a/o2ims/service/auditor/dms_handler.py b/o2ims/service/auditor/dms_handler.py index 33b7296..5152b27 100644 --- a/o2ims/service/auditor/dms_handler.py +++ b/o2ims/service/auditor/dms_handler.py @@ -82,7 +82,7 @@ def create_by(stxobj: StxGenericModel, parentid: str) -> DeploymentManager: # logger.info(content) supportedLocations = '' capabilities = content['capabilities'] - capacity = '' + capacity = content['capacity'] dmsendpoint = content['cluster_api_endpoint'] profile = _convert_content(content) localmodel = DeploymentManager( @@ -113,6 +113,7 @@ def update_by(target: DeploymentManager, stxobj: StxGenericModel, target.hash = stxobj.hash target.oCloudId = parentid target.capabilities = content['capabilities'] + target.capacity = content['capacity'] target.version_number = target.version_number + 1 target.profile = _convert_content(content)