Commit Graph

13 Commits

Author SHA1 Message Date
Edison Su 5e447ad17c bug 11463: simulator uses a seperate db source, to get it faster
status 11463: resolved fixed
2011-11-03 17:28:48 -07:00
Edison Su 4fa95df837 bug 11463: Simulator: try to put security rule into db again, but only put seq/signature into db. Hope it will be faster. 2011-10-05 14:46:24 -07:00
Edison Su 0f76c1fa24 bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
status 11600: resolved fixed
2011-10-03 16:40:59 -07:00
Edison Su ce72dc6651 [Simulator] Add API to configure simualtor: you can configure which command can be simulated, or how long it will wait for each command, for which zone/pod/cluster/host etc.
e.g: command=configuresimulator&name=SecurityIngressRulesCmd&zoneid=1&value=enabled:true|timeout=30, means enable command SecurityIngressRulesCmd for zone 1, and wait for 30 seconds.
2011-09-30 18:16:25 -07:00
Prasanna Santhanam 7e29780e3c bug 11490: simulator marks VMs as Stopped and not Expunging when they are Destroyed
status 11490: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

The simulator should mark the VM as Expunging when the root volume is destroyed
or VM sync will think the VM is still only Stopped and not expunged
2011-09-19 17:34:43 +05:30
Prasanna Santhanam 9d4238213d bug 11489: simulator is not updating type field in mockvm table
status 11489: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

Added necessary VO methods to update the type field of the MockVM table.
2011-09-19 17:34:31 +05:30
Prasanna Santhanam fb0410e5d3 bug 11463: userVms and routers being stopped by the simulator
status 11463: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

When the management server restarts and does a full vmSync we need to send back
the state of the simulator VMs in the StartCommand for management server to
restore the states. Or HA will mark them as stopped.
2011-09-19 17:33:35 +05:30
Edison Su 122eb66592 Simulator: qa needs the logs correctly when programming security rules
Reviewed-by:Sangeetha.Hariharan@citrix.com
2011-09-15 16:10:17 -07:00
Edison Su 5379b4e704 bug 11448: simulator: move vm state into memory
status 11448: resolved fixed
2011-09-15 14:03:50 -07:00
Edison Su 81f9d8da92 fix simulator too slow when programming security rule: by don't write the rule into memory instead of database. Later on, I can choose a new db source for simulator, instead of share the same db with mgt server 2011-09-15 10:11:32 -07:00
Edison Su 35ee752e5f fix security group rule which not get updated into db, and simulator agents reports the wrong security group to mgt server 2011-09-12 19:09:15 -07:00
Chiradeep Vittal 6f366a0ed2 Enhanced logging for security group manager (from zucchini) 2011-09-07 14:31:56 -07:00
frank 860e259227 move simulator and test to opensource 2011-08-24 10:40:38 -07:00