def METHOD_NAME(self):
    '''
    Gather necessary test inputs.
    '''
    device = self.params.get('disk', default=None)
    self.disk = disk.get_absolute_disk_path(device)
    self.num_of_dlpar = int(self.params.get("num_of_dlpar", default='1'))
    self.vios_ip = self.params.get('vios_ip', '*', default=None)
    self.vios_user = self.params.get('vios_username', '*', default=None)
    self.vios_pwd = self.params.get('vios_pwd', '*', default=None)
    self.session = Session(self.vios_ip, user=self.vios_user,
                           password=self.vios_pwd)
    self.session.connect()
    cmd = "lscfg -l %s" % self.disk
    for line in process.system_output(cmd, shell=True).decode("utf-8") \
                                                      .splitlines():
        if self.disk in line:
            self.slot = line.split()[-1].split('-')[-2]
    cmd = "ioscli lsdev -slots"
    output = self.session.cmd(cmd)
    for line in output.stdout_text.splitlines():
        if self.slot in line:
            self.host = line.split()[-1]
    self.log.info(self.host)
    cmd = "lsscsi -vl"
    output = process.system_output(cmd, shell=True)
    for line in output.decode("utf-8").splitlines():
        if self.disk in line:
            value = line.split()[0].replace('[', '').replace(']', '')
    for line in output.decode("utf-8").splitlines():
        if value in line:
            if "dir" in line:
                self.disk_dir = line.split()[-1].replace('[', '') \
                                                .replace(']', '')
    cmd = r"cat %s/inquiry" % self.disk_dir
    output = process.system_output(cmd, shell=True)
    self.hdisk_name = output.split()[2].strip(b'0001').decode("utf-8")
    self.log.info(self.hdisk_name)
    cmd = "ioscli lsmap -all|grep -p %s" % self.hdisk_name
    output = self.session.cmd(cmd)
    for line in output.stdout_text.splitlines():
        if "VTD" in line:
            self.vscsi = line.split()[-1]
    if not self.vscsi:
        self.cancel("failed to get vscsi")
    self.log.info(self.vscsi)