67 Commits

Author SHA1 Message Date
Mice Xia
00b2a8040b Remove @author tag from non third-party source files in agent-simulator, cloud-cli, test, ui and utils folder 2012-08-13 15:30:42 +08:00
Chip Childers
81ff7a09fd CS-15875 resolved via patch from Andy Gross. 2012-08-07 14:10:11 -04:00
Prasanna Santhanam
6fd6d797b2 Implementing Migration and Maintenance for simulator hosts [Part 2] 2012-08-03 15:56:12 +05:30
Prasanna Santhanam
87bcd8e116 Implementing Migration and Maintenance mode for the simulator 2012-08-03 15:55:01 +05:30
Prasanna Santhanam
1a18d5ca7f Removing the obsolete scripts directory from agent-simulator
These are legacy bash scripts which were used to setup configurations of
mgmt server when testing its scalability.
2012-08-02 19:44:17 +05:30
Chip Childers
a1b2f7aec1 Corrected SQL license header comment format 2012-08-01 10:30:45 -04:00
Chip Childers
a777f515ef Agent-simulator license header corrections 2012-07-31 20:21:13 -04:00
Chip Childers
d204fa9940 Agent-simulator license header corrections 2012-07-31 20:18:02 -04:00
Chip Childers
2d1d43dd2b License file header updates for agent 'dot' files. 2012-07-31 17:30:26 -04:00
kishan
9611a017e9 bug CS-15389: Added prepareStop to Virtualmachine manager and moved network usage collection into prepareStop of VR manager 2012-07-27 23:37:46 -04:00
David Nalley
3631e7a1d2 cleaning up some last license header files in agent-simulator 2012-07-20 13:49:56 -04:00
David Nalley
c15948a3ef committing Chip Childers patches fixing licensing headers
Applying to the following directories:
* api
* deamonize
* agnet
* agent-simulator
* cloud-cli
2012-06-12 12:32:58 -04:00
Prasanna Santhanam
59f7cd4126 Implementing the SetFirewallRulesCommand for the simulator
* Essential since we need firewall rules open before applying network
 rules. Without the fix one recieves an UnsupportedCommandAnswer and
fails the application of the network rule

* Also RebootCommand responds with a RebootAnswer - minor fix

Signed-off-by: Prasanna Santhanam <Prasanna.Santhanam@citrix.com>
2012-06-11 17:52:40 +05:30
Prasanna Santhanam
827ce90c7a Don't do strict checking for adding simulator host 2012-05-11 18:52:47 +05:30
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