add l2_switch_v2.py and simple_switch_rest.py