Commit graph

163 commits

Author SHA1 Message Date
Hannes Mehnert eee1a4cb91 use less bandwidth, and more compression 2018-11-14 20:09:43 +01:00
Hannes Mehnert f9cb93b1bc vmmd_log: output number of entries read from disk 2018-11-13 01:05:09 +01:00
Hannes Mehnert c8f1030403 rename Vm to Unikernel 2018-11-13 01:02:05 +01:00
Hannes Mehnert 85372b0c7e rework resources: now block, vms, and policies are in separate tries 2018-11-13 00:06:43 +01:00
Hannes Mehnert b5c9cdea6a cleanups 2018-11-12 22:19:39 +01:00
Hannes Mehnert dec32e6247 bump wire version 2018-11-12 22:11:06 +01:00
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 007210168d
Merge pull request #18 from sg2342/freebsd-system-services
Freebsd system services
2018-11-08 10:08:26 +01:00
Stefan Grundmann 79f06d57e8 FreeBSD rc scripts: fix precmd in _tls and _influx 2018-11-08 08:55:56 +00:00
Stefan Grundmann cd911ae68d FreeBSD rc scripts: echo start/stop actions
behave like all the other rc scripts
2018-11-08 08:55:56 +00:00
Hannes Mehnert 0bc0f7be7f
Merge pull request #17 from sg2342/freebsd-system-services
Freebsd system services
2018-11-08 09:52:31 +01:00
Stefan Grundmann 438b9325db FreeBSD rc scripts: remove nojail keyword
since it can be deployed in jails
2018-11-08 08:42:48 +00:00
Stefan Grundmann 2e433be569 FreeBSD rc scripts: fix albatross_x stop, status 2018-11-08 07:59:10 +00:00
Stefan Grundmann fb149952de FreeBSD rc scripts: do not quote albatross_*_flags in daemon(8) call
the various /usr/local/libexec/albatross/vmmd* programs are not
happy when called with argv[1] set to an empty string ...
which is what happens if albatross_*_flags is the default value
2018-11-08 07:51:37 +00: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 7b3d94db8c more debug output from vmmd_tls 2018-11-03 00:04:14 +01:00
Hannes Mehnert e5f8248668 force_depend tls and influx 2018-11-01 22:54:11 +01:00
Hannes Mehnert 6a92e572e3 vmmd_stats: cleanups 2018-11-01 22:40:32 +01:00
Hannes Mehnert 0c58ebeedf lower debug level for end of file 2018-11-01 01:54:10 +01:00
Hannes Mehnert d795ddd944 unify log output in vmmc_local/remote/bistro 2018-11-01 01:51:39 +01:00
Hannes Mehnert 9f674f7e6f forgot loop on this exit in add_policy 2018-11-01 01:23:45 +01:00
Hannes Mehnert 5392b6e3b3 source_date_epoch 2018-10-31 23:44:06 +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 65d31ba565 sort 2018-10-31 23:20:44 +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 b94fdf2918 . 2018-10-29 23:19:59 +01:00
Hannes Mehnert 9351d9f14d add tls and influx startup scripts 2018-10-29 22:24:01 +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 2c0ded4272 topkg lint fixes 2018-10-29 00:36:11 +01:00
Hannes Mehnert de2ddbc220 fix typo, mark outdated docs 2018-10-29 00:34:21 +01:00
Hannes Mehnert 90157bd60d provide docv for required arguments 2018-10-29 00:32:07 +01:00
Hannes Mehnert a124b3eb30 upgrade to recent decompress 2018-10-29 00:05:55 +01:00
Hannes Mehnert 0ce16cbf6b
Merge pull request #15 from hannesm/new-order
New order
2018-10-28 23:44:21 +01:00
Hannes Mehnert bd669dbe44 packaging 2018-10-28 23:18: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 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 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