Now gate will tests Nova v2.1 as default and separate jobs
for v2 legacy and v2 compatible APIs -
I86a627b8ec7b1246452a16c10dcfb1ad5f83bdef
This commit cleanup the options used for old v2.1 jobs.
Separate options are provided for Nova APIs testing-
Ie6b7e4290d9a1d9789d04099b3b31c9a557bc22b
Depends-On: Ie0430cedb7a8136c04b9fb7d08746293aab79f42
To remove old V2.1 jobs.
Change-Id: Ibbed44e1c41ec1e6b3675317f08061810762796c
| ... | ... |
@@ -56,13 +56,6 @@ NOVA_CELLS_DB=${NOVA_CELLS_DB:-nova_cell}
|
| 56 | 56 |
NOVA_API_DB=${NOVA_API_DB:-nova_api}
|
| 57 | 57 |
|
| 58 | 58 |
NOVA_API_PASTE_INI=${NOVA_API_PASTE_INI:-$NOVA_CONF_DIR/api-paste.ini}
|
| 59 |
-# NOVA_API_VERSION valid options |
|
| 60 |
-# - default - setup API end points as nova does out of the box |
|
| 61 |
-# - v21default - make v21 the default on /v2 |
|
| 62 |
-# |
|
| 63 |
-# NOTE(sdague): this is for transitional testing of the Nova v21 API. |
|
| 64 |
-# Expect to remove in L or M. |
|
| 65 |
-NOVA_API_VERSION=${NOVA_API_VERSION-default}
|
|
| 66 | 59 |
|
| 67 | 60 |
# NOVA_V2_LEGACY defines whether we force the Nova v2.0 enpoint onto |
| 68 | 61 |
# the Nova v2.0 legacy code base. Remove this option once the Nova |
| ... | ... |
@@ -318,11 +311,6 @@ function configure_nova {
|
| 318 | 318 |
# Get the sample configuration file in place |
| 319 | 319 |
cp $NOVA_DIR/etc/nova/api-paste.ini $NOVA_CONF_DIR |
| 320 | 320 |
|
| 321 |
- # For testing v21 is equivalent to v2 |
|
| 322 |
- if [[ "$NOVA_API_VERSION" == "v21default" ]]; then |
|
| 323 |
- sed -i s/": openstack_compute_api_v2$"/": openstack_compute_api_v21"/ "$NOVA_API_PASTE_INI" |
|
| 324 |
- fi |
|
| 325 |
- |
|
| 326 | 321 |
# For setting up an environment where v2.0 is running on the |
| 327 | 322 |
# v2.0 legacy code base. |
| 328 | 323 |
if [[ "$NOVA_V2_LEGACY" == "True" ]]; then |