From 2ace8c7576585b0ad8c2f0db76ccc2a8026340de Mon Sep 17 00:00:00 2001 From: "deepika.e" Date: Thu, 9 Nov 2023 17:06:02 +0530 Subject: [PATCH 1/2] Documentation for feature 10999 Dual-Stack IP Support for VNFs in SOL003 VNFM Interface --- 05-osm-usage.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/05-osm-usage.md b/05-osm-usage.md index c2f48cb..09e1732 100644 --- a/05-osm-usage.md +++ b/05-osm-usage.md @@ -2143,3 +2143,41 @@ virtual-link-connectivity: constituent-cpd-id: vnf-cp0-ext ip-address: 192.168.1.20 ``` +### How to Launch NS with Dual Stack IP (IPv4/IPv6) using SOL003 VNFM Interface + +Step 1: Use Creat Identifier API to create a scheduled NS, provide all the details mentioned in below sample payload. Make sure to add "ip-address" key and value with dual stack IP's shown below. + +API End Point: /osm/vnflcm/v1/vnf_instances + +```json +{ + "vnfdId":"cirros_vnfd", + "vnfInstanceName":"rahul-instance", + "vnfInstanceDescription":"Test vnfm instance description", + "vimAccountId":"b4275db0-3d1c-46f8-a42a-2b5425b07fb1", + "additionalParams":{ + "virtual-link-desc":[ + { + "id":"mgmtnet", + "mgmt-network":true, + "vim-network-name": "IPv6" + } + ], + "constituent-cpd-id":"vnf-cp0-ext", + "ip-address": ["2001:dc9::5", "199.166.155.66"], + "virtual-link-profile-id":"mgmtnet" + } +} +``` +Step 2: After step 2 Use Instantiation API to Launch the NS. Mention all the details in payload as shown in below sample + +API End Point: /osm/vnflcm/v1/vnf_instances//instantiate + +```json +{ + "vnfName": "sample-instance", + "vnfDescription": "vnf package", + "vnfId": "28c8c438-ca9a-4565-9b02-bcfd3ba6c4d6", + "vimAccountId": "b4275db0-3d1c-46f8-a42a-2b5425b07fb1" +} +``` \ No newline at end of file -- GitLab From 1c97c609694abea696fa1fdf4c1e68d8280ed85f Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 21 Dec 2023 09:08:55 +0000 Subject: [PATCH 2/2] Update 05-osm-usage.md --- 05-osm-usage.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/05-osm-usage.md b/05-osm-usage.md index 09e1732..de6cc12 100644 --- a/05-osm-usage.md +++ b/05-osm-usage.md @@ -2143,11 +2143,9 @@ virtual-link-connectivity: constituent-cpd-id: vnf-cp0-ext ip-address: 192.168.1.20 ``` -### How to Launch NS with Dual Stack IP (IPv4/IPv6) using SOL003 VNFM Interface +### How to Launch NS with Dual Stack IP (IPv4/IPv6) using SOL003 VNFM Interface -Step 1: Use Creat Identifier API to create a scheduled NS, provide all the details mentioned in below sample payload. Make sure to add "ip-address" key and value with dual stack IP's shown below. - -API End Point: /osm/vnflcm/v1/vnf_instances +First, use API endpoint `/osm/vnflcm/v1/vnf_instances` to create a VNF object with a POST message, providing all the details mentioned in below sample payload. Make sure to add "ip-address" key and value with dual stack IP addresses. Behind the scenes, this creates a VNF and a NS package in OSM. ```json { @@ -2169,9 +2167,8 @@ API End Point: /osm/vnflcm/v1/vnf_instances } } ``` -Step 2: After step 2 Use Instantiation API to Launch the NS. Mention all the details in payload as shown in below sample -API End Point: /osm/vnflcm/v1/vnf_instances//instantiate +Then, use instantiation API `/osm/vnflcm/v1/vnf_instances//instantiate` to launch the NS. Mention all the details in payload as shown in below sample. ```json { @@ -2180,4 +2177,4 @@ API End Point: /osm/vnflcm/v1/vnf_instances//instantiate "vnfId": "28c8c438-ca9a-4565-9b02-bcfd3ba6c4d6", "vimAccountId": "b4275db0-3d1c-46f8-a42a-2b5425b07fb1" } -``` \ No newline at end of file +``` -- GitLab