Git Product home page Git Product logo

networks2tester's People

Contributors

pascalwacker avatar resulknad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

networks2tester's Issues

Error

screenshot_2018-05-30_23-23-16
screenshot_2018-05-30_23-23-29

In test 10 the tester is giving me an error but my implementation returns the correct weight and the correct next hop.

Test case 9 uses invalid cost.

In the logs for test case 9 I found instances where the cost of an interface was set to 17. According to the RFC no metric can exceed 16, which indicates a bug in the tester.

2018/05/30 03:16:23 To 1.1.3.0 via 0.0.0.0 (next hop)
2018/05/30 03:16:23 To 1.1.4.0 via 1.1.3.2 (next hop)
2018/05/30 03:16:23 To 1.1.5.0 via 1.1.3.2 (next hop)
2018/05/30 03:16:23 To 1.1.2.0 via 1.1.3.2 (next hop)
2018/05/30 03:16:23 Set cost to 17.000000 in graph
2018/05/30 03:16:23 lvns server changed cost to 17
2018/05/30 03:16:23 Routes as reported by d1
2018/05/30 03:16:23 Path from d1 (0) to subnet (1.1.2.0) shouldnt exist
2018/05/30 03:16:23 Shouldnt have a path, but it does

Support go 1.7

I currently can't run this with go 1.7 installed (Debian stable).

add steps in tester.log

It would be nice if the tester.log would feature additional information except for things like:

2018/05/28 20:37:33 Path from dr1 (0) to subnet (34.78.96.0) isnt ok, weight in graph: 1.000000
2018/05/28 20:37:34 Path from dr1 (0) to subnet (34.78.96.0) isnt ok, weight in graph: 1.000000

My suggestion would be to write in there whenever an interface gets taken offline or online and when costs changes. That way it will become more debuggable.

Btw. thanks for the tester! You're awesome!

complex2 test fails but shouldn't

According to my logs, the complex2 test case should succeed, but my program fails test case 6. I have no idea why this occurs.

Maybe the path chosen by my implementation is different, but of the same cost..?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.