add get switch/link, create switch/link, remove switch/link method
add switch method