Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update policies #57

Merged
merged 71 commits into from
Oct 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
3ba7553
add alpine.js
PizieDust Sep 30, 2024
4ee6373
edit and update policies
PizieDust Sep 30, 2024
b1bb8a3
lint
PizieDust Sep 30, 2024
7e6ea11
add functions work with policies
PizieDust Sep 30, 2024
eb3fa13
update styles
PizieDust Sep 30, 2024
1cfe5ca
Merge branch 'main' of github.com:robur-coop/mollymawk into policy_
PizieDust Sep 30, 2024
f3dd177
use root policy
PizieDust Sep 30, 2024
96ed1cc
get available resources
PizieDust Oct 1, 2024
cb442ff
display available
PizieDust Oct 1, 2024
c6720ef
user existing policy and remain resources
PizieDust Oct 1, 2024
46a5c2e
pass values to the multiselect
PizieDust Oct 1, 2024
8ce420d
update styles
PizieDust Oct 1, 2024
a639bc9
fix minor bugs
PizieDust Oct 1, 2024
8da5473
empty arrays instead of array of empty string
PizieDust Oct 1, 2024
b9fa898
Update albatross.ml
PizieDust Oct 1, 2024
cb4fc27
query albatross properly
PizieDust Oct 1, 2024
3b0bab1
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 1, 2024
20a9c1b
Update albatross.ml
PizieDust Oct 1, 2024
46a29fc
Update albatross.ml
PizieDust Oct 1, 2024
a0434c0
Update albatross.ml
PizieDust Oct 1, 2024
3addb82
Update albatross.ml
PizieDust Oct 1, 2024
5310a1c
Update albatross.ml
PizieDust Oct 1, 2024
3c54ec4
Update albatross.ml
PizieDust Oct 1, 2024
da92b25
add comments
PizieDust Oct 1, 2024
c7cf1fe
formatted code
Oct 1, 2024
1c8b252
review changes
PizieDust Oct 1, 2024
b90ef16
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 1, 2024
93d7948
move json to albatross_json
PizieDust Oct 1, 2024
f11e196
Merge branch 'main' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 1, 2024
1905f75
review changes
PizieDust Oct 1, 2024
f242766
return policies
PizieDust Oct 1, 2024
3b129c5
check policy is usable
PizieDust Oct 1, 2024
fcca123
set policy
PizieDust Oct 1, 2024
c2e0e4a
add error logs
PizieDust Oct 1, 2024
0819340
Update albatross_json.ml
PizieDust Oct 1, 2024
1fcf02b
check if sub policy is possible
PizieDust Oct 1, 2024
02d21d5
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 1, 2024
44dfc61
properly manage root policy errors
PizieDust Oct 1, 2024
195f119
log invalid cpuids
PizieDust Oct 1, 2024
9e0a3fa
uuid bug fix
PizieDust Oct 2, 2024
c8d95c3
Update albatross_json.ml
PizieDust Oct 2, 2024
11818f2
Update albatross_json.ml
PizieDust Oct 2, 2024
197b077
Update albatross_json.ml
PizieDust Oct 2, 2024
360a9ff
review suggestions by @hannesm
PizieDust Oct 2, 2024
e522cfd
Update unikernel.ml
PizieDust Oct 2, 2024
0c49d80
Update unikernel.ml
PizieDust Oct 2, 2024
b715074
Update unikernel.ml
PizieDust Oct 2, 2024
b51fcc9
Update unikernel.ml
PizieDust Oct 2, 2024
d11ef08
Update update_policy.ml
PizieDust Oct 2, 2024
1f89d7d
refactor
PizieDust Oct 2, 2024
11d2200
Update user_single.ml
PizieDust Oct 2, 2024
e363eea
Update assets/main.js
PizieDust Oct 2, 2024
743a0c6
Update update_policy.ml
PizieDust Oct 2, 2024
580de08
Update albatross_json.ml
PizieDust Oct 2, 2024
2ef3bb9
Update assets/main.js
PizieDust Oct 2, 2024
724905b
Update albatross_json.ml
PizieDust Oct 2, 2024
5d954e1
Update albatross_json.ml
PizieDust Oct 2, 2024
ce8aa3c
Update unikernel.ml
PizieDust Oct 2, 2024
dc96fb9
formatted code
Oct 2, 2024
a4129a9
renmae and lint
PizieDust Oct 2, 2024
7fb1cda
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 2, 2024
1825516
fix last occurence of 'allowed_vms'
hannesm Oct 2, 2024
2c2f545
computer total available resources correctly
PizieDust Oct 2, 2024
4bfbb90
some styling
PizieDust Oct 2, 2024
aaeeeb5
Merge branch 'policy_' of github.com:robur-coop/mollymawk into policy_
PizieDust Oct 2, 2024
d85a02c
better layout
PizieDust Oct 2, 2024
6f6378d
Update update_policy.ml
PizieDust Oct 2, 2024
434d32a
Update update_policy.ml
PizieDust Oct 2, 2024
f241818
formatted code
Oct 2, 2024
739db37
changes suggested by @hannesm
PizieDust Oct 2, 2024
be9d97d
minor change
PizieDust Oct 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update unikernel.ml
Co-authored-by: Hannes Mehnert <hannes@mehnert.org>
PizieDust and hannesm authored Oct 2, 2024
commit b715074520094b223af056e1bbbcf60216ca3667
2 changes: 1 addition & 1 deletion unikernel.ml
Original file line number Diff line number Diff line change
@@ -871,7 +871,7 @@ struct
~sub:policy
with
| Error (`Msg err) ->
Logs.err (fun m -> m "policy: %s" err);
Logs.err (fun m -> m "policy %a is not smaller than root policy %a: %s" Vmm_core.Policy.pp policy Vmm_core.Policy.pp root_policy err);
http_response reqd ~title:"Error" ~data:err
`Internal_server_error
| Ok () -> (