Iskratel Si3000 echo consisting of ANSI characters only #313
-
Hey, everybody!
Well, what happens if you enter the command manually in Telnet terminal and watch the exchange with Wireshark (below I show the character-by-character entry of the command > and what the device < responds):
(Somehow I didn't think it would be better to take a shorter command for the demo.) In general, I get this echo response to any information sent towards the device. Naturally, the scrapli algorithms do not see in the response what they sent to the device, and nothing works. How can I solve this problem, considering that I need the functionality of a network driver in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 23 replies
-
damn @denisbondar always coming in hot with some wild ones 😁 !! am I understanding correctly that this is happening on write -- and thats why scrapli never thinks the command it sent is actually there/done? if "yes", this could probably be solved the same way we did in scrapligo here -- I just never got around o bringing it into scrapli(py). If we bring this to scrapli(py) (which I am super down to do) we just gotta make sure its not super slow since it very well could be... if it is we could make it optional perhaps. Lemme know if I misread that or if I'm tracking correctly and we can figure out what to do. thanks for bringing this up @denisbondar ! |
Beta Was this translation helpful? Give feedback.
-
yeah that's possible for sure. does the prompt come back "nicely" after entering the input? or is there more ansi craziness in the prompt output too? an
you could get crazy with
yeah, ideally I don't wanna play whack-a-mole with ansi patterns for forever. do you know what the deal is with these ansi patterns and why our regex doesn't catch them? so yeah - sounds like we have a few things to do:
|
Beta Was this translation helpful? Give feedback.
-
resolved in #316 ! |
Beta Was this translation helpful? Give feedback.
-
Aren't there enough changes for a new release? 🥹 |
Beta Was this translation helpful? Give feedback.
resolved in #316 !