]> git.puffer.fish Git - matthieu/frr.git/commit
topogen: add support for setting link state
authorRafael Zalamena <rzalamena@gmail.com>
Wed, 21 Jun 2017 21:01:19 +0000 (18:01 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:11 +0000 (20:22 -0500)
commit8c3fdf62a9ab604eac3d770e0db90ab3b292bc69
tree61247e637d05fb6b924e1251573be2859ce6afd3
parentd9ea1cda814e5553d295fc989d86982969cf9681
topogen: add support for setting link state

This commit changes how topology links are made in order to support
discovering who and what link is the node interface connected to. After
that, the implementation of the link state change functions were trivial
as calling a command in the node shell.

The method run() was moved from TopoRouter to TopoGear so all equipment
types can benefit from this code.
tests/topotests/lib/topogen.py