Hello All,

on the ONAP Guilin version, I get this error at preload stage. Any ideas what 
might cause this?

curl -k -X POST 
https://sdnc.api.simpledemo.onap.org:30267/restconf/operations/GENERIC-RESOURCE-API:preload-vnf-topology-operation
 -H 'Accept: application/json' -H 'Authorization: Basic 
YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' -H 
'Content-Type: application/json' -H 'X-FromAppId: API client' -H 
'X-TransactionId: 0a3f6713-ba96-4971-a6f8-c2da85a3176e' -H 'cache-control: 
no-cache' -d '{
"input": {
"request-information": {
"notification-url": "onap.org",
"order-number": "1",
"order-version": "1",
"request-action": "PreloadVNFRequest",
"request-id": "test"
},
"sdnc-request-header": {
"svc-action": "reserve",
"svc-notification-url": "http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
"svc-request-id": "test"
},
"vnf-topology-information": {
"vnf-assignments": {
"availability-zones": [],
"vnf-networks": [],
"vnf-vms": []
},
"vnf-parameters": [{
"vnf-parameter-name": "vfw_image_name",
"vnf-parameter-value": "ubuntu-14-04-cloud-amd6"
},
{
"vnf-parameter-name": "vfw_flavor_name",
"vnf-parameter-value": "m1.medium"
},
"vnf-parameter-name": "vpg_image_name",
"vnf-parameter-value": "ubuntu-14-04-cloud-amd6"
},
"vnf-parameter-name": "vpg_flavor_name",
"vnf-parameter-value": "m1.medium"
},
"vnf-parameter-name": "vsn_image_name",
"vnf-parameter-value": "ubuntu-14-04-cloud-amd6"
},
"vnf-parameter-name": "vsn_flavor_name",
"vnf-parameter-value": "m1.medium"
},
{
"vnf-parameter-name": "public_net_id",
"vnf-parameter-value": "9436b581-3fe4-4ec8-8007-d2b0723756f3"
},
{
"vnf-parameter-name": "onap_private_net_id",
"vnf-parameter-value": "OAM_NETWORK"
},
{
"vnf-parameter-name": "onap_private_subnet_id",
"vnf-parameter-value": "OAM_SUBNET"
},
{
"vnf-parameter-name": "vfw_name",
"vnf-parameter-value": "lfn_vfw_vnf"
},
{
"vnf-parameter-name": "dcae_collector_ip",
"vnf-parameter-value": "10.43.104.27"
},
{
"vnf-parameter-name": "dcae_collector_port",
"vnf-parameter-value": "30417"
},
{
"vnf-parameter-name": "pub_key",
"vnf-parameter-value": "ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABAQCofPKCypUIALLlSAa/INJZpnz6dPnTKuKkqO5Wxkv35PnHpXVmKit1iXNcy85+ceoMUrMre8O7SjIhdRklnOckW68WmkM9A+pFIFhxoKRfO0WR2/qZyXxM9WuQ5ESdXuBj5ydx7XlWWDtGTWF3wWxrFwob2EkWm+EXFrx18bNs8OqJF+1DDJfjLcC8kKgCwSKNcuRelDSBBaIrIDROdHi1r2AbdL/REZ4sprUTICVAhezX9mPowMX8Mr3ZuTxV9HpU43nlxfWxm9vDstyhiUMpYYCOWUfA/Gzxz/F1pli9L4MfpDsiwGaJtnnQ3vWiYRPZBTv+6h1miYlw4Fm7vJq9
 aarna-onap"
},
{
"vnf-parameter-name": "sec_group",
"vnf-parameter-value": "default"
}

],
"vnf-topology-identifier": {
"generic-vnf-name": "lfn_vfw_vnf",
"generic-vnf-type": "lfn_test_vfw/vsp_lfn_test 0",
"service-type": "e7d94284-408b-45e6-94cd-f2cc8631f58b",
"vnf-name": "lfn_vfw_module",
"vnf-type": "VspLfnTest..base_vfw..module-0"
}
}
}
}'

*Error:*

*{"errors":{"error":[{"error-type":"protocol","error-tag":"invalid-value","error-message":"URI
 has bad format. Possible reasons:\n 1. 
\"GENERIC-RESOURCE-API:preload-vnf-topology-operation\" was not found in parent 
data node.\n 2. \"GENERIC-RESOURCE-API:preload-vnf-topology-operation\" is 
behind mount point. Then it should be in format 
\"/yang-ext:mount/GENERIC-RESOURCE-API:preload-vnf-topology-operation\"."}]}}*


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23377): https://lists.onap.org/g/onap-discuss/message/23377
Mute This Topic: https://lists.onap.org/mt/84063863/21656
Mute #sdnc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnc
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to