mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
l3_cxprofile.py : alias code, added put in exception of the number of
expected stations does not match the number of stations present. Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -252,7 +252,12 @@ class L3CXProfile(LFCliBase):
|
||||
for port in portdata_df['port-alias']:
|
||||
if port in cross_connect:
|
||||
layer3_alias.append(port)
|
||||
layer3['alias'] = layer3_alias
|
||||
try:
|
||||
layer3['alias'] = layer3_alias
|
||||
except:
|
||||
print("The Stations or Connection on LANforge did not match expected, \
|
||||
Check if LANForge initial state correct or delete/cleanup corrects")
|
||||
exit(1)
|
||||
|
||||
timestamp_df = pd.merge(layer3, portdata_df, on='alias')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user