Commit Graph
1186 Commits
Author SHA1 Message Date
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 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 41e0412bdc feature #2858: free by owner returns the number of addressses freed 2014-05-30 12:57:09 +02:00
Ruben S. Montero 0fbef4c68c feature #2858: Reserve by IP & MAC 2014-05-30 00:00:32 +02:00
Ruben S. Montero ab6de3ae02 feature #2858: Fix minor memory leaks 2014-05-29 15:36:20 +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 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 b907e03aa4 Merge branch 'master' into feature-2858 2014-05-23 15:07:23 +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 8c92f9b1a7 feature #2858: Remove old code 2014-05-19 19:41:48 +02:00
Ruben S. Montero e6301350d0 feature #2858: Hold and Release for IP/MAC addresses in all Address Ranges. Keep compatibility with 4.6 interface 2014-05-19 17:59:06 +02:00
Ruben S. Montero 14105efd0d feature #2858: Hold first matching lease if no address range is specified 2014-05-19 00:28:27 +02:00
Ruben S. Montero 1a4f9e09f0 feature #2858: Support for Address Range attributes in context 2014-05-17 01:17:58 +02:00
Ruben S. Montero 15f596b4aa bug #2923: Clean VM monitor when VM_INDIVIDUAL_MONITOR is set to "no" (default)
(cherry picked from commit fbedfdc2a6)
2014-05-16 12:27:09 +02:00
Ruben S. Montero f0e64384cf feature #2858: Adds lease usage information to XML descriptions 2014-05-10 21:44:39 +02:00
Ruben S. Montero 72b61e9ec5 feature #2858: Integrate Address Ranges with VirtualNetwork and VirtualMachine 2014-05-10 21:06:59 +02:00
Ruben S. Montero cab018fc98 feature #2858: Allocate & free functions for the address range pool 2014-05-10 19:46:27 +02:00
Ruben S. Montero e4cee7c1ea feature #2858: Integrate AddressRangePool with VirtualNetwork: persistency & initialization 2014-05-10 01:22:02 +02:00
Ruben S. Montero c24dfec31a feature #2858: First version of AddressRangePool 2014-05-09 21:20:09 +02:00
Ruben S. Montero 771b41f39f feature #2858. Clear and to_xml on streams for VectorAttributes 2014-05-08 15:48:16 +02:00
Ruben S. Montero acce1cdaee feature #2858: Work on AddressRange class 2014-05-08 13:42:28 +02:00
Ruben S. Montero e13cfcf726 feature #2858: Allocate addresses by MAC or IP 2014-05-05 17:49:57 +02:00
Ruben S. Montero 198ebfdefd feature #2858: Implementation of Address Range class 2014-05-02 17:04:48 +02:00
Ruben S. Montero 61c3fe95f8 feature #2858: Convert to unsigned int from vector attributes 2014-05-02 14:11:36 +02:00
Carlos Martín cec4179036 Add migrator to 4.6.0. ACL rule was missing 2014-04-24 15:52:05 +02:00
Jaime Melis c53006b579 Bump to version 4.6.0 2014-04-23 12:26:38 +02:00
Carlos Martín 0e5a252ffd Feature #2828: add new param to java oca 2014-04-08 12:17:37 +02:00
Carlos Martín 784105fb9e Feature #2806: hide password arguments in proxy calls 2014-04-07 19:04:18 +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
Jaime Melis 960d6b1f94 Bump to version 4.5.85 2014-04-03 11:21:05 +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
Jaime Melis 13af872dce Feature #2202: Adds support for cdroms a Gluster datastores 2014-03-11 14:54:18 +01:00
Ruben S. Montero dbe21675fa System attributes, Group and User quotas are local tables needs to be bootstraped locally 2014-03-08 02:44:53 +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 444b5bf8c0 Feature #1798: Add host reserved_cpu/mem attributes each monitoring step 2014-03-06 16:18:28 +01:00
Ruben S. Montero 73456ca7a7 Merge branch 'feature-2465' 2014-03-05 18:14:46 +01:00
Carlos Martín 0ebd23916a Bump version manually for shared/local tables 2014-03-05 16:33:05 +01:00
Ruben S. Montero a759d95c59 feature #2465: virtualnetwork can update VLAN, VLAN_ID, BRIDGE and PHYDEV configuration attributes 2014-03-04 17:11:56 +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
Javi Fontan 03f577bbeb Bump version 2014-03-04 12:53:44 +01:00
Javi Fontan 68a7909348 Change Nebula.h version for bump version script 2014-03-04 12:49:42 +01:00