summaryrefslogtreecommitdiffstats
path: root/ci/tier_builder.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-10 11:51:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-05-10 11:51:18 +0000
commitacd3d80504a56183a4909dce52b56bc7e15bc6cd (patch)
tree9c656eb5db5813865537cb1f0693564dbc38e32b /ci/tier_builder.py
parent7eeab2d73796b1054c20b41329835adc090bbf3c (diff)
parentbd00e6f289a69badf7beea827b20764ed3252c7a (diff)
Merge "CLI implementation"
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: