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

Added messages for cta-admin schedulinginfos ls

parent 87c9dbdb
......@@ -157,6 +157,7 @@ message AdminCmd {
CMD_VIRTUALORGANIZATION = 19;
CMD_VERSION = 20;
CMD_MEDIATYPE = 21;
CMD_SCHEDULINGINFOS = 22;
}
enum SubCmd {
SUBCMD_NONE = 0;
......@@ -212,6 +213,7 @@ enum HeaderType {
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
SCHEDULINGINFOS_LS = 26; //< cta-admin schedulinginfos ls
}
//
......@@ -579,3 +581,29 @@ message VersionItem {
string catalogue_connection_string = 3;
string catalogue_version = 4;
}
message PotentialMount {
string vid = 1;
string tapepool = 2;
string vo = 3;
string media_type = 4;
string vendor = 5;
MountType mount_type = 6;
uint64 tape_capacity_in_bytes = 7;
uint64 mount_policy_priority = 8;
uint64 mount_policy_min_request_age = 9;
uint64 mount_policy_max_drives_allowed = 10;
uint64 files_queued = 11;
uint64 bytes_queued = 12;
uint64 oldest_job_start_time = 13;
bool sleeping_mount = 14;
uint64 sleep_time = 15;
string disk_system_slept_for = 16;
uint32 mount_count = 17;
string logical_library = 18;
}
message SchedulingInfosLsItem {
string logical_library = 1;
repeated PotentialMount potential_mounts = 2;
}
......@@ -90,6 +90,7 @@ message Data {
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
cta.admin.SchedulingInfosLsItem sils_item = 26; //< Data for a single scheduling info 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