parameters: (self, fname)
return_statement: return self.ovf_disks_by_alias_and_fileref[relname]["disk-alias"]
docstring: Return the disk alias name from OVF data for given fname (full path),
          this is used on restore by create_file() to process includes/excludes
docstring_summary: Return the disk alias name from OVF data for given fname (full path),
          this is used on restore by create_file() to process includes/excludes
docstring_tokens: Return the disk alias name from OVF data for given fname ( full path ) this is used on restore by create_file () to process includes / excludes
function: def get_ovf_disk_alias_by_basename(self, fname):
          """
          Return the disk alias name from OVF data for given fname (full path),
          this is used on restore by create_file() to process includes/excludes
          """
  
          dirpath = os.path.dirname(fname)
          dirname = os.path.basename(dirpath)
          basename = os.path.basename(fname)
          bareosfd.DebugMessage(
              150,
              "get_ovf_disk_alias_by_basename(): self.ovf_disks_by_alias_and_fileref: %s\n"
              % (self.ovf_disks_by_alias_and_fileref),
          )
          relname = "%s/%s" % (dirname, basename)
  
          return self.ovf_disks_by_alias_and_fileref[relname]["disk-alias"]
function_tokens: def get_ovf_disk_alias_by_basename ( self , fname ) : dirpath = os . path . dirname ( fname ) dirname = os . path . basename ( dirpath ) basename = os . path . basename ( fname ) bareosfd . DebugMessage ( 150 , "get_ovf_disk_alias_by_basename(): self.ovf_disks_by_alias_and_fileref: %s\n" % ( self . ovf_disks_by_alias_and_fileref ) , ) relname = "%s/%s" % ( dirname , basename ) return self . ovf_disks_by_alias_and_fileref [ relname ] [ "disk-alias" ]