'Switch to a random connected server other than the current one'

def switch_to_random_interface(self):

    servers = self.get_interfaces()
    if (self.default_server in servers):
        servers.remove(self.default_server)
    if servers:
        self.switch_to_interface(random.choice(servers))
