def getRuckusADState(config, wlan_if): """ Telnet to the Ruckus Adapter and get status of svcp """ ad_obj = RuckusAD(config) res = ad_obj.getState(wlan_if) time.sleep(1) return res