SO
<network-name>test_vnf_net_vnf1_vnf2_201908061114</network-name>
Preload
"network-name": "Test_vnf_net_vnf1_vnf2_201908061114",
Pretty sure case matters.
Brian
From: [email protected] <[email protected]> On Behalf Of
Velugubantla Praveen
Sent: Tuesday, August 06, 2019 5:24 AM
To: [email protected]; [email protected]
Cc: Narayanasetty Sowmya <[email protected]>
Subject: Re: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with
2VNF's & a 1-Network
Hi Rene,
Yeah... I had seen those API's , i tried with two API's but getting the same
"Received error from SDN-C: network-name not found from preload-data".
I am attaching the two curl requests i had used. With the BPMN log.
For SDNC Preload :
curl -X POST \
http://20.0.0.91:30202/restconf/operations/VNF-API:preload-network-topology-operation<https://urldefense.proofpoint.com/v2/url?u=http-3A__20.0.0.91-3A30202_restconf_operations_VNF-2DAPI-3Apreload-2Dnetwork-2Dtopology-2Doperation&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=PoyL2gjt3gKvrRKIi1SNF-AZNPIiCrlZUWTy-zrk6qA&e=>
\
-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": {
"request-id": "robot0012",
"notification-url":
"http://so.onap.org"<https://urldefense.proofpoint.com/v2/url?u=http-3A__so.onap.org-2522&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=BHuU_9yYW4iV3Z9t57h4KUsbbHhXpUV1KkdDOPYBk9E&e=>,
"order-number": "robot0012",
"request-sub-action": "SUPP",
"request-action": "PreloadNetworkRequest",
"source": "robot",
"order-version": "1.0"
},
"network-topology-information": {
"network-policy": [],
"route-table-reference": [],
"vpn-bindings": [],
"network-topology-identifier": {
"network-role": "VNF1_VNF2",
"network-technology": "neutron",
"service-type": "Test",
"network-name": "Test_vnf_net_vnf1_vnf2_201908061114",
"network-type": "Generic NeutronNet"
},
"provider-network-information": {
"is-external-network": "true",
"is-provider-network": "true",
"is-shared-network": "true",
"physical-network-name": "Test_vnf_net_vnf1_vnf2_201908061114"
},
"subnets": [
{
"subnet-name": "Test_vnf_net_vnf1_vnf2_subnet_201908061114",
"subnet-role": "OAM",
"start-address": "10.8.0.2",
"cidr-mask": "24",
"ip-version": "4",
"dhcp-enabled": "N",
"dhcp-start-address": "",
"dhcp-end-address": "",
"gateway-address": "10.8.0.1",
"host-routes":[]
}
]
},
"sdnc-request-header": {
"svc-action": "reserve",
"svc-notification-url":
"http://so.onap.org"<https://urldefense.proofpoint.com/v2/url?u=http-3A__so.onap.org-2522&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=BHuU_9yYW4iV3Z9t57h4KUsbbHhXpUV1KkdDOPYBk9E&e=>,
"svc-request-id": "robot0012"
}
}
}'
Curl Result :
{"output":{"svc-request-id":"robot0012","response-code":"200","ack-final-indicator":"Y"}}
For Network Instantiation request :
curl -X POST \
http://20.0.0.91:30277/onap/so/infra/serviceInstances/v7/c2233f0d-ce7b-4f90-aad2-c0e52a3c22c2/networks<https://urldefense.proofpoint.com/v2/url?u=http-3A__20.0.0.91-3A30277_onap_so_infra_serviceInstances_v7_c2233f0d-2Dce7b-2D4f90-2Daad2-2Dc0e52a3c22c2_networks&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=pFWqJdqtR4yu32ECI5YRrFc_RDX1dBFSphydbEtqUU4&e=>
\
-H 'Accept: application/json' \
-H 'Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==' \
-H 'Content-Type: application/json' \
-H 'X-FromAppId: AAI' \
-H 'X-TransactionId: get_aai_subscr' \
-H 'cache-control: no-cache' \
-d '{
"requestDetails": {
"requestInfo": {
"instanceName": "test_vnf_net_vnf1_vnf2_201908061114",
"source": "VID",
"suppressRollback": "true",
"requestorId": "demo",
"productFamilyId": "f9457e8c-4afd-45da-9389-46acd9bf5116"
},
"modelInfo": {
"modelType": "network",
"modelInvariantId": "537a73f9-4120-4146-bc9d-2cb0c9648b7f",
"modelVersionId": "b78e0888-6f02-49ec-8202-ce19439d0e0e",
"modelName": "Generic NeutronNet",
"modelVersion": "1.0",
"modelCustomizationId": "ddb17925-5536-438b-bbbb-9e7dfc90db3d",
"modelCustomizationName": "VNF1_VNF2"
},
"requestParameters": {
"userParams": [],
"aLaCarte": true,
"testApi": "VNF_API"
},
"cloudConfiguration": {
"lcpCloudRegionId": "RegionOne",
"tenantId": "1b23511421a34771be312bc10ecb95a5"
},
"lineOfBusiness": {
"lineOfBusinessName": "Test_LOB"
},
"platform": {
"platformName": "Platform-Demonstration"
},
"relatedInstanceList": [{
"relatedInstance": {
"instanceId": "c2233f0d-ce7b-4f90-aad2-c0e52a3c22c2",
"modelInfo": {
"modelType": "service",
"modelName": "testsvc_vvnf_0608a",
"modelInvariantId": "a1c4a817-bd89-431d-a566-539acf6811cd",
"modelVersion": "1.0",
"modelVersionId": "32fd1d1a-c6c2-4c53-8015-17ab326c4dcc"
}
}
}]
}
}'
Curl Result :
{"requestReferences":{"requestId":"c714968b-2ecb-4c7e-b2ac-17a2e692e1f0","instanceId":""}}
[onap-discuss] - Hi Team,
Another small doubt is before creating any new network, is anything needed to
configure in AAI or SDNC apart of the preload(SDNC) ??
Regards,
PRAVEEN V
Engineer
L&T TECHNOLOGY SERVICES LIMITED
L3 Building, Manyata Embassy Business Park,
Nagawara Hobli, Bengaluru-560045
Tel : +91 9154111420
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>
Sent: Monday, August 5, 2019 8:57 PM
To: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>>; Velugubantla
Praveen <[email protected]<mailto:[email protected]>>
Cc: Narayanasetty Sowmya
<[email protected]<mailto:[email protected]>>
Subject: RE: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with
2VNF's & a 1-Network
Hello,
Have a look here (2 last curl messages are about network)
https://onap.readthedocs.io/en/latest/guides/onap-user/instantiate/instantiation/so1/index.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__ind01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fonap.readthedocs.io-252Fen-252Flatest-252Fguides-252Fonap-2Duser-252Finstantiate-252Finstantiation-252Fso1-252Findex.html-26data-3D02-257C01-257Cvelugubantla.praveen-2540ltts.com-257C8dbe318b64204f595aac08d719b97926-257C311b33788e8a4b5ea33fe80a3d8ba60a-257C0-257C0-257C637006156720192857-26sdata-3DjUJ6yMwXBMDqCJyJSlbLk7eYj3hjEf8cyMcu1kDCiLI-253D-26reserved-3D0&d=DwMFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=fHj4ANB6W5lXeycoYcymDOmOAIM-bxc1mCsSISVWByM&e=>
René
De : [email protected]<mailto:[email protected]>
[mailto:[email protected]] De la part de Velugubantla Praveen
Envoyé : lundi 5 août 2019 11:33
À : [email protected]<mailto:[email protected]>
Cc : Narayanasetty Sowmya
Objet : [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 2VNF's
& a 1-Network
Hi Team,
By taking the VCPE usecase services as a blueprint we are trying to instantiate
a new service with 2 VNF's & a network between them. After designing the
service when we are trying to deploy with VID portal, we are getting the
Received error from SDN-C: network-name not found from preload-data. So then,
we tried with integration project(vcpe scritps as a reference) to preload the
network data into SDNC as like the remaining networks in VCPE . After that we
tried to instantiate the service from those scripts also. Then also we are
getting the same error.
I am attaching the BPMN logs of that service(PFA).
In general, what's the workflow to create any network in ONAP. Please correct
me if i am wrong
Any help is highly appreciated.
Regards,
PRAVEEN V
Engineer
L&T TECHNOLOGY SERVICES LIMITED
L3 Building, Manyata Embassy Business Park,
Nagawara Hobli, Bengaluru-560045
Tel : +91 9154111420
L&T Technology Services Ltd
www.LTTS.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.LTTS.com&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=cnkvNXpm1kQBqD1SF6QKdIvxZq3Fdji4KNtrXDkX5z0&e=>
This Email may contain confidential or privileged information for the intended
recipient (s). If you are not the intended recipient, please do not use or
disseminate the information, notify the sender and delete it from your system.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
L&T Technology Services Ltd
www.LTTS.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.LTTS.com&d=DwQFAw&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=iX07M_dpUDf2Ci2CTnsn9mk8faGS3tLx8GncDd1HhG0&s=cnkvNXpm1kQBqD1SF6QKdIvxZq3Fdji4KNtrXDkX5z0&e=>
This Email may contain confidential or privileged information for the intended
recipient (s). If you are not the intended recipient, please do not use or
disseminate the information, notify the sender and delete it from your system.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18444): https://lists.onap.org/g/onap-discuss/message/18444
Mute This Topic: https://lists.onap.org/mt/32723748/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-