[PATCH v4 03/18] NetTestController: add run_mode attribute