Toward predictable control of software-defined networks