summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-26 18:10:47 +0100
committerSimon Rettberg2019-02-26 18:10:47 +0100
commitb9d58c09588d58e4c4e6fb93fcc3db75e70805fa (patch)
treea6dfc67d589c80bc63bc1a0b468f34e27c0b57d9 /src/main/thrift/bwlp.thrift
parentAdd Server Side Copy setting to SatelliteConfig (diff)
downloadmaster-sync-shared-b9d58c09588d58e4c4e6fb93fcc3db75e70805fa.tar.gz
master-sync-shared-b9d58c09588d58e4c4e6fb93fcc3db75e70805fa.tar.xz
master-sync-shared-b9d58c09588d58e4c4e6fb93fcc3db75e70805fa.zip
Add predefined firewall rulesets
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 308b62b..94afcf1 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -274,10 +274,17 @@ struct PresetRunScript {
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
@@ -304,6 +311,7 @@ struct LectureWrite {
21: optional list<NetShare> networkShares,
22: optional list<LdapFilter> ldapFilters,
23: optional list<i32> presetScriptIds,
+ 24: optional list<i32> presetNetworkExceptionIds,
}
struct LectureSummary {
@@ -355,10 +363,11 @@ struct LectureRead {
27: bool limitToAllowedUsers,
28: bool hasUsbAccess,
29: optional list<NetShare> networkShares,
- 32: optional list<i32> presetNetworkShares,
30: optional list<LdapFilter> ldapFilters,
- 33: optional list<i32> presetLdapFilters,
31: optional list<i32> presetScriptIds,
+ 32: optional list<i32> presetNetworkShares,
+ 33: optional list<i32> presetLdapFilters,
+ 34: optional list<i32> presetNetworkExceptionIds,
}
struct MasterTag {