Move sfc custom flavor creation 89/22489/1
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>
Fri, 23 Sep 2016 13:40:13 +0000 (16:40 +0300)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 27 Sep 2016 10:05:54 +0000 (10:05 +0000)
commite3fb755f81a297b484dbcb764e9f054afc30f85b
treee6b866ac95b1d4676cf218a70b5010ecea2cf6b1
parentbc8056383ce9154ecbe7a919ac10307ea7bd67ad
Move sfc custom flavor creation

The custom flavor that is needed for the sfc test case is created in the
tacker deployment phase.
The result of this is that when we use alternative methods of deploying
tacker (i.e. the tacker fuel plugin) the test fails.

Changes:
- Move the flavor creation inside the test case code
- Add an optional public parameter in the [get_or_]create_flavor utility
  functions.

Change-Id: Iea13f172076770dde3876b7e27edc9b7ca9b28db
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
(cherry picked from commit 40f68e35389cf19d3fb200d1655ecb055c85d1eb)
testcases/features/sfc/sfc.py
testcases/features/sfc/sfc_colorado1.py
utils/openstack_utils.py