Thank you Sowmya,


My problem was described here :  https://jira.onap.org/browse/SO-2083

Best regards

René


De : onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] De la 
part de Narayanasetty Sowmya
Envoyé : jeudi 8 août 2019 12:06
À : ROBERT René TGI/OLN; Velugubantla Praveen; FREEMAN, BRIAN D; 
onap-discuss@lists.onap.org
Objet : Re: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 
2VNF's & a 1-Network


Hi Rene,



As we mentioned earlier, we are using integration project(vcpe scritps as a 
reference) for our new service.



In preload.py script you can see network_name is formed as follows:

network_name = '_'.join([self.vcpecommon.instance_name_prefix['network'], 
network_role.lower(), name_suffix])



In vcpecommon.py script, you will provide your instance name in 
instance_name_prefix dictionary, and network_role name is the key which you 
provide in the preload_network_config dictionary. And name_suffix is your 
timestamp.



This is our network_name and subnet_name:
test_vnf_net_vnf1_vnf2_201908071645------------------network_name
test_vnf_net_vnf1_vnf2_subnet_201908071645-------subnet_name




Regards,

Sowmya

________________________________
From: rene.rob...@orange.com <rene.rob...@orange.com>
Sent: 08 August 2019 13:33:37
To: Velugubantla Praveen <velugubantla.prav...@ltts.com>; FREEMAN, BRIAN D 
<bf1...@att.com>; onap-discuss@lists.onap.org <onap-discuss@lists.onap.org>
Cc: Narayanasetty Sowmya <narayanasetty.sow...@ltts.com>
Subject: RE: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 
2VNF's & a 1-Network


Good news, Praveen, and bravo to Brian to catch the point.



Can you check in Openstack about the network name and the subnet name ?



Does the network name match the name you provided in ONAP ?



On my side it is not working well : I always get a default naming for "network 
name".





De : Velugubantla Praveen [mailto:velugubantla.prav...@ltts.com]
Envoyé : mardi 6 août 2019 15:43
À : FREEMAN, BRIAN D; onap-discuss@lists.onap.org; ROBERT René TGI/OLN
Cc : Narayanasetty Sowmya
Objet : Re: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 
2VNF's & a 1-Network



Thank you Brian.... It's working now. We are able to create network now.

Regards,

Praveen

Get Outlook for 
Android<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229424525&sdata=P3eEDkkJqR9Ewbxqzf8m4pEZGveuMdBjromYkg3HlPg%3D&reserved=0>



________________________________

From: FREEMAN, BRIAN D <bf1...@att.com>
Sent: Tuesday, August 6, 2019 6:20:10 PM
To: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org>; Velugubantla 
Praveen <velugubantla.prav...@ltts.com>; rene.rob...@orange.com 
<rene.rob...@orange.com>
Cc: Narayanasetty Sowmya <narayanasetty.sow...@ltts.com>
Subject: RE: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 
2VNF's & a 1-Network





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: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Velugubantla Praveen
Sent: Tuesday, August 06, 2019 5:24 AM
To: rene.rob...@orange.com; onap-discuss@lists.onap.org
Cc: Narayanasetty Sowmya <narayanasetty.sow...@ltts.com>
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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2F20.0.0.91%3A30202%2Frestconf%2Foperations%2FVNF-API%3Apreload-network-topology-operation&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229434523&sdata=BccLyolUsObLQ28fjrnIMx6N0aF5JP4gpGNA%2FtWiuZA%3D&reserved=0>
 \
-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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fso.onap.org%2522&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229434523&sdata=P9cL%2FvQLUEz3BdZ7SRDPRkteUxoVcCoHOPT%2BewqCs20%3D&reserved=0>,
    "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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fso.onap.org%2522&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229444518&sdata=GYDoDA4Kzw2KnkE2JOKgfCuyPIBILAgXtUHv%2F7qPDP4%3D&reserved=0>,
    "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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2F20.0.0.91%3A30277%2Fonap%2Fso%2Finfra%2FserviceInstances%2Fv7%2Fc2233f0d-ce7b-4f90-aad2-c0e52a3c22c2%2Fnetworks&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229454512&sdata=er%2BfdLOhZM87vgNVVdQy7t6uktPdSTEwaSEDrmlvx8E%3D&reserved=0>
 \
-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: rene.rob...@orange.com<mailto:rene.rob...@orange.com> 
<rene.rob...@orange.com<mailto:rene.rob...@orange.com>>
Sent: Monday, August 5, 2019 8:57 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>>; Velugubantla 
Praveen <velugubantla.prav...@ltts.com<mailto:velugubantla.prav...@ltts.com>>
Cc: Narayanasetty Sowmya 
<narayanasetty.sow...@ltts.com<mailto:narayanasetty.sow...@ltts.com>>
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://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fonap.readthedocs.io%2Fen%2Flatest%2Fguides%2Fonap-user%2Finstantiate%2Finstantiation%2Fso1%2Findex.html&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229454512&sdata=4YSJM6pjsZWsfmSqdC6DP1XkQLfCbfPpKsSealYSIM0%3D&reserved=0>



René





De : onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
[mailto:onap-discuss@lists.onap.org] De la part de Velugubantla Praveen
Envoyé : lundi 5 août 2019 11:33
À : onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.LTTS.com&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229464511&sdata=OUi9ZEM23UnbcGE9VX9opnbu%2BDKhOHrZR0nwvC6cFDA%3D&reserved=0>

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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.LTTS.com&data=02%7C01%7Cnarayanasetty.sowmya%40Ltts.com%7C1af5b74cfab045589fc108d71bd6ec8e%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008482229474501&sdata=%2F1jpv1qpBQ8YKZC2UBFtWJDctP%2FbSmgFXM950wX574s%3D&reserved=0>

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.

L&T Technology Services Ltd

www.LTTS.com

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

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.

L&T Technology Services Ltd

www.LTTS.com

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.


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

View/Reply Online (#18528): https://lists.onap.org/g/onap-discuss/message/18528
Mute This Topic: https://lists.onap.org/mt/32723748/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to