Click to open “Add Trigger”.
Will be used for LIST Type only.
The command output lines will be delimited by white space and first column value of all lines will be stored in Trigger Output.
trigger_result = []
found = 0
columns = ["Interface","Link", "Speed","Duplex", "Type", "PVID", "Description"]
For each_line in trigger_output.split("\n"):
if each_line.split() == columns:
found = 1
continue
if found == 1:
local_port = each_line.split()[0].strIP()
if local_port.find('/') != -1 and (local_port.lower().startswith('fe') or local_port.lower().startswith('ge') or local_port.lower().startswith('gi') or local_port.lower().startswith('fi') or local_port.lower().startswith('te') or local_port.lower().startswith('eth')):
trigger_result.append(local_port)
print "trigger_result",trigger_result
Click Access Control tab to view additional details.
NOTE: If Private is selected, please note that only the assigned User or User Group can manage or use this Trigger.
Click Save to configure the Upload job or click Cancel to abort the Trigger.