summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 0d82503..94afcf1 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -76,6 +76,13 @@ enum NetShareAuth {
OTHER_USER
}
+enum SscMode {
+ OFF,
+ ON,
+ AUTO,
+ USER,
+}
+
// ############## STRUCT ###############
struct UserInfo {
@@ -186,6 +193,8 @@ struct ImageSummaryRead {
17: bool isTemplate,
18: ImagePermissions defaultPermissions,
19: optional ImagePermissions userPermissions,
+ 21: optional i64 fileSizeSum,
+ 22: optional i32 versionCount,
}
struct ImageVersionDetails {
@@ -259,9 +268,23 @@ struct LdapFilter {
4: optional string title,
}
+struct PresetRunScript {
+ 1: i32 scriptId,
+ 2: string displayname,
+ 3: list<i32> osIds,
+}
+
+struct PresetNetRule {
+ 1: i32 ruleId,
+ 2: string displayName,
+ 3: list<NetRule> netRules,
+}
+
struct PredefinedData {
1: list<NetShare> netShares,
2: list<LdapFilter> ldapFilter,
+ 3: list<PresetRunScript> runScripts,
+ 4: list<PresetNetRule> networkExceptions,
}
// Write lecture to sat. if optional fields are not set or null, their value stays unchanged
@@ -287,6 +310,8 @@ struct LectureWrite {
20: bool hasUsbAccess,
21: optional list<NetShare> networkShares,
22: optional list<LdapFilter> ldapFilters,
+ 23: optional list<i32> presetScriptIds,
+ 24: optional list<i32> presetNetworkExceptionIds,
}
struct LectureSummary {
@@ -339,6 +364,10 @@ struct LectureRead {
28: bool hasUsbAccess,
29: optional list<NetShare> networkShares,
30: optional list<LdapFilter> ldapFilters,
+ 31: optional list<i32> presetScriptIds,
+ 32: optional list<i32> presetNetworkShares,
+ 33: optional list<i32> presetLdapFilters,
+ 34: optional list<i32> presetNetworkExceptionIds,
}
struct MasterTag {
@@ -390,6 +419,8 @@ struct SatelliteConfig {
8: optional i32 maxLocationsPerLecture,
// Whether users connecting to the sat for the first time are allowed to login
9: optional bool allowLoginByDefault,
+ // ServerSide Copy on, off, auto or controlled by user
+ 10: optional SscMode serverSideCopy,
}
struct SatelliteStatus {