Commit fe00c7bc authored by Michael Davis's avatar Michael Davis
Browse files

Adds OBJECT_ID

And marks unused options as DEPRECATED for later removal
parent 8f52c911
......@@ -30,11 +30,11 @@ message OptionBoolean {
FORCE = 2;
FULL = 3;
READ_ONLY = 4;
FROM_CASTOR = 5;
FROM_CASTOR = 5; // DEPRECATED
// hasOption options
ALL = 6;
CHECK_CHECKSUM = 7;
CHECK_CHECKSUM = 7; // DEPRECATED
EXTENDED = 8; // DEPRECATED
JUSTARCHIVE = 9;
JUSTADDCOPIES = 10;
......@@ -58,21 +58,21 @@ message OptionUInt64 {
RETRIEVE_PRIORITY = 2;
CAPACITY = 3;
COPY_NUMBER = 4;
FIRST_FSEQ = 5;
FILE_SIZE = 6;
GID = 7;
LAST_FSEQ = 8;
FIRST_FSEQ = 5; // DEPRECATED
FILE_SIZE = 6; // DEPRECATED
GID = 7; // DEPRECATED
LAST_FSEQ = 8; // DEPRECATED
MAX_DRIVES_ALLOWED = 9;
MIN_ARCHIVE_REQUEST_AGE = 10;
MIN_RETRIEVE_REQUEST_AGE = 11;
NUMBER_OF_FILES = 12;
OWNER_UID = 13;
PARTIAL = 14;
NUMBER_OF_FILES = 12; // DEPRECATED
OWNER_UID = 13; // DEPRECATED
PARTIAL = 14; // DEPRECATED
PARTIAL_TAPES_NUMBER = 15;
REFRESH_INTERVAL = 16;
TARGETED_FREE_SPACE = 17;
READ_MOUNT_COUNT = 18;
WRITE_MOUNT_COUNT = 19;
READ_MOUNT_COUNT = 18; // DEPRECATED
WRITE_MOUNT_COUNT = 19; // DEPRECATED
SLEEP_TIME = 20;
MAX_LPOS = 21;
MIN_LPOS = 22;
......@@ -88,17 +88,17 @@ message OptionUInt64 {
message OptionString {
enum Key {
COMMENT = 0;
DISKID = 1;
DISKID = 1; // DEPRECATED
DRIVE = 2;
ENCRYPTION_KEY_NAME = 3;
FILENAME = 4;
HOSTNAME = 5;
INPUT = 6;
FILENAME = 4; // DEPRECATED
HOSTNAME = 5; // DEPRECATED
INPUT = 6; // DEPRECATED
INSTANCE = 7;
LOGICAL_LIBRARY = 8;
MOUNT_POLICY = 9;
OUTPUT = 10;
PATH = 11;
OUTPUT = 10; // DEPRECATED
PATH = 11; // DEPRECATED
STORAGE_CLASS = 12;
TAPE_POOL = 13;
USERNAME = 14;
......@@ -114,6 +114,7 @@ message OptionString {
REASON = 24;
CARTRIDGE = 25;
FXID = 26;
OBJECTID = 27;
}
Key key = 1;
......@@ -214,7 +215,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
SCHEDULINGINFOS_LS = 26; //< cta-admin schedulinginfo ls
}
//
......
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