Routing in a Software Defined Network