Comments (4)
We'll generate:
- error 404 if the DPID does not exist
- error 400 if the body is malformed (invalid fields)
- error 400 if any of the values can't be applied to the flowmod
from flow_manager.
Invalid fields or fields with invalid values are not yet treated.
from flow_manager.
If an inexistent field (like an invalid or not implemented action) is sent, a 500 error is returned. A better error code should be returned in such cases.
from flow_manager.
We'll generate:
- error 404 if the DPID does not exist
- error 400 if the body is malformed (invalid fields)
- error 400 if any of the values can't be applied to the flowmod
When testing the last item, to see what was returned when an invalid value was sent (I tried a string where an integer is required) and the return code was 200. Kytos log showed a PackException
when trying to pack the string to integer.
So, when the FlowMod
is instantiated, the values are not validated, so no error occurs, the FlowMod
is put in the controller's buffer and flow_manager
returns no error code. The controller, asynchronously, reads the FlowMod
from the buffer and, when trying to pack it, receives a PackException
. The error is never returned to the user and the controller crashes.
from flow_manager.
Related Issues (20)
- KeyError: 'flow' when running Mininet HOT 1
- Add support to install Flows through Kytos Events
- Flow consistency routine keeps removing and inserting mef_eline flows
- Flow consistency create flows for removed EVCs
- There are no attempt limits to try to recover box from storehouse
- Flows created outside Kytos should be removed by consistency check HOT 8
- Disabled EVC leaves its flows in flow_manager HOT 3
- When Kytos controller reconnect to the switch, the flows should be preserved HOT 1
- Flow manager consistency check should also consider other tables other than table=0
- Consistency check is using normal deletion instead of DELETE_STRICT
- Refactor Consistency Check
- Consistency check keeps removing and inserting flows on a switch during the first N runs HOT 6
- Eventually a removed flow is recreated when Kytos is under high usage (possible race condition) HOT 1
- Removal of a unexisting flow leads to the removal of all flows HOT 1
- API call flow_manager/v2/flows/{dpid} on GET is returning misleading response status in case of an unknown path
- API call /flow_manager/v2/flows on POST is returning misleading response status HOT 3
- API call /flow_manager/v2/flows/{dpid} on POST is returning misleading response status
- API call /flow_manager/v2/flows on DELETE is returning misleading response status
- API call /flow_manager/v2/flows/{dpid} on DELETE is returning misleading response status
- Payload with non serializable JSON data HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow_manager.