Skip to content

Commit

Permalink
added mapping text
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryLitvintsev committed Nov 8, 2023
1 parent 1b41794 commit 36e291b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
30 changes: 30 additions & 0 deletions docs/enstore2cta_mapping.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Enstore to CTA mapping
======================

.. list-table:: Enstore to CTA mapping
:header-rows: 1

* - Enstore
- CTA
- Comment
* - ``volume.label``
- ``vid = volume.label[:6]``
-
* - ``volume.storage_group``
- ``virtual_organization_name``
-
* - | ``volume.storage_group``
| ``volume.file_family``
- ``storage_class.storage_class_name=volume.storage_group+"."+volume.file_family+"@cta"``
-
* - ``volume.library``
- ``logical_library_name``
-
* - ``file.bfid``
- ``archive_file.archive_file_id``
- Sequence in CTA
* - | if bfid has entry in
| ``file_copies_map``
- | ``storage_class.nb_copies``
| ``archive_route.copy_nb``
-
11 changes: 10 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Configuration


Enstore Schema
===============
==============

.. toctree::
:maxdepth: 1
Expand All @@ -44,6 +44,15 @@ Enstore to CTA Mapping
enstore2cta_mapping.rst


Example Migration
================

.. toctree::
:maxdepth: 1

example_migration.rst


Source code
===========
.. toctree::
Expand Down

0 comments on commit 36e291b

Please sign in to comment.