Commit graph

143 commits

Author SHA1 Message Date
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 611d234e1a remove dead code 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 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 efc043cd5c fix 'vmmc info' 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 ea83013068 delegation -> policy 2018-10-26 21:29:59 +02:00
Hannes Mehnert f8d8cffa46 no libs 2018-10-26 21:29:59 +02:00
Hannes Mehnert 3abd769425 minor pkg fixes 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
Hannes Mehnert 7275073d6b 4.04 is broken, and unsupported 2018-10-26 21:29:59 +02:00
Stefan Grundmann 6e925700f5 FreeBSD package creation 2018-10-07 03:17:01 +00:00
Stefan Grundmann b66be32e8b FreeBSD rc(8) service scripts 2018-10-07 03:17:01 +00:00
Stefan Grundmann 4c5a795a3b console fifos in separate directory 2018-10-07 01:24:33 +00:00
Stefan Grundmann 133884faf4 log, stats and console socket go in their own directory 2018-10-07 00:32:25 +00:00
Hannes Mehnert 49ab6a94ce adjust decompress bound 2018-09-30 13:15:28 +02: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 38b98ab318 minor 2018-09-20 23:19:55 +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
Hannes Mehnert bd10209297 wip, vmmc and vmmd talk with each other! 2018-09-09 20:52:04 +02:00
Hannes Mehnert 9ec69e23cc rename Vmm_commands to Vmm_unix 2018-07-07 23:14:49 +02:00
Hannes Mehnert 9e4cb94884 vmm_influxdb: improve connection handling (next attempt to not leak fds and reconnect on demand) 2018-07-07 12:38:29 +02:00
Hannes Mehnert 43ee0cf4e0 vmm_influx_stats: more debug 2018-05-07 12:43:47 +02:00
Hannes Mehnert 3017adb6c4 vmm_influxd_stats: more safety 2018-05-05 12:49:42 +02:00
Hannes Mehnert 791752f2b9 enough debugging now, remove it 2018-05-02 21:08:40 +02:00
Hannes Mehnert 53b49c5856 vm_console: once 'attach' is called, relay that to the fd which called attach (preparing to be able to communicate with several clients) 2018-05-02 19:53:22 +02:00
Hannes Mehnert e25d15ee1a vmm_influxdb_stats: proper error handling 2018-05-02 15:36:53 +02:00