[PATCH v2 04/26] NetTestController: add run_mode attribute