sapcc/openstack-watcher-middleware

Bulk creations

Opened this issue · 0 comments

Assumption: The same API call can be used for single and bulk operations.
Problem: Currently only counted as one operation instead of multiple
Example:
(1) Neutron: https://developer.openstack.org/api-ref/network/v2/#bulk-create-networks

{
    "networks": [ 
       ...
    ]
}

(2) Nova: https://developer.openstack.org/api-ref/compute/#create-multiple-servers

{
    "server": {
        ...
       "min_count": "2",
       "max_count": "3"
    }
}