Skip to content

Commit f4485ba

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Cleanup nova v2.1 API testing options"
2 parents ace1e8f + e5a6f82 commit f4485ba

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/nova

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ NOVA_CELLS_DB=${NOVA_CELLS_DB:-nova_cell}
5656
NOVA_API_DB=${NOVA_API_DB:-nova_api}
5757

5858
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}
6659

6760
# NOVA_V2_LEGACY defines whether we force the Nova v2.0 enpoint onto
6861
# the Nova v2.0 legacy code base. Remove this option once the Nova
@@ -314,11 +307,6 @@ function configure_nova {
314307
# Get the sample configuration file in place
315308
cp $NOVA_DIR/etc/nova/api-paste.ini $NOVA_CONF_DIR
316309

317-
# For testing v21 is equivalent to v2
318-
if [[ "$NOVA_API_VERSION" == "v21default" ]]; then
319-
sed -i s/": openstack_compute_api_v2$"/": openstack_compute_api_v21"/ "$NOVA_API_PASTE_INI"
320-
fi
321-
322310
# For setting up an environment where v2.0 is running on the
323311
# v2.0 legacy code base.
324312
if [[ "$NOVA_V2_LEGACY" == "True" ]]; then

0 commit comments

Comments
 (0)