ct_us_scripts.json : initial checkin - attempt to include more regression

lf_cleanup.py : added the cleanup of moni with sta

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-12-14 04:32:05 -07:00
parent 254681a205
commit 78bffdbbf0
2 changed files with 640 additions and 0 deletions

View File

@@ -143,6 +143,17 @@ class lf_clean(Realm):
# print(data)
super().json_post(req_url, data)
time.sleep(.5)
if 'moni' in alias:
info = self.name_to_eid(alias)
req_url = "cli-json/rm_vlan"
data = {
"shelf": info[0],
"resource": info[1],
"port": info[2]
}
# print(data)
super().json_post(req_url, data)
time.sleep(.5)
if 'Unknown' in alias:
info = self.name_to_eid(alias)
req_url = "cli-json/rm_vlan"