update of config script using new release of OpenStack SDK
JIRA: AUTO-38
- Issues in OpenStack SDK 0.13 were fixed in new release 0.14
- revisited the script, made some changes (delete interfaces before
deleting router)
- Script now fully works: creates all objects, and can be used also
for deleting (in a clean-up job for example)
- resilient to re-runs: can attempt to re-create, won't crash if
objects already exist (existence tests work, thanks to SDK 0.14
fix). Likewise, can attempt to re-delete (no crash).
- next steps will be:
* update created objects based on ONAP-B requirements
(current: still from Amsterdam; should be quite similar)
* script to ensure Python3 and SDK are installed, and to
ensure files are there (clouds.yaml, .img)
* chain in CI pipeline: Fuel/MCP install, and this script
Patch 2:
made changes to address the comments
- fixed the summary (works in any execution case), tested on hpe12
- researched the URL support (use image proxy), but did not try yet
(need to merge this for 6.2)
Change-Id: Ibf647e33428c98a6fec17eda0a41e9ee11cc8085
Signed-off-by: Gerard Damm <gerard.damm@wipro.com>