Commit Graph
630 Commits
Author SHA1 Message Date
Ruben S. Montero 934d2403bb bug #2963: Do not add delete commands on cleanup for hybrid VMs. Redo check in TransferManager. Add host delete test at deployment time in LCM 2014-07-23 12:16:05 +02:00
Ruben S. Montero 3fb497730d feature #1696: Clone now supports a target datastore for images 2014-06-26 22:09:17 +02:00
Ruben S. Montero 0d0bb093e0 feature #2858: Should prevent deadlocks in address reservations 2014-06-09 12:07:09 +02:00
Ruben S. Montero 07ca23fcde feature #2858: Do not allow to reserve on the same VNET 2014-06-06 12:14:26 +02:00
Ruben S. Montero caeaa46e0d feature #2858: Do not allow to make double reservations 2014-06-04 01:20:24 +02:00
Ruben S. Montero f57e0b4c1c feature #2858: Adjust quotas on VNET chown 2014-06-03 16:09:26 +02:00
Ruben S. Montero 5599906f02 feature #2858: Fix permission check when adding a reservation to an existing reservation. Quotas always account for the reservation owner 2014-06-03 15:13:26 +02:00
Ruben S. Montero e971911068 feature #2858: Free address ranges on VNET 2014-06-02 19:18:32 +02:00
Ruben S. Montero 6136edf87c feature #2858: Add free_ar to free a previously reserved address range. Operation needs MANAGE permission on the reservation VNET (rm_ar is ADMIN) 2014-06-02 01:39:22 +02:00
Ruben S. Montero f87d3bb3cf feature #2858: Solve bugs in onevnet reserve. Minor changes in one.vn.reserve 2014-05-31 00:52:59 +02:00
Ruben S. Montero be238e98ee feature #2858: Add reservations to an exisiting network. VNETs are labeled with the PARENT_NETWORK_ID if any. Just one PARENT VNET is allowed 2014-05-30 19:00:59 +02:00
Ruben S. Montero 509529bac6 feature #2858: one.vn.[update, update_ar, add_ar, rm_ar] require ADMIN rights 2014-05-30 19:00:59 +02:00
Ruben S. Montero 20ed8ad25d feature #2858: Update quotas when freeing reserved IPs 2014-05-30 15:39:25 +02:00
Ruben S. Montero 0fbef4c68c feature #2858: Reserve by IP & MAC 2014-05-30 00:00:32 +02:00
Ruben S. Montero 977fc0d9e3 feature #2858: Reserve by AR_ID, fix DB storage of reservations 2014-05-29 12:44:41 +02:00
Ruben S. Montero 1f09233b96 feature #2858: Update parent vnet on removal 2014-05-28 18:40:40 +02:00
Ruben S. Montero 28e7faf54e feature #2858: Check quotas for reserve addresses. Update AR on reservation 2014-05-28 10:59:02 +02:00
Ruben S. Montero d5deaaf9e4 feature #2858: First version of VNET reservation. VNET is created, addresses allocated. Needs to set free addr methods upon reservation removal. 2014-05-27 17:19:36 +02:00
Ruben S. Montero 88987631d9 feature #2858: Add umask to Request attributes 2014-05-27 12:58:46 +02:00
Ruben S. Montero 20a3c25843 feature #2858: Update ARs. Core, OCA and CLI. Needs to implement attribute removal 2014-05-23 00:24:14 +02:00
Ruben S. Montero f440b6b1a5 feature #2858: Add and remove methods for Address Ranges. Core, OCA and CLI 2014-05-22 20:20:33 +02:00
Ruben S. Montero c24dfec31a feature #2858: First version of AddressRangePool 2014-05-09 21:20:09 +02:00
Ruben S. Montero 4b9e584282 Fix bug when replacing disk when saving template 2014-04-10 23:07:00 +02:00
Ruben S. Montero d773eb690e Better template manipulation in VirtualMachineSaveDisk 2014-04-07 19:29:47 +02:00
Carlos Martín 784105fb9e Feature #2806: hide password arguments in proxy calls 2014-04-07 19:04:18 +02:00
Carlos Martín dd88eefd9b Feature #2828: add SAVED_TO_IMAGE_ID attribute to template 2014-04-07 17:40:26 +02:00
Carlos Martín f97f261322 Feature #2828: add rollback 2014-04-07 17:20:54 +02:00
Ruben S. Montero 0fd6518a13 Add SAVED_TEMPLATE_ID to saved template when saving a disk 2014-04-07 12:28:15 +02:00
Ruben S. Montero d44c95d3e2 Add clone template option when saving a disk image. The new template will point to the saved image 2014-04-06 23:34:07 +02:00
Ruben S. Montero caf4484680 Feature #2270: VNets can be only deleted if there are not used leases 2014-03-19 17:09:52 +01:00
Carlos Martín 425dbd8c22 Fix bug in quotas update 2014-03-14 16:58:36 +01:00
Ruben S. Montero f949691cef bug #2565: Join get_info and get_info_without_error 2014-03-08 00:02:38 +01:00
Carlos Martín aba30a59e4 Feature #2565: Fix bug in del_provider for deleted clusters 2014-03-07 19:03:43 +01:00
Carlos Martín 22cab7f07e Feature #2565: Fix bug in success response 2014-03-05 16:43:45 +01:00
Carlos Martín 2e8dc65fd6 Bug #2503: Add rollback in case of error 2014-03-04 17:09:04 +01:00
JensHoffmann 0a3ba8aca9 Bug #2503: Improve setting of password/auth_driver
UserChangePassword followed this strategy:
  a1. Eventually encrypt user password if the users
      auth_driver is CORE_AUTH
  a2. Set (probably encrypted) password with
      User::set_password
  a3. User::set_password tries to validate (probably
      encrypted) password instead of the raw password

UserChangeAuth did something similar:
  b1. If password is given (not empty) do a1 through a3
  b2. Set auth_driver

The change proposes the following:
 * In set_password:
    1. Validate the raw password
    2. Do encryption if needed
 * In UserChangePassword: simply call set_password
 * In UserChangeAuth: set auth_driver *before* calling
   set_password, such that set_password does the right thing
   if the auth_driver changes

Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +01:00
Tino Vazquez c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
Carlos Martín 46e6688706 Feature #2743: onedb keeps 3 different versions
1 the code version
2 the replicated (master) DB tables version
3 the slave (local) DB tables version
2014-02-21 18:08:41 +01:00
Carlos Martín 7744150944 Feature #2727: Delete acl rules that apply to a zone when that zone is deleted 2014-02-21 15:23:24 +01:00
Carlos Martín 0a71139b34 Bug #2724: Add resource provider ALL to users group on bootstrap 2014-02-19 16:49:26 +01:00
Carlos Martín def8fa4490 Feature #2565: Make all zones visible by default to all users 2014-02-19 15:48:36 +01:00
Carlos Martín 77b51290eb Feature #2694: New zones can only be created if oned is master 2014-02-12 19:27:38 +01:00
Ruben S. Montero 57775a968a Feature #2665: Better name for Proxy method 2014-01-30 20:04:17 +01:00
Ruben S. Montero 9aca04fb7f Feature #2665: Rename proxy methods to one.proxy.<remote method name> 2014-01-30 11:26:15 +01:00
Carlos Martín 51b7327d09 Bug #1804, #2618: Create auth request uses the new object's target group 2014-01-29 18:15:06 +01:00
Carlos Martín 83a5a413ab Feature #2613: Implement onezone rename 2014-01-28 14:47:57 +01:00
Carlos Martín 3e4fcf369e Feature #2665: RMProxy logs the proxied method, and manages connection errors 2014-01-27 18:42:45 +01:00
Ruben S. Montero e88ff5f0da New attribute MESSAGE_SIZE to configure xml-rpc Client for slave zones 2014-01-24 00:14:38 +01:00
Ruben S. Montero 03914330a4 Fix merge of master branch 2014-01-23 17:07:52 +01:00
Ruben S. Montero 7686ca93e0 Merge branch 'master' into vdc-federation
Conflicts:
	include/GroupPool.h
	include/UserPool.h
2014-01-23 16:36:22 +01:00