Skip to content

Commit

Permalink
[admission rules] add noop, wrapper and wrapped jot types in checking…
Browse files Browse the repository at this point in the history
… rules
  • Loading branch information
augu5te committed Jun 28, 2024
1 parent 0988318 commit 467ae27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion etc/oar/admission_rules.d/15_check_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
r8 = "^allowed=\\w+$"
r9 = "^inner=\\w+$"
r10 = "^timesharing=(?:(?:\\*|user),(?:\\*|name)|(?:\\*|name),(?:\\*|user))$"
r11 = "^noop(?:=standby)?$"
r12 = "^wrapper$"
r13 = "^wrapped=\\w+$"
all_re = re.compile(
"(%s|%s|%s|%s|%s|%s|%s|%s|%s|%s)" % (r1, r2, r3, r4, r5, r6, r7, r8, r9, r10)
"(%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s|%s)" % (r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13)
)

for t in types:
Expand Down

0 comments on commit 467ae27

Please sign in to comment.