Compare your payload to the one in the log.html from the robot 
instantiateVFWCLGRA  use case on the Frankfurt

https://wiki.onap.org/display/DW/2%3A+Frankfurt+Release+Integration+Testing+Status

there is a gz file that has the robot log.html etc that you can untar and look 
at.
Find the Preload GRA section (since it's a success case you need to open up 
things till you find the step that does the GRA Preload).



Post Request using : alias=sdnc, 
uri=/restconf/operations/GENERIC-RESOURCE-API:preload-vf-module-topology-operation,
 data={ "input":{ "preload-vf-module-topology-information":{ 
"vf-module-topology":{ "vf-module-topology-identifier":{ 
"vf-module-name":"Vfmodule_Ete_vFWCLvFWSNK_878a4cc6_0" }, 
"vf-module-parameters": { "param": [{"name": "cloud_env", "value": 
"openstack"}, {"name": "dcae_collector_ip", "value": "52.251.126.116"}, 
{"name": "dcae_collector_port", "value": "30417"}, {"name": 
"demo_artifacts_version", "value": "1.4.0"}, {"name": "install_script_version", 
"value": "1.6.0-SNAPSHOT"}, {"name": "int_protected_private_net_id", "value": 
"vofwlsnk_protected4cc6"}, {"name": "int_protected_private_subnet_id", "value": 
"vofwlsnk_protected_sub4cc6"}, {"name": "int_unprotected_private_net_id", 
"value": "vofwlsnk_unprotected4cc6"}, {"name": 
"int_unprotected_private_subnet_id", "value": "vofwlsnk_unprotected_sub4cc6"}, 
{"name": "key_name", "value": "vfw_key878a4cc6"}, {"name": 
"onap_private_net_cidr", "value": "10.1.0.0/24"}, {"name": 
"onap_private_net_id", "value": "a1f01507-d08a-4275-bf0e-96adf51a7767"}, 
{"name": "onap_private_subnet_id", "value": 
"ace407c2-0b9c-4133-8e1b-0fca4f518d87"}, {"name": "protected_private_net_cidr", 
"value": "192.168.20.0/24"}, {"name": "pub_key", "value": "ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},
 {"name": "public_net_id", "value": "190c8409-69b5-46aa-a31f-10683de3bb88"}, 
{"name": "repo_url_artifacts", "value": 
"https://nexus.onap.org/content/repositories/releases"}<https://nexus.onap.org/content/repositories/releases%22%7d>,
 {"name": "repo_url_blob", "value": 
"https://nexus.onap.org/content/repositories/raw"}<https://nexus.onap.org/content/repositories/raw%22%7d>,
 {"name": "sec_group", "value": "eefa0675-a794-4705-9eae-b4025eef9369"}, 
{"name": "unprotected_private_net_cidr", "value": "192.168.10.0/24"}, {"name": 
"vfw_flavor_name", "value": "m1.medium"}, {"name": "vfw_image_name", "value": 
"ubuntu1404"}, {"name": "vfw_int_protected_private_floating_ip", "value": 
"192.168.10.200"}, {"name": "vfw_int_protected_private_ip_0", "value": 
"192.168.20.100"}, {"name": "vfw_int_unprotected_private_ip_0", "value": 
"192.168.10.100"}, {"name": "vfw_name_0", "value": "vofwl01fwl4cc6"}, {"name": 
"vfw_onap_private_ip_0", "value": "10.1.0.31"}, {"name": "vsn_flavor_name", 
"value": "m1.medium"}, {"name": "vsn_image_name", "value": "ubuntu1404"}, 
{"name": "vsn_int_protected_private_ip_0", "value": "192.168.20.250"}, {"name": 
"vsn_name_0", "value": "vofwl01snk4cc6"}, {"name": "vsn_onap_private_ip_0", 
"value": "10.1.0.32"}] } }, "vnf-topology-identifier-structure":{ 
"vnf-name":"Vfmodule_Ete_vFWCLvFWSNK_878a4cc6_0", 
"vnf-type":"VfwclVfwsnk8f6911ca34ad..base_vfw..module-0" }, 
"vnf-resource-assignments":{ "availability-zones":{ "availability-zone":[ 
"nova" ], "max-count":1 }, "vnf-networks":{ "vnf-network":[] } } }, 
"request-information":{ "request-id":"robot12", "order-version":"1", 
"notification-url":"onap.org", "order-number":"1", 
"request-action":"PreloadVfModuleRequest" }, "sdnc-request-header":{ 
"svc-request-id":"robot12", 
"svc-notification-url":"http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify", 
"svc-action":"reserve" } } }, headers={'X-FromAppId': 'robot-ete', 
'X-TransactionId': '684e1de2-dd77-482a-961e-2daf1af8a338', 'Content-Type': 
'application/json', 'Accept': 'application/json', 'Content-MD5': 
'MGMxYmZjNTFjOWI3NWMyMWRlNzZkZDFmMTUwZjA3NmM='}, files=None, 
allow_redirects=True


12:16:34.912

INFO

Received response from [sdnc]: 
{"output":{"response-message":"success","ack-final-indicator":"Y","svc-request-id":"robot12","response-code":"200"}}


12:16:34.913

TRACE

Return: <Response [200]>



From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Jagiello, Michal
Sent: Thursday, June 25, 2020 7:58 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [SO][SDNC] Instantiate network using GR API - Error 
from SDNC: network-topology-operation-input.network-request-input.network-id 
not found in service-data

Hi,

I try to instantiate a network using GR_API, but I still have an error "Error 
from SDNC: network-topology-operation-input.network-request-input.network-id 
not found in service-data". I upload a preload to SDNC using 
"/restconf/operations/GENERIC-RESOURCE-API:preload-network-topology-operation" 
endpoint.
It's my preload body
{
    "input": {
        "request-information": {
            "notification-url": "onap.org",
            "order-version": "1",
            "request-action": "PreloadNetworkRequest",
            "request-id": "test",
            "order-number": "1"
        },
        "preload-network-topology-information": {
            "network-policy": [],
            "route-table-reference": [],
            "vpn-bindings": [],
            "network-topology-identifier-structure": {
                "network-id": "1234",  // I added this value but the result is 
the same.
                "network-role": "integration_test_net",
                "network-technology": "neutron",
                "network-name": " 
network_instance_20eeb098-6121-4e23-8d76-bfd4b4dc57ca",
                "network-type": "Generic NeutronNet"
            },
            "is-external-network": false,
            "is-shared-network": false,
            "is-provider-network": false,
            "subnets": [

            ]
        },
        "sdnc-request-header": {
            "svc-request-id": "test",
            "svc-notification-url": 
"http:%5C/%5C/onap.org:8080%5C/adapters%5C/rest%5C/SDNCNotify%22,
            "svc-action": "reserve"
        }
    }
}

But always if I try to instantiate network using SO 
"/onap/so/infra/serviceInstantiation/v7/serviceInstances/72fd9ee9-077f-4d3d-8e86-08ed24514802/networks"
 endpoint it fails. Am I passing invalid values on preload?

BR,
Michał

T-MOBILE POLSKA S.A. z siedzibą w Warszawie
Adres: ul. Marynarska 12, 02-674 Warszawa
Zarząd Spółki:
Andreas Maierhofer - Prezes Zarządu;
Cezary Albrecht - Członek Zarządu, Dyrektor ds. Prawnych, Bezpieczeństwa i 
Zarządzania Zgodnością;
Juraj Andráš - Członek Zarządu, Dyrektor ds. Finansowych;
Dorota Kuprianowicz-Legutko - Członek Zarządu, Dyrektor ds. Polityki 
Personalnej;
Petri Pehkonen - Członek Zarządu, Dyrektor ds. Technologii i Innowacji;
Frederic Perron - Członek Zarządu, Dyrektor ds. Rynku Prywatnego;
Agnieszka Rynkowska - Członek Zarządu, Dyrektor ds. Rynku Biznesowego.

Spółka zarejestrowana w Sądzie Rejonowym dla m.st. Warszawy w Warszawie,
XIII Wydział Gospodarczy Krajowego Rejestru Sądowego.
KRS 0000391193 | NIP 526-10-40-567 | Regon 011417295
Kapitał zakładowy 471 mln złotych, kapitał wpłacony w całości.

DUŻE ZMIANY ZACZYNAJĄ SIĘ OD MAŁYCH - CHROŃ PLANETĘ, NIE DRUKUJ TEGO E-MAILA, 
JEŻELI NIE MUSISZ.

Ta wiadomość i jej treść są zastrzeżone w szczegółowym zakresie dostępnym na 
http://www.t-mobile.pl/stopka<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t-2Dmobile.pl_stopka&d=DwQFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=uugNhI4g49WOdnQilUpiZvGIn3aANf7fxXtGVWtNdck&s=yLsxNMeGEIVIuVJiF3PAfDQbmIaWXG-hP5WU1kedIBE&e=>

This e-mail and its contents are subject to a DISCLAIMER with important 
RESERVATIONS: see 
http://www.t-mobile.pl/stopka<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t-2Dmobile.pl_stopka&d=DwQFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=uugNhI4g49WOdnQilUpiZvGIn3aANf7fxXtGVWtNdck&s=yLsxNMeGEIVIuVJiF3PAfDQbmIaWXG-hP5WU1kedIBE&e=>


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

View/Reply Online (#21504): https://lists.onap.org/g/onap-discuss/message/21504
Mute This Topic: https://lists.onap.org/mt/75101190/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