76 Commits

Author SHA1 Message Date
Koushik Das
b088821c61 CLOUDSTACK-6445: Simulator enhancements
Refer FS - https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simulator+enhancements
2014-04-18 16:44:21 +05:30
Prasanna Santhanam
9cc74429bd CLOUDSTACK-4285: configure simulator API not discovered
- ManagementServerSimulatorImpl is not injected by default context.
configureSimulatorCmd API was loaded as part of it. Use
SimulatorManagerImpl as PluggableService to inject configureSimulator
API.
- Remove unused ManagementServerSimulatorImpl.
- Rename ConfigureSimulator to ConfigureSimulatorCmd for uniformity with
  all API Cmds

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0c294a50a8a926580ca724dee137488ea6242bf7)
2013-08-13 18:04:08 +05:30
Prasanna Santhanam
b2dccf618f Removing unused simulator component library
And the components-simulator.xml configuration. Both are unused as we
use Spring injection now.

Remove unused rebootVM method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:37:29 +05:30
Prasanna Santhanam
d6083ce51d Simulator: moving hypervisor simulator into plugin
Simulator just like any hypervisor should be a plugin.
resurrecting it to aid api refactoring tests. WIP

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-22 13:02:57 -08:00
Prasanna Santhanam
fb813c84e1 Rudimentary RvR functionality for the simulator
- Will decide based on even - MASTER or odd - BACKUP router id
- BumpUpPriority never fails and always returns true
- SwitchOver is untested and most likely won't work
2012-09-21 10:45:30 +05:30
Chip Childers
7bf7807f06 Added license header 2012-09-20 14:43:26 -04:00
Prasanna Santhanam
efc58cdea3 simulator managers commit to simulator db
All the simulator related managers will persist to a seperate database
from `cloud`.  Moving related transaction code. Transction responsibilty
will be at simulator agent's dao layer
2012-09-17 17:33:26 +05:30
Manikanta Kattamuri
cfc2b85651 Removing eclipse .classpath and .project files as they are configured to ant build and adding the entries into .gitignore to stop further comitting of the files
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-09-13 14:18:14 -04:00
Prasanna Santhanam
84caa636cf Get rid of the concierge holding standalone connection 2012-09-12 18:48:33 +05:30
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