On scalability of software-defined networking