X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fviews%2Focloud_dto.py;h=df8385a3fc58bc8793aeccd4d93a15dc03a50283;hb=refs%2Fchanges%2F88%2F9388%2F1;hp=c7489ae13c537dd2ec735cfdfdf192f09f61894f;hpb=1a9dcb5b8f598ee348f23eafecc2d92ef09c8122;p=pti%2Fo2.git diff --git a/o2ims/views/ocloud_dto.py b/o2ims/views/ocloud_dto.py index c7489ae..df8385a 100644 --- a/o2ims/views/ocloud_dto.py +++ b/o2ims/views/ocloud_dto.py @@ -62,7 +62,6 @@ class ResourcePoolDTO: class ResourceDTO: - resource_list = api_ims_inventory_v1.model( "ResourceListDto", { @@ -144,6 +143,10 @@ class DeploymentManagerDTO: 'supportedLocations': fields.String, 'capabilities': fields.String, 'capacity': fields.String, + 'profileSupportList': fields.List( + fields.String, + description='Profile support list, use default for the return \ + endpoint'), } ) @@ -154,7 +157,12 @@ class DeploymentManagerDTO: 'admin_user': fields.String(attributes='admin_user'), 'admin_client_cert': fields.String(attributes='admin_client_cert'), 'admin_client_key': fields.String(attributes='admin_client_key'), - 'kube_config_file': fields.String(attributes='kube_config_file') + # 'kube_config_file': fields.String(attributes='kube_config_file') + 'helmcli_host_with_port': fields.String( + attributes='helmcli_host_with_port'), + 'helmcli_username': fields.String(attributes='helmcli_username'), + 'helmcli_password': fields.String(attributes='helmcli_password'), + 'helmcli_kubeconfig': fields.String(attributes='helmcli_kubeconfig'), }) deployment_manager_get = api_ims_inventory_v1.model( @@ -169,7 +177,8 @@ class DeploymentManagerDTO: 'supportedLocations': fields.String, 'capabilities': fields.String, 'capacity': fields.String, - 'profile': fields.Nested(profile, False, True), + 'profileName': fields.String, + 'profileData': fields.Nested(profile, False, True), } )