summaryrefslogtreecommitdiffstats
path: root/ci/tier_builder.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-06 01:36:30 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-09 16:58:04 +0200
commitbd00e6f289a69badf7beea827b20764ed3252c7a (patch)
tree77cfd39903e5ebf9ea492737a499ef57346cd3f1 /ci/tier_builder.py
parent073ca5525f38d7a7c9c67252d1b996e895ff9917 (diff)
CLI implementation
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'ci/tier_builder.py')
-rw-r--r--ci/tier_builder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/tier_builder.py b/ci/tier_builder.py
index 82b58cd03..05bcc8f33 100644
--- a/ci/tier_builder.py
+++ b/ci/tier_builder.py
@@ -57,6 +57,12 @@ class TierBuilder:
def get_tiers(self):
return self.tier_objects
+ def get_tier_names(self):
+ tier_names = []
+ for tier in self.tier_objects:
+ tier_names.append(tier.get_name())
+ return tier_names
+
def get_tier(self, tier_name):
for i in range(0, len(self.tier_objects)):
if self.tier_objects[i].get_name() == tier_name: