Devam Ediyor

555124 Telnet Script for Conditional If/Then loop with variables - repost

I have an existing Python script that originates telnet sessions to multiple hosts and logs in to each.

The script then captures certain text output and based on that output makes decisions based on if / then conditions to send what text to where.

The script relies heavily on TIMING, REGULAR EXPRESSIONS and conditional logic.

We needed the script to include a norepeat functionality such that lines flagged with a norepeat=x (where x is the number of seconds) would not repeat the output if the output was told to be sent multiple times in x seconds. This was attempted and written by another Python programmer. This introduced a further problem with output being sent too fast to the host. The programmer that was helping us abruptly quit the project so now we need someone to implement yet another flag called delay=n (where n is 1/10 of a second). So on lines that have delay=5 the host would wait one half a second to send the output and then continue.

This is an advanced PYTHON script so please only inquire if you have advanced python skills. If you are an advanced python programmer then please inquire and bid and I can share the code with you to review.

Upon completion of this first phase with delay functionality I may be looking to the same programmer to add some additional functionality as a separate project.

Thanks!

Below is the original project from a year ago:

------------------------------------------------

We preferably want this to run on a windows 7 platform. Need a program/script to open and login telnet sessions on two hosts (different ip addresses...one host is a lighting controller and one is a shade controller). The script will interact with both telnet sessions. Based on some of the scrolling output from one of the telnet sessions, commands will be sent to either that same telnet session or the other telnet session based on matching various strings. In summary, once logged in there will be a large conditional if/then type of loop that based on certain output and conditions, various command will be issued to either one or both of the open telnet sessions.

I am open to doing something completely from scratch or using an existing telnet application (such as SecureCRT) but the problem is that I have not found any off-the-shelf telnet application that has a robust enough scripting language AND that can have one script interact between two telnet sessions.

Upon request, I can send you sample output of both sessions and what is to be expected to be sent by the script.

Beceriler: Python

Daha fazlasını görün: python telnet script, telnet, python script telnet login, telnet scripting using variables, using regular expressions, sample regular expressions, need python programmer for project, need python programmer, matching strings, matching logic, looking for python programmer, looking for a python programmer, i need a python programmer, i need a programmer in python, we told two, python strings, python programmer, python programmer needed, project need python script, python login, session script, program script, windows command script, scripting python, certain strings

İşveren Hakkında:
( 3 değerlendirme ) Miami Beach, United States

Proje NO: #4436143

Seçilen:

suriyant

With 3+ years Python experience, I'm ready to do it.

1 gün içinde 40$ USD
(0 Değerlendirme)
3.6

2 freelancers are bidding on average $130 for this job

nixkoder

Hi, I'm posting an approximate bid and am willing to revise it after I take a look at the code. Could you please share more details of the existing code and the code itself if possible, cheers, - steve

in 3 gün içinde220$ USD
(0 Değerlendirme)
0.0