Getting ready
This recipe requires two virtual switches. If you don't have any, you can use a Mininet-VM with OvS installed. You can download Mininet-VM from https://github.com/mininet/mininet/wiki/Mininet-VM-Images. Any version should work.
The following recipe uses a Mininet-VM with OvS 2.3.1 and a Mininet-VM with OvS 2.4.0.