Adds Threads to Heat Calls 99/58599/5
authormbeierl <mark.beierl@dell.com>
Fri, 15 Jun 2018 20:01:39 +0000 (16:01 -0400)
committermbeierl <mark.beierl@dell.com>
Tue, 19 Jun 2018 17:27:39 +0000 (13:27 -0400)
commitb2590d79a80dc12948d028ffee5b911b59daa777
treecde7e5c392ae97dd045ac35796a62e3d3335cf6c
parentfa3e37b1a906e4dad015566e0798570f3a188949
Adds Threads to Heat Calls

Adds thread pool and coverts looping calls to OpenStack to be
submitted to it, allowing them to be run in parallel.

Places a configurable maximum size (default 5) of concurrent calls
on the thread pool.

JIRA: SNAPS-316

Change-Id: Id209c5fe9b7ee7d755d3210a124b38fc3234f0d7
Signed-off-by: mbeierl <mark.beierl@dell.com>
snaps/openstack/create_stack.py
snaps/openstack/utils/__init__.py
snaps/openstack/utils/heat_utils.py
snaps/thread_utils.py [new file with mode: 0644]