Move sfc custom flavor creation
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>
Fri, 23 Sep 2016 13:40:13 +0000 (16:40 +0300)
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>
Tue, 27 Sep 2016 08:31:10 +0000 (11:31 +0300)
commit40f68e35389cf19d3fb200d1655ecb055c85d1eb
treeea4d27c5ad090cdcfa51c6a088418e3635a86ab6
parent1b7f3d721086d5d645bd968387a523f9df0c8c63
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>
testcases/features/sfc/sfc.py
testcases/features/sfc/sfc_colorado1.py
utils/openstack_utils.py