Mandeep,

Can you try this form of the preload for GRA  (change for your test obvously)

Brian


http://{{sdnc_port}}/restconf/operations/GENERIC-RESOURCE-API:preload-vf-module-topology-operation

{
   "input":{
      "preload-vf-module-topology-information":{
         "vf-module-topology":{
            "vf-module-topology-identifier":{
               "vf-module-name":"vLoadBalancerMS-0211-1"
            },
            "vf-module-parameters":{
              "param":[
                  {
                     "name":"vlb_image_name",
                     "value":"ubuntu-16-04-cloud-amd64"
                  },
                  {
                     "name":"vlb_flavor_name",
                     "value":"m1.medium"
                  },
                  {
                     "name":"public_net_id",
                     "value":"public"
                  },
                  {
                     "name":"vlb_private_net_id",
                     "value":"zdfw1lb01_private_ms"
                  },
                  {
                     "name":"pktgen_private_net_id",
                     "value":"zdfw1pktgen01_private_ms"
                  },
                  {
                     "name":"onap_private_net_id",
                     "value":"oam_onap_vnf_test"
                  },
                  {
                     "name":"onap_private_subnet_id",
                     "value":"oam_onap_vnf_test"
                  },
                  {
                     "name":"vlb_private_net_cidr",
                     "value":"192.168.10.0/24"
                  },
                  {
                     "name":"pktgen_private_net_cidr",
                     "value":"192.168.9.0/24"
                  },
                  {
                     "name":"onap_private_net_cidr",
                     "value":"10.0.0.0/16"
                  },
                  {
                     "name":"vlb_private_ip_0",
                     "value":"192.168.10.111"
                  },
                  {
                     "name":"vlb_private_ip_1",
                     "value":"10.0.150.1"
                  },
                  {
                     "name":"vlb_private_ip_2",
                     "value":"192.168.9.111"
                  },
                  {
                     "name":"vdns_private_ip_0",
                     "value":"192.168.10.211"
                  },
                  {
                     "name":"vdns_private_ip_1",
                     "value":"10.0.150.3"
                  },
                  {
                     "name":"vpg_private_ip_0",
                     "value":"192.168.9.110"
                  },
                  {
                     "name":"vpg_private_ip_1",
                     "value":"10.0.150.2"
                  },
                  {
                     "name":"vlb_name_0",
                     "value":"vlb-ms-0211-1"
                  },
                  {
                     "name":"vdns_name_0",
                     "value":"vdns-ms-0211-1"
                  },
                  {
                     "name":"vpg_name_0",
                     "value":"vpacketgen-ms-0211-1"
                  },
                  {
                     "name":"vip",
                     "value":"192.168.9.112"
                  },
                  {
                     "name":"gre_ipaddr",
                     "value":"192.168.10.112"
                  },
                  {
                     "name":"pg_int",
                     "value":"192.168.9.109"
                  },
                  {
                     "name":"vnf_id",
                     "value":"vLoadBalancerMS"
                  },
                  {
                     "name":"vf_module_id",
                     "value":"vLoadBalancerMS"
                  },
                  {
                     "name":"dcae_collector_ip",
                     "value":"135.197.220.117"
                  },
                  {
                     "name":"dcae_collector_port",
                     "value":"30235"
                  },
                  {
                     "name":"demo_artifacts_version",
                     "value":"1.3.0"
                  },
                  {
                     "name":"install_script_version",
                     "value":"1.3.0"
                  },
                  {
                     "name":"nb_api_version",
                     "value":"1.2.0"
                  },
                  {
                     "name":"key_name",
                     "value":"vlb_key"
                  },
                  {
                     "name":"pub_key",
                     "value":"ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
                  },
                  {
                     "name":"cloud_env",
                     "value":"openstack"
                  },
                  {
                     "name":"dns_enabled",
                     "value":"true"
                  },
                  {
                                "name": "sec_group",
                                "value": "default"
                  }
               ]
            }
         },
         "vnf-topology-identifier-structure":{
            "vnf-name":"vLoadBalancerMS-Vnf-0211-1",
            "vnf-type":"vLoadBalancerMS/vLoadBalancerMS 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":"openecomp.org",
         "order-number":"1",
         "request-action":"PreloadVfModuleRequest"
      },
      "sdnc-request-header":{
         "svc-request-id":"robot12",
         
"svc-notification-url":"http:\/\/openecomp.org:8080\/adapters\/rest\/SDNCNotify",
         "svc-action":"reserve"
      }
   }
}

From: Singh Kalra, Mandeep <[email protected]>
Sent: Thursday, June 20, 2019 10:00 AM
To: FREEMAN, BRIAN D <[email protected]>; [email protected]
Subject: Re: [onap-discuss] SDNC Preload Generic Resource API

Thanks Brian,

Yes, this particular error is not seen when VNF API is used (selected on VID 
UI) .

I want to try the Macro workflow, in which i believe the building block 
workflows are called in SO which in turn call the GR APIs towards SDNC.
In that case first SDNC tries to find the preload through
http://localhost:8181/restconf/config/GENERIC-RESOURCE-API:preload-information/preload-list/testVNF/vf-module

And if it doesn't then VFC_MODEL is checked.
Want to know if some other configuration is required for the  GR APIs ?

Regards
Mandeep
________________________________
From: FREEMAN, BRIAN D <[email protected]<mailto:[email protected]>>
Sent: Thursday, June 20, 2019 7:19:46 PM
To: [email protected]<mailto:[email protected]>; Singh 
Kalra, Mandeep
Subject: [External] RE: [onap-discuss] SDNC Preload Generic Resource API

This message is from an EXTERNAL SENDER - be CAUTIOUS, particularly with links 
and attachments.
________________________________


Does instantiateVFWCL work via "./ete-k8s.sh onap instantiateVFWCL" ?



That uses VNF-API but would check that you have a valid model distribution 
(which you should or VID wouldnt have shown the DEPLOY button but just in case)



Brian





From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Mandeep Singh Kalra
Sent: Thursday, June 20, 2019 8:22 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [onap-discuss] SDNC Preload Generic Resource API



Hi,



Would appreciate if some inputs can be provided.



If the SDN-C preload is not selected then there is another error related to no 
entries in "VFC_MODEL" table.





Regards

Mandeep

From: Singh Kalra, Mandeep
Sent: Wednesday, June 19, 2019 7:17 PM
To: [email protected]<mailto:[email protected]>
Subject: SDNC Preload Generic Resource API



Hi,



I am trying the VF module creation using the generic resource API and getting 
the below error in SDNC ::



http://localhost:8181/restconf/config/GENERIC-RESOURCE-API:preload-information/preload-list/testVNF/vf-module<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8181_restconf_config_GENERIC-2DRESOURCE-2DAPI-3Apreload-2Dinformation_preload-2Dlist_testVNF_vf-2Dmodule&d=DwMFAg&c=eIGjsITfXP_y-DLLX0uEHXJvU8nOHrUK8IrwNKOtkVU&r=p89qecmhInOVphGqjXrHzDWNu-0tx0ccbkDut9Mw215vuDwwoR96vo2NJnOHwduC&m=D0MGAhUC-h8YvVLl5ksGWlRvTLL-6kP4BAgwg_NUUbI&s=Tk63lavURR1NT64R8bZOI8R5s2bSLoFab1SWvT5byTE&e=>

error-message : Request could not be completed because the relevant data model 
content does not exist





Is there any preload API sample(curl) available for the generic resource API 
preload ?





Regards

Mandeep





________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy. Your privacy is important to us. Accenture uses your personal data only 
in compliance with data protection laws. For further information on how 
Accenture processes your personal data, please see our privacy statement at 
https://www.accenture.com/us-en/privacy-policy<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.accenture.com_us-2Den_privacy-2Dpolicy&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=6iBYcnru8yYSvxu9UhIyF3SfeuZSzU9OVowktVyuJdE&s=NMdtA9jNBIPqq48rNSY2cqrHRBaauonZ0AFNnY45ayQ&e=>.
______________________________________________________________________________________

www.accenture.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.accenture.com&d=DwQFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=6iBYcnru8yYSvxu9UhIyF3SfeuZSzU9OVowktVyuJdE&s=2qQvmZp-q-vPCCqOn0SGbsCJRo3lACyxvPk-s4YT8Kc&e=>



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

View/Reply Online (#17670): https://lists.onap.org/g/onap-discuss/message/17670
Mute This Topic: https://lists.onap.org/mt/32123039/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to