/aai/v11/bulkadd should be what you are looking for. Here is a sample
{
"transactions": [
{
"put": [
{
"body": {
"image-os-distro": "ubuntu",
"image-architecture": "x64",
"image-name": "com.ubuntu",
"image-os-version": "14.04",
"image-id": "88b21539-70fe-4451-abfc-d55d58dd1e87",
"image-selflink":
"https://iad.servers.api.rackspacecloud.com/1031120/images/88b21539-70fe-4451-abfc-d55d58dd1e87"
},
"uri":
"/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/IAD/images/image/88b21539-70fe-4451-abfc-d55d58dd1e87"
}
]
},
{
"put": [
{
"body": {
"image-os-distro": "ubuntu",
"image-architecture": "x64",
"image-name": "com.ubuntu",
"image-os-version": "14.04",
"image-id": "88b21539-70fe-4451-abfc-d55d58dd1e87",
"image-selflink":
"https://iad.servers.api.rackspacecloud.com/1031120/images/88b21539-70fe-4451-abfc-d55d58dd1e87"
},
"uri":
"/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/IAD/images/image/88b21539-70fe-4451-abfc-d55d58dd1e87"
}
]
}
]
}
Thanks,
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308
From: [email protected]
[mailto:[email protected]] On Behalf Of Ahmad, Munir
Sent: Monday, January 22, 2018 12:41 PM
To: [email protected]
Subject: Re: [onap-discuss] [aai] PUT request that accepts a list of objects
Hi AAI team,
Is a way to put a list of objects in AAI with a single call? For example: We
are adding hundreds of l-interfaces and doing it one after the other is very
slow (~7 minutes for 1500 l-interfaces).
network/pnfs/pnf/PNF-NAME/lag-interfaces/lag-interface/Bundle-Ether11/l-interfaces
If the operation described above exist for any other object can you please
point us to the implementation.
Thanks
Munir
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss