From c252a589b6b0274a17bfe40db3fd57ebeea3beb8 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 1 May 2013 13:45:02 +0300 Subject: =?UTF-8?q?Add=20Model#expect,=20support=20block=20at=C2=A0post/pr?= =?UTF-8?q?e=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now we can deal with pager and additional PW prompts, such as 'enable' Examples in IOS model how to use. The Telnet implementation is particularly fugly, I just need one line in 'waitfor' to handle pager while waiting for prompt, but couldn't figure out clean way to do it, so needed to rewrit whole Telnet#waitfor just to add that line. --- TODO.md | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index b43962b..5913e84 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,3 @@ -# expect call back: - -``` ruby -expect /---more---/ do - @output.pop - cmd "\n" -``` -I don't really need it myself, since I don't have platforms where it would be needed - - # thread number * think about algo * if job ended later than now-iteration have rand(node.size) == 0 to add thread @@ -15,7 +5,6 @@ I don't really need it myself, since I don't have platforms where it would be ne * should we try to avoid max threads from being hit? (like maybe non-success thread is pulling average?) * dont add thread, if even one thread is too much (too few nodes for interval), still must process 'next' request w/o delay - # config * save keys as strings, load as symbols? -- cgit v1.2.1