conference logo

Playlist "OsmoDevCon 2018"

Faster VTY and CTRL interface test

Neels Hofmeyr

using new osmo_interact_vty.py and osmo_interact_ctrl.py for faster VTY and CTRL interface test

I often found writing python code to test VTY and CTRL interface interactions slow, firstly the time to write it, secondly that our current tests launch a new binary to test against for each test, adding 3 seconds of idle waiting all over the place. I often wished I could just type a telnet VTY session interactively, and magically use that as test. And then I found it fairly easy to implement exactly that, and that the CTRL interface neatly matches the same paradigm. In this talk I'll briefly show what it looks like.