Hello Donald, We haven't run topotest in anything but Ubuntu 16.04 and 17.04, however it should work on any Linux distribution. If you have found a problem running it, feel free to report an issue or find me in Slack. As soon as problem reports starts coming in, we can think of some kind of tool to diagnose problems. For now, just make sure you have the minimal requirements to run it: * Python 2.7 * Mininet * FRR * GCC >=4.8 (for address sanitizer tests) Use FRR from packages or install using the topotest instructions: https://github.com/FRRouting/topotests/blob/master/README.md Regards, Rafael Em qua, 2017-07-05 às 07:25 -0400, Donald Sharp escreveu:
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?
thanks!
donald
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/opensourcerouti ng/t opotests/tree/ospf-topo1 (it is still under development, but almost ready) * Play with the template test: https://github.com/FRRouting/topotes ts/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