diff --git a/config_server/protocol/v2/agentV2.proto b/config_server/protocol/v2/agentV2.proto index 9098bf0d01..cd79d6af14 100644 --- a/config_server/protocol/v2/agentV2.proto +++ b/config_server/protocol/v2/agentV2.proto @@ -25,6 +25,7 @@ message ConfigInfo { int64 version = 2; // Required, Config's version number or hash code ConfigStatus status = 3; // Config's status string message = 4; // Optional error message + map context = 100; // context } // Define the Command information carried in the request @@ -33,6 +34,7 @@ message CommandInfo { string name = 2; // Required, Command's unique identification ConfigStatus status = 3; // Command's status string message = 4; // Optional error message + map context = 100; // context } // Define Agent's basic attributes @@ -94,6 +96,7 @@ message ConfigDetail { string name = 1; // Required, Config's unique identification int64 version = 2; // Required, Config's version number or hash code bytes detail = 3; // Required, Config's detail + map context = 100; // context } message CommandDetail { @@ -101,6 +104,7 @@ message CommandDetail { string name = 2; // Required, Command name bytes detail = 3; // Required, Command's detail int64 expire_time = 4; // After which the command can be safely removed from history + map context = 100; // context } enum ServerCapabilities {