albatross/src/vmm_commands.ml

11 lines
253 B
OCaml
Raw Normal View History

2018-10-13 23:02:52 +00:00
(* (c) 2018 Hannes Mehnert, all rights reserved *)
open Vmm_core
2018-10-13 23:02:52 +00:00
let handle = function
2018-10-22 21:20:00 +00:00
| `Vm_cmd _ -> `Vmmd, `End
| `Policy_cmd _ -> `Vmmd, `End
| `Stats_cmd _ -> `Stats, `Read
| `Console_cmd _ -> `Console, `Read
| `Log_cmd _ -> `Log, `Read