create distributed switch example