diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-05-10 11:51:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-05-10 11:51:18 +0000 |
commit | acd3d80504a56183a4909dce52b56bc7e15bc6cd (patch) | |
tree | 9c656eb5db5813865537cb1f0693564dbc38e32b /ci/tier_builder.py | |
parent | 7eeab2d73796b1054c20b41329835adc090bbf3c (diff) | |
parent | bd00e6f289a69badf7beea827b20764ed3252c7a (diff) |
Merge "CLI implementation"
Diffstat (limited to 'ci/tier_builder.py')
-rw-r--r-- | ci/tier_builder.py | 6 |
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: |