diff --git a/lib/Bastion/Model.py b/lib/Bastion/Model.py index cf9c531..01147f9 100644 --- a/lib/Bastion/Model.py +++ b/lib/Bastion/Model.py @@ -57,7 +57,7 @@ def asset(self): @property def zolo(self): """ - zolo ("zone location") is the path to this including its zone. + zolo ("zone location") is the logical path to this including its zone. """ return pathlib.PurePosixPath(self.zone) / self.asset @@ -162,12 +162,12 @@ def RDN(self): self._RDN = self.badge return self._RDN - @property - def path(self): - """ - I answer the local (host) file system path to this asset. - """ - return self.zone.root / pathlib.Path(self.name) +# @property +# def path(self): +# """ +# I answer the local (host) file system path to this asset. +# """ +# return self.zone.root / pathlib.Path(self.name) @property def CURIE(self): @@ -187,6 +187,14 @@ def badge(self): """ return self.ARK.badge + @property + def halo(self): + """ + host asset location (halo) + The local (relative to the host) file system path to the asset. + """ + return self.zone.root / pathlib.Path(self.name) + @property def zolo(self): return self.ARK.zolo