I tried with this preload:

{
    "input": {

        "preload-network-topology-information": {
            "network-policy": [],
            "route-table-reference": [],
            "vpn-bindings": [],
            "network-topology-identifier-structure": {
                "network-role": "integration_test_net",
                "network-technology": "neutron",
                "network-name": 
"Python_ONAP_SDK_network_instance_37e96cba-f64b-4c00-816d-453ed49a855c",
                "network-type": "Generic NeutronNet"
            },
            "is-external-network": false,
            "is-shared-network": false,
            "is-provider-network": false,
            "physical-network-name": "Not Aplicable",
            "subnets": [
            ]
        },
        "sdnc-request-header": {
            "svc-request-id": "test",
            "svc-notification-url": 
"http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
            "svc-action": "reserve"
        }
    }
}

I fixed the name (good point, thanks) and added "physical-network-name" field, 
but still have the same error.

Can you give me some advices where should I look for SDNC logs for these 
requests? I couldn't find anything what can help me with debugging.
It will be also helpful if you can share with me this vcpe.py example, I will 
take a look on that.

Michał


From: FREEMAN, BRIAN D <bf1...@att.com>
Sent: Thursday, June 25, 2020 9:17 PM
To: onap-discuss@lists.onap.org; FREEMAN, BRIAN D <bf1...@att.com>; Jagiełło, 
Michał <michal.jagie...@t-mobile.pl>
Cc: ABOU ZEINAB, MALEK <malek.abouzei...@nexius.com>
Subject: RE: [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

Perhaps SDNC is saving with the " " and SO is querying without the " " hence it 
cant find it since the network-name is used as the preload-id on the 
subsequence SO to SDNC query.

Brian


From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
FREEMAN, BRIAN D
Sent: Thursday, June 25, 2020 3:09 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; FREEMAN, 
BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>; Jagiełło, Michał 
<michal.jagie...@t-mobile.pl<mailto:michal.jagie...@t-mobile.pl>>
Cc: ABOU ZEINAB, MALEK 
<malek.abouzei...@nexius.com<mailto:malek.abouzei...@nexius.com>>
Subject: Re: [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

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
BTW - I don't know if this is your problem but you have a space in the 
network-name. There is a test in DG for a blank that you might be triggering.

"network-name": " network_instance_20eeb098-6121-4e23-8d76-bfd4b4dc57ca",

Brian

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
FREEMAN, BRIAN D
Sent: Thursday, June 25, 2020 2:20 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; FREEMAN, 
BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>; Jagiełło, Michał 
<michal.jagie...@t-mobile.pl<mailto:michal.jagie...@t-mobile.pl>>
Cc: ABOU ZEINAB, MALEK 
<malek.abouzei...@nexius.com<mailto:malek.abouzei...@nexius.com>>
Subject: Re: [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

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.

Here is an example from ./vcpe.py infra  (after a lot of tweaks to work around 
a bug I just found in sdc)



2020-06-25 16:51:33,061 DEBUG preload.preload(): 
tempalte_file:/root/integration/test/vcpe/preload_templates/template.networkgra.json
2020-06-25 16:51:33,062 DEBUG preload.preload(): {
    "input": {
        "preload-network-topology-information": {
            "is-external-network": "FALSE",
            "is-provider-network": "FALSE",
            "is-shared-network": "FALSE",
            "network-policy": [],
            "network-topology-identifier-structure": {
                "network-name": "vcpe_net_cpe_signal_202006251651",
                "network-role": "cpe_signal",
                "network-technology": "neutron",
                "network-type": "Generic NeutronNet"
            },
            "physical-network-name": "Not Aplicable",
            "route-table-reference": [],
            "subnets": [
                {
                    "cidr-mask": "24",
                    "dhcp-enabled": "N",
                    "gateway-address": "10.4.0.1",
                    "ip-version": "4",
                    "start-address": "10.4.0.2",
                    "subnet-name": "vcpe_net_cpe_signal_202006251651"
                }
            ],
            "vpn-bindings": []
        },
        "sdnc-request-header": {
            "svc-action": "reserve",
            "svc-request-id": "robotgra-1234"
        }
    }
}

Data from SDNC:

{
  "preload-information": {
    "preload-list": [
      {
        "preload-id": "vcpe_net_cpe_public_202006251651",
        "preload-type": "network",
        "preload-data": {
          "preload-network-topology-information": {
            "physical-network-name": "Not Aplicable",
            "is-provider-network": false,
            "is-external-network": false,
            "network-topology-identifier-structure": {
              "network-technology": "neutron",
              "network-type": "Generic NeutronNet",
              "network-name": "vcpe_net_cpe_public_202006251651",
              "network-role": "cpe_public"
            },
            "is-shared-network": false,
            "subnets": [
              {
                "start-address": "10.2.0.2",
                "subnet-name": "vcpe_net_cpe_public_202006251651",
                "ip-version": "4",
                "dhcp-enabled": "N",
                "gateway-address": "10.2.0.1",
                "cidr-mask": "24"
              }
            ]
          },
          "preload-oper-status": {
            "create-timestamp": "2020-06-25T16:51:33.045Z",
            "order-status": "PendingAssignment"
          }
        }
      },
      {
        "preload-id": "vcpe_net_mux_gw_202006251651",
        "preload-type": "network",
        "preload-data": {
          "preload-network-topology-information": {
            "physical-network-name": "Not Aplicable",
            "is-provider-network": false,
            "is-external-network": false,
            "network-topology-identifier-structure": {
              "network-technology": "neutron",
              "network-type": "Generic NeutronNet",
              "network-name": "vcpe_net_mux_gw_202006251651",
              "network-role": "mux_gw"
            },
            "is-shared-network": false,
           "subnets": [
              {
                "start-address": "10.5.0.10",
                "subnet-name": "vcpe_net_mux_gw_202006251651",
                "ip-version": "4",
                "dhcp-enabled": "N",
                "gateway-address": "10.5.0.1",
                "cidr-mask": "24"
              }
            ]
          },
          "preload-oper-status": {
            "create-timestamp": "2020-06-25T16:51:32.762Z",
            "order-status": "PendingAssignment"
          }
        }
      },
      {
        "preload-id": "vcpe_net_brg_bng_202006251651",
        "preload-type": "network",
        "preload-data": {
          "preload-network-topology-information": {
            "physical-network-name": "Not Aplicable",
            "is-provider-network": false,
            "is-external-network": false,
            "network-topology-identifier-structure": {
              "network-technology": "neutron",
              "network-type": "Generic NeutronNet",
              "network-name": "vcpe_net_brg_bng_202006251651",
              "network-role": "brg_bng"
            },
            "is-shared-network": false,
            "subnets": [
              {
                "start-address": "10.3.0.2",
                "subnet-name": "vcpe_net_brg_bng_202006251651",
                "ip-version": "4",
                "dhcp-enabled": "N",
                "gateway-address": "10.3.0.1",
                "cidr-mask": "24"
              }
            ]
          },
          "preload-oper-status": {
            "create-timestamp": "2020-06-25T16:51:32.873Z",
            "order-status": "PendingAssignment"
          }
        }
      },
      {
        "preload-id": "vcpe_net_bng_mux_202006251651",
        "preload-type": "network",
        "preload-data": {
          "preload-network-topology-information": {
            "physical-network-name": "Not Aplicable",
            "is-provider-network": false,
            "is-external-network": false,
            "network-topology-identifier-structure": {
              "network-technology": "neutron",
              "network-type": "Generic NeutronNet",
              "network-name": "vcpe_net_bng_mux_202006251651",
              "network-role": "bng_mux"
            },
            "is-shared-network": false,
            "subnets": [
              {
                "start-address": "10.1.0.10",
                "subnet-name": "vcpe_net_bng_mux_202006251651",
                "ip-version": "4",
                "dhcp-enabled": "N",
                "gateway-address": "10.1.0.1",
                "cidr-mask": "24"
              }
            ]
          },
          "preload-oper-status": {
            "create-timestamp": "2020-06-25T16:51:32.992Z",
            "order-status": "PendingAssignment"
          }
        }
      },
      {
        "preload-id": 
"Python_ONAP_SDK_vf_module_instance_7e483ada-6b53-47e8-9ec1-ea59e269f8d4",
        "preload-type": "vf-module",
        "preload-data": {
          "preload-oper-status": {
            "create-timestamp": "2020-06-24T11:03:00.537Z",
           "order-status": "PendingAssignment"
          },
          "preload-vf-module-topology-information": {
            "vf-module-topology": {
              "vf-module-parameters": {
                "param": [
                  {
                    "name": "k8s-rb-profile-name",
                    "value": "default"
                  }
                ]
              },
              "vf-module-topology-identifier": {
                "vf-module-name": 
"Python_ONAP_SDK_vf_module_instance_7e483ada-6b53-47e8-9ec1-ea59e269f8d4"
              }
            },
            "vnf-topology-identifier-structure": {
              "vnf-type": "wordpress-service-mc-test3-skrypt/wordpress-mc-test3 
0",
              "vnf-name": 
"Python_ONAP_SDK_vnf_instance_db611e48-9a4c-4ef3-9d40-11a585e7a6b6"
            },
            "vnf-resource-assignments": {
              "availability-zones": {
                "availability-zone": [
                  "nova"
                ],
                "max-count": 1
              }
            }
          }
        }
      },
      {
        "preload-id": 
"Python_ONAP_SDK_vf_module_instance_678cc889-0c89-40f3-9f5b-1f475d5c4ebb",
        "preload-type": "vf-module",
        "preload-data": {
          "preload-oper-status": {
            "create-timestamp": "2020-06-24T13:05:28.057Z",
            "order-status": "PendingAssignment"
          },
          "preload-vf-module-topology-information": {
            "vf-module-topology": {
              "vf-module-parameters": {
                "param": [
                  {
                    "name": "k8s-rb-profile-name",
                    "value": "default"
                  }
                ]
              },
              "vf-module-topology-identifier": {
                "vf-module-name": 
"Python_ONAP_SDK_vf_module_instance_678cc889-0c89-40f3-9f5b-1f475d5c4ebb"
              }
            },
            "vnf-topology-identifier-structure": {
              "vnf-type": "service-nginx-ingress-1/nginx-ingress-1 0",
              "vnf-name": 
"Python_ONAP_SDK_vnf_instance_2aff902a-4714-4d08-942d-d97b3a3b87c2"
            },
            "vnf-resource-assignments": {
              "availability-zones": {
                "availability-zone": [
                  "nova"
                ],
                "max-count": 1
              }
            }
          }
        }
      },
      {
        "preload-id": "vcpe_net_cpe_signal_202006251651",
        "preload-type": "network",
        "preload-data": {
          "preload-network-topology-information": {
            "physical-network-name": "Not Aplicable",
            "is-provider-network": false,
            "is-external-network": false,
            "network-topology-identifier-structure": {
              "network-technology": "neutron",
              "network-type": "Generic NeutronNet",
              "network-name": "vcpe_net_cpe_signal_202006251651",
              "network-role": "cpe_signal"
            },
            "is-shared-network": false,
            "subnets": [
              {
                "start-address": "10.4.0.2",
                "subnet-name": "vcpe_net_cpe_signal_202006251651",
                "ip-version": "4",
                "dhcp-enabled": "N",
                "gateway-address": "10.4.0.1",
                "cidr-mask": "24"
              }
            ]
          },
          "preload-oper-status": {
            "create-timestamp": "2020-06-25T16:51:33.089Z",
            "order-status": "PendingAssignment"
          }
        }
      }
    ]
  }
}

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
FREEMAN, BRIAN D
Sent: Thursday, June 25, 2020 11:35 AM
To: Jagiełło, Michał 
<michal.jagie...@t-mobile.pl<mailto:michal.jagie...@t-mobile.pl>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Cc: ABOU ZEINAB, MALEK 
<malek.abouzei...@nexius.com<mailto:malek.abouzei...@nexius.com>>
Subject: Re: [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

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
Michal,

Sorry I read your message too quickly and didn't notice that you were doing 
network preload and not vf-module-preload.

I don't have an example of GRA network preload on the wiki that I know of.

SDNC or CDS team might have more input.

In the integration repo - under test/vcpe/templates there is an example for gra 
but It doesn't include network-id as well (and network-id has been in the yang 
model since Dublin or before).

I think network-id used to be optional but perhaps it isn't anymore.

Dan / Yuri - do you have any input ?

I'll try to kick off a vcpe.py infra and see if there is an issue with 
networkGRA (was that what you were doing already ) ?

Brian


[integration.git] / test / vcpe / preload_templates / template.networkgra.json

   1 {
   2   "input": {
   3     "sdnc-request-header": {
   4       "svc-request-id": "robotgra-1234",
   5       "svc-action": "reserve"
   6     },
   7     "preload-network-topology-information": {
   8       "network-topology-identifier-structure": {
   9         "network-name": "${network_name}",
  10         "network-role": "${network_role}",
  11         "network-type": "${network_type}",
  12         "network-technology": "neutron"
  13       },
  14       "subnets": [
  15         {
  16           "start-address": "${subnet_start_ip}",
  17           "cidr-mask": "24",
  18           "ip-version": "4",
  19           "dhcp-enabled": "N",
  20           "gateway-address": "${subnet_gateway}",
  21           "subnet-name": "${network_name}"
  22         }
  23       ],
  24       "physical-network-name": "Not Aplicable",
  25       "is-provider-network": "FALSE",
  26       "is-shared-network": "FALSE",
  27       "is-external-network": "FALSE",
  28       "vpn-bindings": [],
  29       "network-policy": [],
  30       "route-table-reference": []
  31     }
  32   }
  33 }


Yang model under sdnc/northbound ....

2924    grouping preload-network-topology-information {\r
2925       container preload-network-topology-information {\r
2926          uses network-topology-identifier-structure;\r
2927          uses subnets;\r
2928          uses vpn-bindings;\r
2929          uses network-policy;\r
2930          uses route-table-reference;\r
2931          uses host-routes;\r
2932          uses provider-network-information;\r
2933       }\r
2934    }


306    grouping network-topology-identifier-structure {\r
307       container network-topology-identifier-structure {\r
308          leaf network-id {\r
309             type string;\r
310          }\r
311          leaf network-name {\r
312             type string;\r
313          }\r
314          leaf network-role {\r
315             type string;\r
316          }\r
317          leaf network-type {\r
318             type string;\r
319          }\r
320          leaf network-instance-group-id {\r
321             description "When network is part of network 
instance-Group-data & instance Group in A&AI";\r
322             type string;\r
323          }\r
324          leaf network-technology {\r
325             type string;\r
326          }\r
327          leaf eipam-v4-address-plan {\r
328             type string;\r
329          }\r
330          leaf eipam-v6-address-plan {\r
331             type string;\r
332          }\r
333          leaf is-trunked {\r
334              type boolean;\r
335          }\r
336          leaf segmentation-id {\r
337             type string;\r
338          }\r
339          container related-networks {\r
340             uses related-network;\r
341          }\r
342       }\r
343


From: Jagiełło, Michał 
<michal.jagie...@t-mobile.pl<mailto:michal.jagie...@t-mobile.pl>>
Sent: Thursday, June 25, 2020 10:15 AM
To: FREEMAN, BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>; 
onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: RE: [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 Brian,

Thanks for your response.

I have successfully upload preload and instantiate VF module. Currently I want 
to do the same with network, so I try to upload preload for network 
instantiation using 
"/restconf/operations/GENERIC-RESOURCE-API:preload-network-topology-operation". 
I can't find if there is any example in a log you sent me. Can I use 
"preload-vf-module-topology-operation" instead of 
"preload-network-topology-operation"?

BR,
Michał


From: FREEMAN, BRIAN D <bf1...@att.com<mailto:bf1...@att.com>>
Sent: Thursday, June 25, 2020 2:42 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Jagiełło, 
Michał <michal.jagie...@t-mobile.pl<mailto:michal.jagie...@t-mobile.pl>>
Subject: RE: [SO][SDNC] Instantiate network using GR API - Error from SDNC: 
network-topology-operation-input.network-request-input.network-id not found in 
service-data


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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_2-253A-2BFrankfurt-2BRelease-2BIntegration-2BTesting-2BStatus&d=DwMFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=hDMPLyfH_GINSy1q6Au0OCfox9_4s_arpFRpbGZagDs&s=NakvgeB0z2LH-wP_mYIY3BnXC9ars-f-UDqRQrf0MQg&e=>

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://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_releases-2522-257d&d=DwMFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=hDMPLyfH_GINSy1q6Au0OCfox9_4s_arpFRpbGZagDs&s=KzHtV-SAXxeMA0Fu_Tm8JxL1Z3m2LSsflqXnOIY6sHw&e=>,
 {"name": "repo_url_blob", "value": 
"https://nexus.onap.org/content/repositories/raw"}<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_repositories_raw-2522-257d&d=DwMFBA&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=hDMPLyfH_GINSy1q6Au0OCfox9_4s_arpFRpbGZagDs&s=tOSEbY3HfRRHb0QHFIoBHCCcKD68Kls_h9igMg-BNEk&e=>,
 {"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:%5C/%5C/onap.org:8080%5C/adapters%5C/rest%5C/SDNCNotify%22,
 "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<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Jagiello, Michal
Sent: Thursday, June 25, 2020 7:58 AM
To: onap-discuss@lists.onap.org<mailto: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=>

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=hDMPLyfH_GINSy1q6Au0OCfox9_4s_arpFRpbGZagDs&s=JOGHH2LSJ5dj373si6tcA-xdEGazFU3ZO0K4YJ4BaXA&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=hDMPLyfH_GINSy1q6Au0OCfox9_4s_arpFRpbGZagDs&s=JOGHH2LSJ5dj373si6tcA-xdEGazFU3ZO0K4YJ4BaXA&e=>

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

This e-mail and its contents are subject to a DISCLAIMER with important 
RESERVATIONS: see http://www.t-mobile.pl/stopka

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

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