Hannes Mehnert
8ccda0e410
refactor bridge: use a string instead of a complicated thing
2018-11-12 22:07:45 +01:00
Hannes Mehnert
2e7f2730a2
move Vm to submodule
2018-11-11 03:24:50 +01:00
Hannes Mehnert
561ba5c5df
put Policy in a submodule
2018-11-11 03:09:37 +01:00
Hannes Mehnert
89a1d30154
cleanups in respect to directories and scope
2018-11-11 02:33:00 +01:00
Hannes Mehnert
43379d6d9d
rename Vmm_core.id to Vmm_core.Name.t and make it private - also check constructors to fit into 20 chars ldh (and in Vmm_tls max depth = 10)
2018-11-11 01:44:31 +01:00
Hannes Mehnert
6dcde8eb68
block device support
2018-11-11 00:01:56 +01:00
Hannes Mehnert
6945d21422
Vmm_core.drop_super / is_sub_id: fix function (used to assume reverse ordered labels)
2018-11-09 01:27:22 +01:00
Hannes Mehnert
75372a792f
fix resource policies. it was checking too many vms:
...
vm foo.bar is active with 32mb
add_policy bar --mem 16 <- failed :/
what is checked on add_policy <id> <new-policy>?
- all policies above <id> that <new policy> is a sub-policy
- all policies below <id> that each is a sub-policy of <new-policy>
- resource usage of vms below <id> is within <new-policy> limits (number of vms, memory, network access, cpuids)
2018-11-03 00:05:10 +01:00
Hannes Mehnert
79068c8abf
error logging on error in handle_command
2018-11-03 00:04:47 +01:00
Hannes Mehnert
0c58ebeedf
lower debug level for end of file
2018-11-01 01:54:10 +01:00
Hannes Mehnert
9f674f7e6f
forgot loop on this exit in add_policy
2018-11-01 01:23:45 +01:00
Hannes Mehnert
7c34c61d43
vmmd_tls needs looping behaviour after adding a policy to start vm
2018-10-31 23:03:30 +01:00
Hannes Mehnert
c669be8e02
address most of @cfcs comments
2018-10-29 17:14:51 +01:00
Hannes Mehnert
a124b3eb30
upgrade to recent decompress
2018-10-29 00:05:55 +01:00
Hannes Mehnert
2b85c65dd8
minor fixes from testing: do not require vm to be present for force-create, fix id generation in vmm_tls, use 32mb memory for unikernels by default
2018-10-28 23:06:15 +01:00
Hannes Mehnert
9191d2cf9a
drop version AV0, AV1; refactor vmm_asn
2018-10-28 22:52:20 +01:00
Hannes Mehnert
0f9375dc29
use oid 42 again
2018-10-28 22:39:31 +01:00
Hannes Mehnert
947b82f4f0
vmm_tls: ensure that add_policy commands carry a non-empty name
2018-10-28 22:30:08 +01:00
Hannes Mehnert
34291dbe65
vmmp_request
2018-10-28 22:14:39 +01:00
Hannes Mehnert
40519afbb7
issue policy_add commands by vmmd_tls for certificate chain
2018-10-28 20:50:10 +01:00
Hannes Mehnert
8ab37d6b3b
resources: remove_vm and remove_policy - no need to intertwine into a single remove
2018-10-28 19:50:48 +01:00
Hannes Mehnert
7b8f2cf802
add policy does nothing when received policy is equal to stored one
2018-10-28 19:41:06 +01:00
Hannes Mehnert
296b7a9b01
vmmd_tls: close sockets appropriately
2018-10-28 19:19:38 +01:00
Hannes Mehnert
5e921d7345
skip empty common names in vmm_tls
2018-10-28 19:04:24 +01:00
Hannes Mehnert
8f02d8263d
wip: vmmc_bistro
2018-10-28 02:03:27 +02:00
Hannes Mehnert
a60f866f70
fewer lists, read replies (to sockets) in vmmd
2018-10-26 21:30:54 +02:00
Hannes Mehnert
01f933702d
move stuff around
2018-10-26 21:30:54 +02:00
Hannes Mehnert
85a507db54
whitelist commands accepted via tls certificate
2018-10-26 21:29:59 +02:00
Hannes Mehnert
992e1b0a2b
- Vmm_ring is now polymorph (alows to store log_entry :D)
...
- Vmm_console/log/stats do not read multiple times
console_add loops
console_subscribe terminates (a stream of messages is sent)
log data stream loops
log_subscribe terminates (a stream of data is sent)
stat_add loops
stat_remove loops
stat_subscribe terminates (a stream of stats is sent)
terminates means: reads once more, and closes socket after second read returned
loop processes further incoming data
2018-10-26 21:29:59 +02:00
Hannes Mehnert
b55281d1e5
include version in log_entries on disk, read log file on startup (and write events to ring store)
2018-10-26 21:29:59 +02:00
Hannes Mehnert
cdae37b0bf
interface for vmm_ring
2018-10-26 21:29:59 +02:00
Hannes Mehnert
04367421bf
since argument for log_subscribe and console_subscribe
2018-10-26 21:29:59 +02:00
Hannes Mehnert
89fea934a7
copyright
2018-10-26 21:29:59 +02:00
Hannes Mehnert
a064c7f58e
move more stuff around
2018-10-26 21:29:59 +02:00
Hannes Mehnert
d513269453
move stuff into vmm_commands
2018-10-26 21:29:59 +02:00
Hannes Mehnert
6f18f1bfff
type data for streamed thingies
2018-10-26 21:29:59 +02:00
Hannes Mehnert
ce0c42fa77
more cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
46548418cd
minor cleanup: stats type
2018-10-26 21:29:59 +02:00
Hannes Mehnert
f3c67f626a
more cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
d896d89bba
.
2018-10-26 21:29:59 +02:00
Hannes Mehnert
f5ce2d8826
reuse commands from Vmm_asn.wire_commands for certificates
2018-10-26 21:29:59 +02:00
Hannes Mehnert
d6c87bacde
minor tweaks
2018-10-26 21:29:59 +02:00
Hannes Mehnert
a08f35ee5e
cleanups
2018-10-26 21:29:59 +02:00
Hannes Mehnert
811f3abc50
adjustments
2018-10-26 21:29:59 +02:00
Hannes Mehnert
c399501a18
get rid of vm_config.vname
2018-10-26 21:29:59 +02:00
Hannes Mehnert
0441b8ab25
tls endpoint
2018-10-26 21:29:59 +02:00
Hannes Mehnert
f939ff5a58
influx stats
2018-10-26 21:29:59 +02:00
Hannes Mehnert
1d4d7509dc
remove vmm_wire, use asn.1
2018-10-26 21:29:59 +02:00
Hannes Mehnert
51a0344477
fix warnings
2018-10-26 21:29:59 +02:00
Hannes Mehnert
2239aafdb7
revive vmm_client
2018-10-26 21:29:59 +02:00