revert to old display of Label Stack column of show tunnel detail
i.e. List of List rather then just List
diff --git a/cli/cli/c_actions.py b/cli/cli/c_actions.py
index df94b80..2273709 100755
--- a/cli/cli/c_actions.py
+++ b/cli/cli/c_actions.py
@@ -2205,15 +2205,18 @@
tunnelList = entries
for tunnel in tunnelList:
labelStackList = (tunnel.get('labelStack'))
- labelStackString ='['
- for labelSack in labelStackList:
- for label in labelSack:
- labelStackString += (label + ',')
- if labelStackString == '[':
- labelStackString = ''
- else:
- labelStackString = labelStackString[:-1]
- labelStackString += ']'
+ labelStackString = str(labelStackList)
+ labelStackString = remove_unicodes(labelStackString)
+ #labelStackList = (tunnel.get('labelStack'))
+ #labelStackString ='['
+ #for labelSack in labelStackList:
+ # for label in labelSack:
+ # labelStackString += (label + ',')
+ #if labelStackString == '[':
+ # labelStackString = ''
+ #else:
+ # labelStackString = labelStackString[:-1]
+ # labelStackString += ']'
tunnelId = tunnel.get('tunnelId')
tunnelPath = tunnel.get('tunnelPath')
dpidGroup = str(tunnel.get('dpidGroup'))