nanog mailing list archives

Expect (was: Software Defined Networks)


From: Stephen Satchell <list () satchell net>
Date: Thu, 12 Dec 2019 21:14:36 -0800

I (and another programmer, now at Amazon) migrated our automation from TCL/Expect to Python/pexpect. I've had to write code for those portions of Expect that didn't carry over into pexpect.

I also had to build a framework that allowed me to do rule-based programming in the same flavor as Expect's "expect" statement, which isn't hard but tedious as all get-out. Maintenance of the code using the framework is head and shoulders better than the same tasks in Expect. Particularly when Cisco makes little changes in their operations as you move up the revision chain.

On 12/12/19 6:53 PM, Quan Zhou wrote:
I do still use expect(tcl) whole lot at work, it is truly an underappreciated tool ever.

On 12/13/19 10:47, Large Hadron Collider wrote:
Tcl still exists, though I don't think they use it for this anymore.

On 19-12-05 10 h 17, Bryan Holloway wrote:

On 12/5/19 6:16 PM, Patrick W. Gilmore wrote:
I tell everyone we had SDNs in the 90s.

But we called it “expect scripts”.

:-)

--
TTFN,
patrick


I miss TCL ...


Current thread: