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