Commit ba0da8b3 authored by Cedric Caffy's avatar Cedric Caffy
Browse files

Added fields for cta-admin recycletf ls output

parent bfcb6f5b
......@@ -160,6 +160,7 @@ message AdminCmd {
CMD_VERSION = 20;
CMD_MEDIATYPE = 21;
CMD_SCHEDULINGINFOS = 22;
CMD_RECYCLETAPEFILE = 23;
}
enum SubCmd {
SUBCMD_NONE = 0;
......@@ -216,6 +217,7 @@ enum HeaderType {
VERSION_CMD = 24; //< cta-admin version (This can't be called VERSION as it clashes with an EOS macro)
MEDIATYPE_LS = 25; //< cta-admin mediatype ls
SCHEDULINGINFOS_LS = 26; //< cta-admin schedulinginfo ls
RECYLETAPEFILE_LS = 27; //< cta-admin recycletf ls
}
//
......@@ -513,12 +515,13 @@ message TapeLsItem {
uint64 master_data_in_bytes = 24;
}
message Checksum {
common.ChecksumBlob.Checksum.Type type = 1; //< Checksum type
string value = 2; //< Checksum value, differs from cta.common.ChecksumBlob.Checksum.value
//< in that value is a decoded string not a byte array
}
message TapeFileLsItem {
message Checksum {
common.ChecksumBlob.Checksum.Type type = 1; //< Checksum type
string value = 2; //< Checksum value, differs from cta.common.ChecksumBlob.Checksum.value
//< in that value is a decoded string not a byte array
}
message ArchiveFile {
uint64 archive_id = 1; //< Archive File ID
string storage_class = 2; //< Storage Class
......@@ -540,7 +543,6 @@ message TapeFileLsItem {
uint64 superseded_by_f_seq = 5; //< The fSeq of the superseding tape file. Only valid if superseded_by_vid is not empty.
string superseded_by_vid = 6; //< The Volume ID of the tape file superseding this one. Can be empty.
}
ArchiveFile af = 1;
DiskFile df = 2;
TapeFile tf = 3;
......@@ -617,3 +619,27 @@ message SchedulingInfosLsItem {
string logical_library = 1;
repeated PotentialMount potential_mounts = 2;
}
message RecycleTapeFileLsItem {
string vid = 1;
uint64 fseq = 2;
uint64 block_id = 3;
uint64 logical_size_in_bytes = 4;
uint32 copy_nb = 5;
uint64 tape_file_creation_time = 6;
uint64 archive_file_id = 7;
string disk_instance = 8;
string disk_file_id = 9;
string disk_file_id_when_deleted = 10;
uint64 disk_file_uid = 11;
uint64 disk_file_gid = 12;
uint64 size_in_bytes = 13;
repeated Checksum checksum = 14;
string storage_class = 15;
uint64 archive_file_creation_time = 16;
uint64 reconciliation_time = 17;
string collocation_hint = 18;
string disk_file_path = 19;
string reason_log = 20;
uint64 recycle_log_time = 21;
}
\ No newline at end of file
......@@ -91,6 +91,7 @@ message Data {
cta.admin.VersionItem version_item = 24; //< Data for a single version item
cta.admin.MediaTypeLsItem mtls_item = 25; //< Data for a single tape media type
cta.admin.SchedulingInfosLsItem sils_item = 26; //< Data for a single scheduling info item
cta.admin.RecycleTapeFileLsItem rtfls_item = 27; //< Data for a single recycle tape file item
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment