Hi,

Below is the example of VNF preload request body to SDNC which you may use to 
specify the profile name to be used (more about preload request in here 
https://docs.onap.org/projects/onap-vid/en/stable/instantiate.html)

{
     "input": {
          "request-information": {
               "notification-url": "openecomp.org",
               "order-number": "1",
               "order-version": "1",
               "request-action": "PreloadVNFRequest",
               "request-id": "some_id"
          },
          "sdnc-request-header": {
               "svc-action": "reserve",
               "svc-notification-url": 
"http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
               "svc-request-id": "robot12"
          },
          "vnf-topology-information": {
               "vnf-assignments": {
                    "availability-zones": [],
                    "vnf-networks": [],
                    "vnf-vms": []
               },
               "vnf-parameters":
               [
                                                                          {
                         "vnf-parameter-name": "k8s-rb-profile-name",
                         "vnf-parameter-value": "some_profile_name"
                    }
               ],
               "vnf-topology-identifier": {
                    "service-type": "1c38ef10-0f14-4d78-876c-3cc10ff4e535",
                    "vnf-type": "Cnf..base_cnf..module-0",
                    "generic-vnf-name": "cnf-1",
                    "generic-vnf-type": "CNF 0",
                    "vnf-name": "cnf-1"
               }
          }
     }
}

BTW, I do not know what is the context of your work but VNF-API became 
deprecated in Frankfurt and will be removed in Guilin release so if I can 
suggest is to switch to GR-API as soon as possible.

Regards,

[Logo Orange]

Lukasz Rajewski, R&D Expert
Orange Labs Poland, Advanced Network Solutions Agency
Mob.: +48 519 310 854
Orange Polska, Obrzeżna 7, 02-691 Warsaw
www.orange.pl<http://www.orange.pl/>



From: kamel.idir via [] [mailto:kamel.idir=ericsson.com@[]]
Sent: Tuesday, August 18, 2020 1:54 AM
To: Rajewski Łukasz - Hurt; [email protected]
Subject: Re: [onap-discuss] #frankfurt #sdnc

Thanks Lukas for this clarifications.

How can I include the k8s-rb-profile-name in SDNC directive? do you have a 
sample for VNF_API?

When I include it in my supplemental.json file, I can see it under 
user_directives in SO logs.

Thanks,
Kamel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#21930): https://lists.onap.org/g/onap-discuss/message/21930
Mute This Topic: https://lists.onap.org/mt/76176095/21656
Mute #sdnc: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/sdnc
Mute #frankfurt: 
https://lists.onap.org/g/onap+onap-discuss/mutehashtag/frankfurt
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to