Getting ready
This recipe requires one virtual switch. 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 will be presented using a Mininet-VM with OvS 2.3.1.