Computing Mode Selection using Software Defined Network