From c1cf91e41376e9b9dbf13013a3f79fb09debaf09 Mon Sep 17 00:00:00 2001 From: "peukerl@telekom.de" Date: Wed, 21 Jun 2023 15:25:40 +0200 Subject: Orchestration request changes status-message added to orchestration-request pnfRegistrationFields added to service-instantiation Issue-ID: INT-2253 Signed-off-by: peukerl@telekom.de Change-Id: I8dd1ee326d63c915591829ceaca2e0f8247afdde --- .../so/templates/instantiate_multi_vnf_service_macro.json.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/onapsdk/so/templates') diff --git a/src/onapsdk/so/templates/instantiate_multi_vnf_service_macro.json.j2 b/src/onapsdk/so/templates/instantiate_multi_vnf_service_macro.json.j2 index 32e1b68..93ef79c 100644 --- a/src/onapsdk/so/templates/instantiate_multi_vnf_service_macro.json.j2 +++ b/src/onapsdk/so/templates/instantiate_multi_vnf_service_macro.json.j2 @@ -30,6 +30,17 @@ }, "productFamilyId":"{{ aai_service.service_id }}", "instanceParams":[], + {% if pnf.registration_parameters %} + "pnfRegistrationFields": { + "modelNumber": "{{ pnf.registration_parameters.model_number }}", + "oamV4IpAddress": "{{ pnf.registration_parameters.oam_v4_ip_address }}", + "oamV6IpAddress": "{{ pnf.registration_parameters.oam_v6_ip_address }}", + "serialNumber": "{{ pnf.registration_parameters.serial_number }}", + "softwareVersion": "{{ pnf.registration_parameters.software_version }}", + "unitType": "{{ pnf.registration_parameters.unit_type }}", + "vendorName": "{{ pnf.registration_parameters.vendor_name }}" + }, + {% endif %} {% if pnf.processing_priority %} "processingPriority": "{{ pnf.processing_priority }}", {% endif %} -- cgit 1.2.3-korg