def setRuckusADState(config, state, wlan_if): """ Telnet to the Ruckus Adapter and set status for svcp """ ad_obj = RuckusAD(config) res = ad_obj.setState(wlan_if, state) time.sleep(2)