const correctness in switch_manager interface