kytos / pathfinder

Kytos main path finder Network Application (NApp)
https://napps.kytos.io/kytos/pathfinder
MIT License
1 stars 21 forks source link

Update Pathfinder API with Constraint Setup Documentation #62

Open MarvinTorres opened 4 years ago

MarvinTorres commented 4 years ago

This resolves #61

Currently, users are unable to pick out the most ideal best paths for them in Pathfinder's UI based on the path's metadata. This PR fixes that by providing an API for specifying constraints in the form of attributes, such as delay must be at most 30 units and delay can be at most 30 units or bandwidth can be at least 30 units

Note that the response body is significantly different than its current iteration - it now contains both the attributes of the best paths and the best paths themselves.

You can preview the updated API through the Swagger online editor.