kytos / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
1 stars 19 forks source link

Fix handle_port_desc method #91

Closed gleybersonandrade closed 4 years ago

gleybersonandrade commented 4 years ago

Today, handle_port_desc method isn't using speed to create Interface instances, so, an error is raised when this attribute is used. This PR changes this method, setting speed in all the Interface instances.

Fix kytos/kytos#1068

italovalcy commented 4 years ago

I've reviewed the PR and it seems to be very good! I also applied it (together with https://github.com/kytos/kytos/pull/1107) and it worked just fine.