You can try supplying this via the VID extra parameters (I don’t recall how it
appeared in the VID GUI for vfmodule – it is one of the last items on the form
I believe).
Looks like I used a supplemental.json file with these contents when testing:
[{"name": "k8s-rb-profile-name", "value": "profile1"}, {"name":
"template_type", "value": "heat"}]
From: [email protected] <[email protected]> On Behalf Of
Kamel Idir via lists.onap.org
Sent: Thursday, August 13, 2020 1:55 PM
To: [email protected]
Subject: [onap-discuss] #frankfurt #sdnc
Hi SDNC Team/Community,
I'm testing CNF instantiation via VID using VNF_API(old) and looking for SDNC
preload template for a’la carte instantiation.
The issue is that when using the old sdnc preload template from El-Alto/Dublin,
I'm getting status code 200 but when I trigger the instantiation from VID to
SO, I'm getting error from SO and Multicloud related to k8s-rb-profile-name
which I need to add in my sdnc preload.
"vf-module-topology": {
"vf-module-parameters": {
"param": [
{
"name": "k8s-rb-profile-name",
"value": "default"
}
]
},
Multicloud logs
|ERROR||Status code is 400, detail is k8s-rb-profile-name is missing from
directives.
SO Openstack debug.log
2020-08-12T02:37:27.064Z|6b43bbd2-5973-46d0-8c26-544253b8b1aa|org.onap.so.openstack.utils.MsoMulticloudUtils
- Exception retrieving multicloud vfModule POST response body
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'k8s': was
expecting ('true', 'false' or 'null')
at [Source: (String)"k8s-rb-profile-name is missing from directives"; line: 1,
column: 4]
at
com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
at
com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:703)
at
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2853)
at
com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1899)
Thanks,
Kamel
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21906): https://lists.onap.org/g/onap-discuss/message/21906
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]]
-=-=-=-=-=-=-=-=-=-=-=-