def METHOD_NAME(self):
    if self.zone is None:
        return
    zp = None
    for r in [r for r in self.svc.resources_by_id.values() if r.type == "container.zone"]:
        if r.name == self.zone:
            try:
                zp = r.zonepath
            except:
                zp = "<%s>" % self.zone
            break
    if zp is None:
        raise ex.Error("zone %s, referenced in %s, not found" % (self.zone, self.rid))
    self.path = zp + "/root" + self.path
    if "<%s>" % self.zone != zp:
        self.path = os.path.realpath(self.path)
    self.tags.add(self.zone)
    self.tags.add("zone")