def METHOD_NAME(self):
    try:
        res = subprocess.Popen("{} channel list".format(self.peer), shell=True,
                               stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        stdout, stderr = res.communicate()
        return_code = res.returncode
        if return_code == 0:
            content = str(stdout, encoding="utf-8")
            content = content.split("\n")
        else:
            stderr = str(stderr, encoding="utf-8")
            return return_code, stderr
    except Exception as e:
        err_msg = "get channel list failed for {}!".format(e)
        raise Exception(err_msg)
    return return_code, content[1:-1]