cloudstack/plugins/hypervisors/simulator
Koushik Das 4f5df54d5c Some fixes in the simulator
1. Fixed JSON response deserialization. While creating a mock a JSON can be passed which will be deserialized into a response object and returned from agent layer.
For e.g. for a mock corresponding to StopCommand, a response like "{"com.cloud.agent.api.StopAnswer":{"result":false,"wait":0}}" can be passed.
2. Ability to mock PingCommand (returned as part of getCurrentStatus() agent method). As a part of this a mocked VM state report can be returned.
For e.g. {"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_hostVmStateReport":{"v-2-VM":{"state":"PowerOn","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"},"i-2-5-VM":{"state":"PowerOff","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"}},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":3,"contextMap":{},"wait":0}}
2014-07-01 15:26:12 +05:30
..
resources/META-INF/cloudstack CLOUDSTACK-6445: Simulator enhancements 2014-04-18 16:44:21 +05:30
src Some fixes in the simulator 2014-07-01 15:26:12 +05:30
findbugsExcludeFilter.xml findbugs: exclude known spiffy hacks a.k.a. false positives 2014-03-28 14:28:10 +01:00
pom.xml Update master to 4.5.0-SNAPSHOT 2014-03-14 14:55:26 +01:00