Fix flavors tests so they can be run in parallel

Fixes flavors tests so they use different flavor ids and
different flavor names for each individual test. This allows them
to be run in parallel without them interfering with each other.

Change-Id: I18840de7cdf8140677ac96665fca1a1209142ecf
diff --git a/tempest/common/utils/data_utils.py b/tempest/common/utils/data_utils.py
index 3a7661c..8f90c1f 100644
--- a/tempest/common/utils/data_utils.py
+++ b/tempest/common/utils/data_utils.py
@@ -27,6 +27,10 @@
     return name + str(random.randint(1, 999999))
 
 
+def rand_int_id(start=0, end=999999):
+    return random.randint(start, end)
+
+
 def build_url(host, port, api_version=None, path=None,
               params=None, use_ssl=False):
     """Build the request URL from given host, port, path and parameters."""