kytos / of_core

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

MatchTCPSrc and MatchTCPDst should be named tcp_src/tcp_dst instead of tp_src/tp_dst #98

Open italovalcy opened 4 years ago

italovalcy commented 4 years ago

Hi team,

I saw that you are using the name 'tp_src' and tp_dst for the MatchTCPSrc and MatchTCPDst, respectively, in v0x04/match_fields.py. I suggest you guys rename it to tcp_src and tcp_dst, which is more complaint with the naming schema of OF1.2+. The names tp_src/tp_dst were used on OF1.0, where they referred generically to the transport (tp) port.

We need to be careful when renaming this to avoid the tests and other napps break (even though I think there is no other napp using it).