On 5 Jul 2017, at 4:25, Donald Sharp wrote:
Rafael -
Great work! I hope this will help speed up adoption of using the topotests. Has there been work on making topotests run in more env's then a ubuntu 16.04?
Donald, any specific Distro you have in mind? I think the mininet and the requirement of having recent packages may make it painful, but I think we can try to get it on some other newer distro’s (ie Debian 9?) So please no old Distro (no CentOS 6!), but other suggestions to make it work are welcome. - Martin
On Tue, Jul 4, 2017 at 5:15 PM, Rafael Zalamena <rzalamena@opensourcerouting.org> wrote:
Hello all,
I've been working with Martin these past weeks and we came up with improvements for the topotests testing framework. This improvements main objectives are:
* Make topotests user-friendlier by removing boiler plate code * Have guidelines to help users write new tests * Document some parts of the framework
Who is this for:
* People that want to build big topologies with minimal manual labor and still have reproducible 'build's of it. See the py.test flag '--topology-only' available for new tests * Developers that want to automate execution of specific tests for frr development * Developers that want to create topology tests for the CI System * Developers that want to reproduce locally a CI topology that is failing * Users that want to build topologies bootstrapping from already existing topologies
Where to start:
* Read the guidelines file: https://github.com/FRRouting/topotests/blob /master/GUIDELINES.md * Look at already written tests: https://github.com/opensourcerouting/t opotests/tree/ospf-topo1 (it is still under development, but almost ready) * Play with the template test: https://github.com/FRRouting/topotests/b lob/master/example-test/test_template.py
Tip: when accessing the routers via Mininet CLI, prefer launching equipments terminal using the command 'xterm' (e.g. 'xterm r1'). Using 'bash' or 'vtysh' directly may cause a reported problem: https://github.com/FRRouting/frr/issues/727
Regards, Rafael
_______________________________________________ dev mailing list dev@lists.frrouting.org https://lists.frrouting.org/listinfo/dev
_______________________________________________ dev mailing list dev@lists.frrouting.org https://lists.frrouting.org/listinfo/dev