53 Commits

Author SHA1 Message Date
David Nalley
581640147c cleaning up line endings agent-simulator 2012-04-06 18:20:04 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Edison Su
56dd6e81ac bug 14454: simulator: add limitation on how many vms can be created on a host. status 14454: resolved fixed; Reviewed-by: sangeetha 2012-03-23 19:20:47 -07:00
Prasanna Santhanam
d4a180f097 integrity checker loaded as parted of extended components.xml 2012-02-20 18:22:17 +05:30
Prasanna Santhanam
176fadc548 adding the integrity checker for simulator components
Reviewed-By: Kishan
(cherry picked from commit b6ecbd0ad6f705efdc1a514e9dd9a17e96df8415)
2012-02-20 18:21:38 +05:30
frank
52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
Edison Su
0fac4a2bb1 bug 10380: after finishing download template, caculate checksum and report to mgt server
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Edison Su
144265dbf4 bug 12791: Simulator: reload vm state when restart mgt server.
status 12791: resolved fixed
2012-01-05 18:19:53 -08:00
Prasanna Santhanam
58b53f0d3c SimulatorSecondaryDiscoverer implements the resource protocol to recieve
resource state transition events related to secondary storage VM from the
ResourceManager.
2011-12-19 15:03:19 +05:30
Prasanna Santhanam
f2241bfef6 change to direct agent 2011-12-19 15:03:19 +05:30
Prasanna Santhanam
18f865fc3e Reviving the simulator
* SSVM to act as a direct connect agent
* Storage Resources handle SSVM commands
* create-schema.sql already has simulator_network_label. removing the label from create-schema-simulator.sql
2011-12-19 15:03:19 +05:30
Prasanna Santhanam
d50cd53ae5 no more components-premium.xml. simulator should extend back from components.xml 2011-12-15 19:12:21 +05:30
Prasanna Santhanam
94863c866c don't listen to the monitors to pre-install the templates 2011-12-15 19:12:21 +05:30
Prasanna Santhanam
7e167b71dd preinstall simulator templates for builtin 2011-12-15 19:12:21 +05:30
Prasanna Santhanam
f9aaa42347 a) the new column for simulator_network_label b) re-enabling listener processing for SimulatorDiscoverer 2011-12-15 19:12:21 +05:30
Prasanna Santhanam
cb6a320ebd - Including the CheckNetworkCommand for the simulator 2011-12-15 19:12:21 +05:30
Prasanna Santhanam
de86e30c66 - Fixing the SecurityGroupRules rename for Simulator. SecurityGroupRules contain both Ingress and Egress rules now
- Changed the logging to reflect the rulesets for Egress
- Removed Unused and Organized Imports for agent-simulator
2011-12-02 12:35:40 +05:30
Alena Prokharchyk
f9b31e895a Fixed unittest 2011-11-11 14:32:25 -08:00
Alex Huang
f6fcaa49ec Merge complete except for virtualnetworkappliancemanager 2011-11-10 15:18:16 -08:00
Edison Su
6841e265d3 bug 10330: finally merge Rommer's CLVM patch
status 10330: resolved fixed
2011-11-02 18:03:58 -07:00
alena
fe0b685e95 Security group is a service now 2011-10-27 16:49:20 -07:00
frank
cef30956e9 Merge branch 'newagentmgr'
Conflicts:
	agent-simulator/src/com/cloud/api/commands/ConfigureSimulator.java
	ovm/src/com/cloud/ovm/hypervisor/OvmDiscoverer.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/capacity/CapacityManagerImpl.java
	server/src/com/cloud/network/F5BigIpManagerImpl.java
	server/src/com/cloud/network/JuniperSrxManagerImpl.java
	server/src/com/cloud/resource/ResourceManagerImpl.java
	server/src/com/cloud/server/ManagementServerImpl.java
	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	utils/src/com/cloud/utils/db/GenericDao.java
2011-10-27 11:09:56 -07:00
Edison Su
92eaf49f29 Add storage migration 2011-10-24 15:59:47 -07:00
frank
58fefd2891 Bug 11522 - New agent manager
initialize simulator test case
2011-10-18 17:58:15 -07:00
frank
88b863d6e3 Bug 11522 - New agent manager
Initialize unit test case for resource manager
2011-10-07 15:51:24 -07:00
Edison Su
95647470c7 add type 2011-10-03 16:50:43 -07:00
Edison Su
ae83246acb bug 11600: aquirelock before deleting a volume, which can be aquired by snapshot manager
status 11600: resolved fixed
2011-10-03 16:43:47 -07:00
Edison Su
eacb9dde26 [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:21:28 -07:00
frank
0343cb79c3 Bug 11522 - New agent manager
replace simulateStart with createHostAndAgent
2011-09-22 14:42:05 -07:00
frank
63117b36df change client/.project to client not vmopsClient 2011-09-22 13:37:12 -07:00
Prasanna Santhanam
9c5587601f bulk destroy tests for zucchini
(cherry picked from commit 4d8be2c5d234b9e0f3bda4d39cd04f7404e19709)
2011-09-20 12:53:07 +05:30
Prasanna Santhanam
4301b64b1a listVM improvement and time measurement
(cherry picked from commit 79ecd70d90bf3f4cee7d1a7cc4090903af5300fd)
2011-09-20 12:53:07 +05:30
Prasanna Santhanam
2508733bd4 additional tests for resource limit issues
(cherry picked from commit b9f688b873d77e71c0578c7c00611cc39e021e41)
2011-09-20 12:53:07 +05:30
Prasanna Santhanam
5b92e4c9eb reducing the size of the setup
(cherry picked from commit d99704027d5d5b1afaafccfe4918be9b2f69e836)
2011-09-20 12:53:06 +05:30
Prasanna Santhanam
eaf94145b4 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
(cherry picked from commit 6dd57f3023d3ca3bb323d20298d6a70c0bfb079c)
2011-09-19 17:36:56 +05:30
Prasanna Santhanam
005b37f6d8 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.
(cherry picked from commit ddd090e0352579ca1b63a8676ac8a7564944f343)
2011-09-19 17:36:28 +05:30
Prasanna Santhanam
58ea286166 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.
(cherry picked from commit 65526eee33fbd98a9943b9dfce7a1a0c7577caeb)
2011-09-19 17:36:20 +05:30
Edison Su
bc724d702e Simulator: qa needs the logs correctly when programming security rules
Reviewed-by:Sangeetha.Hariharan@citrix.com
2011-09-15 16:11:08 -07:00
Edison Su
72d987aa23 bug 11448: simulator: move vm state into memory
status 11448: resolved fixed
2011-09-15 14:04:26 -07:00
Edison Su
cefae498dc 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:12:29 -07:00
Edison Su
d461cfbf1b 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:41 -07:00
Chiradeep Vittal
3cb4ad4934 Add more detail when unable to schedule cleanup
clean up tests for security group manager v2

move interval to listener -- allows it to be configurable if needed

fix mocks

Enhanced logging for security group manager (from zucchini)

fix merge issues

merge issues
2011-09-12 18:22:55 -07:00
Prasanna Santhanam
ff1f4dcabf * Ordering the test cases as they are interdependent right now.
(cherry picked from commit 8dde6b3d0174fa001cf6819284650afb0a972f28)
2011-09-12 17:11:28 +05:30
Prasanna Santhanam
2f12de8e35 * Ordering the test cases as they are interdependent right now.
* Enabling security groups for zucchini zones
* Timing listVM with timeit
2011-09-12 17:11:05 +05:30
Prasanna Santhanam
3603e2bbe2 setup and tests for kumquat
(cherry picked from commit ef4225ed66f31c51a49a1280a7879718f6a34852)
2011-09-07 18:33:24 +05:30
Prasanna Santhanam
e6e21b2f2d some stress tests for guava 1. testDeploy in multiple accounts 2. testDestroy in multiple accounts 3. combine stress in 1. and 2.
(cherry picked from commit 6784d04e05e1ccde1eb3534c8fb245fb138703c2)
2011-09-06 18:38:15 +05:30
Prasanna Santhanam
f8556ccb3b Adding primary storage in the cluster and ipranges to the zone
(cherry picked from commit ef9b6ff6f999ea0323983647a98a9da9b7545488)
2011-09-06 18:38:03 +05:30
Prasanna Santhanam
1c899ba9b1 advanced network, single pod, guava environment
(cherry picked from commit 49db10343833593519b8bb39f31280276910d84d)
2011-09-06 11:34:20 +05:30
Prasanna Santhanam
7134be84e1 renaming to fruit 2011-09-06 09:46:53 +05:30
anthony
f47bf2e4cf fixed eclipse classpath 2011-08-31 13:35:37 -07:00