Closed gleybersonandrade closed 4 years ago
great work, guys! My only comment is: it should be interesting to allow the administrator to change the Interface config flags (e.g. to remove the flag OFPPC_NO_FWD) because sometimes the switch may report wrong values to cur/max/supported speeds. I'm not sure if manual changes to Interface config is already supported (e.g. via REST API) or not, so I would suggest taking this into consideration before accepting the PR.
This PR changes the behavior of handle_port_desc method, defining OFPPC_NO_FWD flag to interfaces that kytos should not send packets (In this case, interfaces that: supported, curr_speed and max_speed are 0).
Fix kytos/of_core#79