Hi all, I've been playing around with the new event bus, trying to see if it could be useful, and I'm a bit confused about the output. If I subscribe to all topics, and try to reboot a virtual machine, this is all I see:
'management-server.ActionEvent.VM-REBOOT.VirtualMachine.*':'{"status":"Scheduled","event":"VM.REBOOT","account":"f66d4d60-bbdf-11e2-8bb5-52540014c04d","user":"f66f14d8-bbdf-11e2-8bb5-52540014c04d"}' I see the account info, but nothing about which VM is being rebooted. If I try to stop/start a VM, I likewise see no details in the ActionEvent, about the subject being acted upon: 'management-server.ActionEvent.VM-STOP.VirtualMachine.*':'{"status":"Scheduled","event":"VM.STOP","account":"f66d4d60-bbdf-11e2-8bb5-52540014c04d","user":"f66f14d8-bbdf-11e2-8bb5-52540014c04d"}' I do however see some details regarding a 'Network' resource, though if I were to write something to parse this output I wouldn't immediately know that it was related to a VM (note the 'id' here actually matches the VM I'm stopping, but there's nothing in the event to tell me it's a VM): 'management-server.ResourceStateEvent.StopRequested.Network.d287a0fa-6b3b-4e8b-8fb2-2677778ec32c':'{"id":"d287a0fa-6b3b-4e8b-8fb2-2677778ec32c","old-state":"Running","new-state":"Stopping","resource":"Network"}' I'm just subscribing to "#", so I assume I'm getting everything, but I'm just having trouble making sense of the output.