2090 Commits

Author SHA1 Message Date
anthony
7f3f3226e0 merge from 2.1.x 2010-11-10 15:21:38 -08:00
anthony
e533ed41d7 merge from 2.1.x 782b81218ba4b6fe13678c5f36c6323465a4255f
don't unplug PIF
2010-11-10 15:17:43 -08:00
anthony
8df96da0a5 don't delete template if template check fail, give user a chance to check the template manually
use can delete the template though UI
2010-11-08 21:03:59 -08:00
anthony
9ee6d69c9f the default delta snapshot number between two full snapshots is 16, it is configurable 2010-11-08 18:08:07 -08:00
alena
6946f5ace1 bug 7123: populate private/linkLocal ip addresses when addPod - added stmt.executeBatch() call to addIpRange methods.
status 7123: resolved fixed
2010-11-08 17:14:03 -08:00
will
5cc496a78d Not sure why listing of templates was using Integer instead of Long for pagesize but now correcting to keep things consistent. 2010-11-08 14:57:59 -08:00
Alex Huang
edf9ddd464 added reservation id to vnet 2010-11-08 12:29:38 -08:00
Alex Huang
8d5f0f9f6c fixed some bugs 2010-11-08 12:29:37 -08:00
Alex Huang
aca8ef79cd a bunch of other changes for network refactoring 2010-11-08 12:29:37 -08:00
abhishek
cc93e7508c refactoring old code and fixing some regression bugs (UI had an issue listing domains). Also fixed the listing of domain specific zones at vm creation for a domain admin (listing everything upto root in that domain + listing all the children based on a path search) 2010-11-08 12:17:42 -08:00
abhishek
67beda5244 adding the logic to list and search zones and domains based on the user (normal,admin,domain admin) 2010-11-08 12:17:42 -08:00
alena
1c24deda34 1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)

We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.

2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
anthony
224da7e775 several snapshot fixes 2010-11-05 20:55:19 -07:00
alena
b1defdb71d bug 6895: fixed search by id in listDomains command
status 6895: resolved fixed
2010-11-05 17:45:15 -07:00
will
05ab3bf673 bug 7063: AsyncJobResult should now return the correct success and error tags upon the completion of a async job. It should now follow either the format ... jobresult.success or jobresult.errorcode and jobresult.errortext
- Fixed a lot of other Async related packaging issues.  It's not all done but will continue to refactor this later.
2010-11-05 17:30:03 -07:00
Alex Huang
5f90a8adb0 Checking in to do git pull...stupid git 2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b stop vm is now formalized 2010-11-05 16:10:22 -07:00
will
b9fc4137f7 Bug 6988: Fixed issue with queryAsyncJobResult returning jobResults in all String format. This is to mirror the same way that the async commands are being serialized.
- Changed client.war to now include all the thirdparty files
- Fixed addVpnUser command to return a vpnuser instead of the response
- Added vmware jar files to the development build.
2010-11-04 20:56:28 -07:00
Kelven Yang
7094e066c8 CopyVolume hacking for vmware 2010-11-04 17:41:23 -07:00
Chiradeep Vittal
8e2e04a86e bug 6981: merge in stuff for bug 6807 from 2.1.x 2010-11-04 11:54:14 -07:00
alena
371e9e3a4c bug 6963: fixed parsing for asyncJob result object
status 6963: resolved fixed
2010-11-04 10:59:07 -07:00
nit
7dc7a4838a bug 4286: Fixing the extract functionality for Upload after new API framework. Also added a check to avoid system created templates and ISO's from getting extracted as per Mike.
status 4286: resolved fixed
2010-11-04 19:09:38 +05:30
Alex Huang
9bb05d3ef8 harmony amongst joins 2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2 Harmony amongst gurus 2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe Harmony among gurus 2010-11-03 21:18:31 -07:00
abhishek
8e54a40b46 fix for the ui to consume for the disk offering 2010-11-03 20:05:37 -07:00
anthony
ff5ea1eabd merge from 2.1.x 74b798240c77d5037a6ab4fb68cf474bec288bae
1. remove plugin check Sr, heartbeat does that
    2. if pbd.plug fails, moves on, and report warnning
2010-11-03 19:36:25 -07:00
anthony
edb28d40ac merge from 2.1.x a01006f930007d350540a0f55101937f4c033f1f
bug 6797: if you stop VM in the process of installation, next start will start from root disk
2010-11-03 19:30:44 -07:00
anthony
e7a7beac5b merge from 2.1.x 80a32ad031eea2765ae727897bb865c0d0e9cdc8
not create bond any more
2010-11-03 19:22:01 -07:00
Kelven Yang
d748010da3 Create Template from volume and snapshot for vmware 2010-11-03 19:18:54 -07:00
anthony
003b0e4a23 merge from 2.1.x 86d02eaa155cfdbb0a8cf31c8eae47711fbf5c2b
delete all snapshut which has been backed up to secondary storage
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage
2010-11-03 19:05:23 -07:00
abhishek
2303afe55c making changes for disk offerings with a new column called customized being added, for the UI to cosume whilst deploying vm with an arbitrary volume size. The UI will use this value to set the right size and the offering will ensure the right tags are taken. 2010-11-03 17:45:52 -07:00
abhishek
46497e3aad making changes for the private/public zones enhancement, for the UI to consume. The list method has been changed to return visible zones based on the user's credentials, or if the domainId for private zone listing is specified. In the update zone cmd, we do not allow updating private zone once it has been associated with a domain. This might change in the coming releases. 2010-11-03 15:39:16 -07:00
Chiradeep Vittal
e1cb94831f VPN users feature complete 2010-11-03 14:02:13 -07:00
Chiradeep Vittal
58b8d10c6b add vpnusersdao into components.xml, schema migration, add another constraint 2010-11-03 14:02:13 -07:00
Chiradeep Vittal
0dd19c197b VPN users API -- WIP 2010-11-03 14:02:13 -07:00
Chiradeep Vittal
14613415e1 VPN users API -- WIP 2010-11-03 14:02:13 -07:00
Chiradeep Vittal
b6d3b3c184 users for vpn -- data model 2010-11-03 14:02:12 -07:00
Chiradeep Vittal
8158f37980 users for vpn -- data model 2010-11-03 14:02:12 -07:00
Kelven Yang
3c6b3b3e3d Add more volume info to BackupSnapshotCommand, to generalize multi-hypervisor usage 2010-11-02 17:04:07 -07:00
alena
571ca42c44 1) Return embedded object for addCfg/updateCfg/listCfg.
2) Fixed NPE in updateCfg command (used to happen when no value was specified)
3) Fixed addCfg command to call correct getName method while setting config name (used to call the method returning the command name)
2010-11-02 15:26:33 -07:00
Alex Huang
5fe5450abc even more refactoring 2010-11-02 15:25:07 -07:00
abhishek
d4b33f523d bug 5190: changes from the ui perspective; we upload the entire cert as a string, instead of reading it from a file. Then, we process the cert via ip streams instead of fileinputstreams. Moved the cert validation to before cert persistance, and also added more logging and exception catch blocks to deal with IO exceptions that might arise out of the ip stream processing for the new change. 2010-11-02 14:48:05 -07:00
Alex Huang
560d7a275e Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable. 2010-11-02 12:25:08 -07:00
abhishek
3bab616478 After discussing with Alex, it was agreed that there is no need to mgmt server level locking using the mgmt_server_id. This makes the code easier, as we have one parent acquire and release mechanism, and the complexity is reduced. In accordance, we do not need to maintain cleanup tasks for mgmt server crashes, as the async mechanism deals with this. Also, the schema becomes a tad simpler as the mgmt_server_id column is not needed anymore 2010-11-01 17:04:28 -07:00
Chiradeep Vittal
76c7b54fc5 fix problems after merging in bug fixes from 2.1.x 2010-11-01 12:27:15 -07:00
Chiradeep Vittal
8a1245d433 bug 6807: first ip is different from sourcenat
status 6807: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
149a5d0eb9 bug 6807: add the source nat ip with net mask
status 6807: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
cd056c8d01 bug 6522: ensure destroyed routers are not picked up
status 6522: resolved fixed
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
63739558d0 bug 6105: default to mode http if the public port is 80 2010-11-01 12:21:55 -07:00