Hannes Mehnert
7b3d94db8c
more debug output from vmmd_tls
2018-11-03 00:04:14 +01:00
Hannes Mehnert
6a92e572e3
vmmd_stats: cleanups
2018-11-01 22:40:32 +01:00
Hannes Mehnert
d795ddd944
unify log output in vmmc_local/remote/bistro
2018-11-01 01:51:39 +01:00
Hannes Mehnert
bed90d7a0b
make destination optional in vmmc_bistro, make vm_name required in add_policy
2018-10-31 23:41:22 +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
824f5f3418
revise vmmd_tls file descriptor handling
2018-10-29 19:00:13 +01:00
Hannes Mehnert
c669be8e02
address most of @cfcs comments
2018-10-29 17:14:51 +01:00
Hannes Mehnert
90157bd60d
provide docv for required arguments
2018-10-29 00:32:07 +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
d08de432b6
use proper extension
2018-10-28 22:28:22 +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
6677e3f1cb
close on exit for vmmd.sock
2018-10-28 20:49:42 +01:00
Hannes Mehnert
296b7a9b01
vmmd_tls: close sockets appropriately
2018-10-28 19:19:38 +01:00
Hannes Mehnert
ea6b291ad0
vmmp_ca work
2018-10-28 18:30:02 +01:00
Hannes Mehnert
8f02d8263d
wip: vmmc_bistro
2018-10-28 02:03:27 +02:00
Hannes Mehnert
1d999e47bf
.
2018-10-26 23:23:17 +02:00
Hannes Mehnert
7bbfb2e9fa
use vmm_cli
2018-10-26 22:34:43 +02:00
Hannes Mehnert
a60f866f70
fewer lists, read replies (to sockets) in vmmd
2018-10-26 21:30:54 +02:00
Hannes Mehnert
aa051d62cd
vmmd_log: send ack on data receive
2018-10-26 21:30:54 +02:00
Hannes Mehnert
01f933702d
move stuff around
2018-10-26 21:30:54 +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
04367421bf
since argument for log_subscribe and console_subscribe
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
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
183d1c9e58
toplevel for tls endpoint, client fixes
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
467debe303
rip prometheus reporter
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
Hannes Mehnert
bcb280aa00
refactor commands into vmm_commands
2018-10-26 21:29:59 +02:00
Hannes Mehnert
182e2ae10c
policies:
...
vmmc now has more subcommands
- policy [-n name] returns all policies in name and below
- add_policy [-n name] [--cpu cpuid] [--mem mem] [--bridge bridge] [--block size] adds a policy
- remove [-n name] removes policy at name
policy is just the same which is in vmm_req_delegation, and vmm_resources now check them:
- you cannot insert a subpolicy violating the prefix
- you cannot insert a policy which would forbid current resource usage
- you cannot insert a policy with which any subpolicy would be invalid
- you can adjust (increase/decrease) a policy if the above invariants are kept
implement "force create" directly in vmmd: much nicer to
- check resource constraints,
- kill vm potentially,
- and create a new vm,
all as single transaction.
2018-10-26 21:29:59 +02:00
Hannes Mehnert
e413b8c99a
remove naming struggle in vm_config and Log.hdr
2018-10-26 21:29:59 +02:00
Stefan Grundmann
4c5a795a3b
console fifos in separate directory
2018-10-07 01:24:33 +00:00
Hannes Mehnert
b90bae0340
vmm_influxdb: if there are no vmm stats, don\t report them
2018-09-30 12:13:24 +02:00
Hannes Mehnert
38094a53e3
use vmm_trie in log and stat, cleanups
2018-09-28 22:44:38 +02:00
Hannes Mehnert
91bda433e8
vmmc: some newlines
2018-09-22 11:54:10 +02:00
Hannes Mehnert
0e975a2b32
vmmc: info of everything
2018-09-22 00:39:07 +02:00
Hannes Mehnert
95cdd18f44
.
2018-09-22 00:26:52 +02:00
Hannes Mehnert
02f8d94db8
s/ukvm/hvt/
2018-09-21 22:31:04 +02:00
Hannes Mehnert
99ba1c5e4b
stats are back now! no longer two pullers, but now with one pusher :)
2018-09-20 22:53:42 +02:00
Hannes Mehnert
e7b4742964
less is more, also unify default socket paths
...
and vmmc console command
2018-09-19 21:53:18 +02:00