Refactor port registration on dp connect

This prepares the code for a later change over to OF1.3.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Switch to OpenFlow 1.3

OpenFlow 1.3 no longer supplies a list of ports as part of the
initial connection, so we send a stats request to gather this
information and handle the replies.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Support Ryu 3.2

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Fix handler_datapath_leave()

This function needed to call register_ports() from self.

Ryu-RFProxy has now been tested with Ryu 3.4 and OVS 2.0.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Added MPLS Match and Push support
MPLS Pop support
Fix matching on non-TCP transport ports

Previously, we would overwrite the RFProtocol-specified network protocol
with TCP if a transport port was specified. This patch fixes the
behaviour.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Merge branch 'vandervecken' of https://github.com/deanpemberton/ryu-rfproxy