python-openflow
python-openflow copied to clipboard
Rethink all validation code
Currently, there are validations in unreachable code. This will solve pylint unreachable code warnings and also some TODOs in #82 .
We should review and rethink all validation code.
Just to include a TODO I found in ActionHeader (common/action.py): Implement is_valid specific method here to check length for 'This is the length of action, including any padding to make it 64-bit aligned.'
I think that we need a blueprint for the validation. @cemsbr, @diraol... can you guys work on this blueprint, please ?