Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I am trying to write some Asynchronous TCL code to make things more efficent. This is just a simple example, but in reality it will SSH into a device, run a command, do some math, and write the output to the switch.The whole "after" thing is throwi...
We are trying to load-balance on 4 interfaces that have unequal bandwidths. The setup looks like this8 Computers -> Empty Config Switch -> 3560 Router\Switch -> 4x Wireless Radios on different frequencies - networks -> 3560 Router\Switch->Empty Confi...
Thats good to know. I think i will be sticking with 1 script and not do any weird queuing stuff. The fidelity of my data will be a tad worse, but the switch will struggle with all of that going on at once.Hopefully i can loop trough the X devi...
Well i just realized i cannot run 2 tcl scripts at the same time. That is disappointing. I guess i will need to code this all in 1 script and hop trough 1 at a time. Well, i appreciate all the help. I learned quite a bit from this endeavor.
I was just about to give up... BUT i think i have an idea.The reason why my code will run slow is that i am waiting for the output. So, what if i did cli_write instead of exec?Each device will be on a seperate interface. So, if I do a write, i cou...
If you look at the timestamps you can see that they are running one after another and not parallel. A and B should be firing off multiple times before C completes. The message fires off before the ping command goes off, so D waited 15 seconds be...
The constant reply seems to have chopped the text space a bunch by now... Here is a repost from above. (couldnt see a way to fix the one above)Mar 30 03:16:18.360: %HA_EM-6-LOG: SSHTest4.tcl: StartMar 30 03:16:18.800: %HA_EM-6-LOG: SSHTest4.tcl: Bef...