What script are you using for the Juniper EX switches?
You can not extend an existing activity and so would need to write it as a custom activity.
The main activity script calls the same function in each device script file (in this case the function Activity_Report_MACAddressTable). I'm creating a custom device script file and am including that function name. I need the function to simply return the data the the correct format/order to the calling function (in the main activity script file) and it should include the juniper switch data in the final report.
1 of 1 people found this helpful
It's a tab delimited string;
Each row in the string consists of the following;
Device Group, Device Name, MAC Address,MAC Type, VLAN ,Interface, Last Seen, First Seen, vbCRLF
Note the vbCRLF at the end of each row.
For the device group use cl.CurDevGroup
For the devicename use cl.CurDevName