211e9b1961
When trying to recreate hundreds of instance action events for scale testing with the FakeDriver, a nice simple way to do that is by stopping those instances and starting them again. However, since power_off/on aren't implemented, once you "stop" them the sync_instance_power_state periodic task in the compute manager thinks they are still running on the "hypervisor" and will stop them again via the API, which records yet another instance action and set of events. This just toggles the power state bit on the fake instance in the FakeDriver to make the periodic task do the right thing. As a result, we also have more realistic API and notification samples. Change-Id: Ie621686053ad774c4ae4f22bb2a455f98900b611 |
||
---|---|---|
.. | ||
server-get-resp-rescue.json | ||
server-get-resp-unrescue.json | ||
server-rescue-req-with-image-ref.json | ||
server-rescue-req.json | ||
server-rescue.json | ||
server-unrescue-req.json |