dirac-dms-protocol-matrix

Generate a matrix of:

* protocols used for interactive TPC
* protocols used for FTS transfers
* Intermediate hop for multihop transfer

The output is a CSV file containing a matrix source/destination.

By default, all the SEs are taken into account, but the matrix is factorized by using baseSEs. If you want the detail per se, use –Full

Suppose you have the following in your CS::

StorageElementBases{
  IN2P3-Disk
}
StorageElements{
  IN2P3-DST{
    BaseSE = IN2P3-Disk
  }
  IN2P3-User{
    BaseSE = IN2P3-Disk
  }
  AnotherDisk{
  }
}

You can have the following combinations::

DIRAC-PROD>dirac-dms-protocol-matrix
Using sources: IN2P3-Disk, AnotherDisk
Using target: IN2P3-Disk, AnotherDisk

DIRAC-PROD>dirac-dms-protocol-matrix --FromSE=IN2P3-User
Using sources: IN2P3-User
Using target: IN2P3-Disk, AnotherDisk

DIRAC-PROD>dirac-dms-protocol-matrix --FromSE=IN2P3-User --Bidirection
Using sources: IN2P3-User
Using target: IN2P3-User

Usage:

dirac-dms-protocol-matrix [options] ...

Options:

--FromSE=                : SE1[,SE2,...]
--TargetSE=              : SE1[,SE2,...]
--OutputFile=            : CSV output file (default /tmp/protocol-matrix.csv)
--Bidirection            : If FromSE or TargetSE are specified, make a square matrix
--FTS                    : Display the protocols sent to FTS
--TPC                    : Display the protocols tried for interactive TPC
--Multihop               : Display the intermediate hop
--Full                   : Do not factorize with base SE
--ExcludeSE=             : SEs to not take into account for the matrix