mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
show_group works correctly now
This commit is contained in:
@@ -71,11 +71,21 @@ class TestGroup(LFCliBase):
|
||||
def show_info(self):
|
||||
time.sleep(.5)
|
||||
if self.list_groups:
|
||||
tg_list = self.tg_profile.list_groups()
|
||||
if len(tg_list) > 0:
|
||||
print("Current Test Groups: ")
|
||||
for group in self.tg_profile.list_groups():
|
||||
for group in tg_list:
|
||||
print(group)
|
||||
else:
|
||||
print("No test groups found")
|
||||
if self.show_group:
|
||||
print("show_group not yet implemented")
|
||||
cx_list = self.tg_profile.list_cxs()
|
||||
if len(cx_list) > 0:
|
||||
print("Showing cxs in %s" % self.tg_profile.group_name)
|
||||
for cx in cx_list:
|
||||
print(cx)
|
||||
else:
|
||||
print("No cxs found in %s" % self.tg_profile.group_name)
|
||||
|
||||
def update_cxs(self):
|
||||
if len(self.add_cx_list) > 0:
|
||||
|
||||
Reference in New Issue
Block a user