aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/so/templates/deletion_vf_module.json.j2
blob: 8f83717fea9be166b7b1c31b10553555b43c17dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
	"requestDetails": {
		"requestInfo": {
			"source": "VID",
			"requestorId": "demo"
		},
		"modelInfo": {
            "modelType": "vfModule",
            "modelInvariantId": "{{ vf_module_instance.model_invariant_id }}",
            "modelVersionId": "{{ vf_module_instance.model_version_id }}",
            "modelName": "{{ vf_module_instance.vf_module_name }}",
            "modelVersion": "{{ vf_module_instance.resource_version }}",
            "modelCustomizationId": "{{ vf_module_instance.model_customization_id }}"
		},
		"requestParameters": {
			"testApi": "GR_API",
			"aLaCarte": {{ a_la_carte | tojson }}
		},
		{# the code below is needed to be refactored #}
		{# https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/issues/133 #}
        "cloudConfiguration": {
            "cloudOwner": "{{ vf_module_instance.vnf_instance.service_instance.service_subscription.cloud_region.cloud_owner }}",
            "lcpCloudRegionId": "{{ vf_module_instance.vnf_instance.service_instance.service_subscription.cloud_region.cloud_region_id }}",
            "tenantId": "{{ vf_module_instance.vnf_instance.service_instance.service_subscription.tenant.tenant_id }}"
        }
	}
}