aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/so/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/so/templates')
-rw-r--r--src/onapsdk/so/templates/instantiate_multi_vnf_service_macro.json.j211
1 files changed, 11 insertions, 0 deletions
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 %}