Those above mentioned names only my network band & subnet name in openstack 
also......

As you mentioned you are getting the default names check in the preload & 
instantiation requests data what Brian as suggested to us.

Regards,
Praveen V

Get Outlook for Android<https://aka.ms/ghei36>



From: [email protected]
Sent: Thursday, August 8, 15:44
Subject: RE: [ONAP-DISCUSS] [SDNC] [SO] - Trying to create a new SERVICE with 
2VNF's & a 1-Network
To: Narayanasetty Sowmya, Velugubantla Praveen, FREEMAN, BRIAN D, 
[email protected]


Have you checked that you really get those names in Openstack ?

De : Narayanasetty Sowmya [mailto:[email protected]]
Envoyé : jeudi 8 août 2019 11:47
À : ROBERT René TGI/OLN; Velugubantla Praveen; FREEMAN, BRIAN D; 
[email protected]
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: [email protected] <[email protected]>
Sent: 08 August 2019 13:33:37
To: Velugubantla Praveen <[email protected]>; FREEMAN, BRIAN D 
<[email protected]>; [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

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:[email protected]]
Envoyé : mardi 6 août 2019 15:43
À : FREEMAN, BRIAN D; [email protected]; 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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463750058&sdata=P3PZkFYuf6Zcq0IvOTAEVYtB%2FiQqaSnq8%2Fv3b0Lo0I8%3D&reserved=0>

From: FREEMAN, BRIAN D <[email protected]>
Sent: Tuesday, August 6, 2019 6:20:10 PM
To: [email protected] <[email protected]>; Velugubantla 
Praveen <[email protected]>; [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


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://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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463750058&sdata=wcn1qWE6ba2ISn1DBbPqsDh4v1GMo7q20EEXZwjhI5U%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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463760049&sdata=tqShELMOU9jInkwJrg32x9AJeNha%2FjIOs5pzLHHa2J0%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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463760049&sdata=tqShELMOU9jInkwJrg32x9AJeNha%2FjIOs5pzLHHa2J0%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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463770044&sdata=2Kr0ES3rUa4H%2FIM3WMZ9ZoINexVfXnhBFgWM%2Bq1Udos%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: [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://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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463770044&sdata=bU2KR4ymrqQAJ82jiJAk5%2FL%2F7hO4wHA9%2BGiGpqWtlGs%3D&reserved=0>

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://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.LTTS.com&data=02%7C01%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463780042&sdata=P5NPNPSggmYAEE8aH7zw6C2jisrtmz2rqQfqEXD8Pew%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%7Cvelugubantla.praveen%40Ltts.com%7Ce66e607a726e4e52753d08d71be92166%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637008560463780042&sdata=P5NPNPSggmYAEE8aH7zw6C2jisrtmz2rqQfqEXD8Pew%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.
_________________________________________________________________________________________________________________________
 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.

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

View/Reply Online (#18490): https://lists.onap.org/g/onap-discuss/message/18490
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to