def METHOD_NAME(self, dev, type):
    dev = dev.replace("/dev/vx/dmp/", "/dev/vx/rdmp/")
    if self.deferred or dev not in self.h:
        self.scan_dev(dev)
    dummy = dict(wwid="unknown", vid="unknown", pid="unknown", size=0)
    if dev not in self.h:
        if self.zone:
            return None
        return dummy[type]
    return self.h[dev][type]