Commit 29c0f194 authored by Steven Murray's avatar Steven Murray
Browse files

Added support for CMD_MEDIATYPE

parent a5920695
......@@ -72,6 +72,11 @@ message OptionUInt64 {
READ_MOUNT_COUNT = 18;
WRITE_MOUNT_COUNT = 19;
SLEEP_TIME = 20;
MAX_LPOS = 21;
MIN_LPOS = 22;
NUMBER_OF_WRAPS = 23;
PRIMARY_DENSITY_CODE = 24;
SECONDARY_DENSITY_CODE = 25;
}
Key key = 1;
......@@ -105,6 +110,7 @@ message OptionString {
FILE_REGEXP = 22;
FREE_SPACE_QUERY_URL = 23;
REASON = 24;
CARTRIDGE = 25;
}
Key key = 1;
......@@ -150,6 +156,7 @@ message AdminCmd {
CMD_TAPEFILE = 18;
CMD_VIRTUALORGANIZATION = 19;
CMD_VERSION = 20;
CMD_MEDIATYPE = 21;
}
enum SubCmd {
SUBCMD_NONE = 0;
......@@ -204,6 +211,7 @@ enum HeaderType {
TAPEFILE_LS = 22; //< cta-admin tapefile ls
VIRTUALORGANIZATION_LS = 23; //< cta-admin virtualorganization ls
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
}
//
......@@ -365,6 +373,20 @@ message LogicalLibraryLsItem {
string comment = 5;
}
message MediaTypeLsItem {
string name = 1;
string cartridge = 2;
uint64 capacity = 3;
uint64 primary_density_code = 4;
uint64 secondary_density_code = 5;
uint64 number_of_wraps = 6;
uint64 min_lpos = 7;
uint64 max_lpos = 8;
string comment = 9;
cta.common.EntryLog creation_log = 10;
cta.common.EntryLog last_modification_log = 11;
}
message MountPolicyLsItem {
string name = 1;
uint64 archive_priority = 2;
......
......@@ -89,6 +89,7 @@ message Data {
cta.admin.TapeFileLsItem tfls_item = 22; //< Data for a single tape file
cta.admin.VirtualOrganizationLsItem vols_item = 23; //< Data for a single virtual organization
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
}
}
......
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