1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Carlos Martín
3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín
09c93c7528 Feature #407: Remove usernames from owned resources, only user-id is stored now. 2011-05-12 17:10:35 +02:00
Ruben S. Montero
e678b190ee feature #487: Better get_template_contents (now clone_template) 2011-04-10 23:55:49 +02:00
Carlos Martín
995159994d Features #487: VMTemplate code refactor, now it uses base class PoolObjectSQL's obj_template 2011-04-08 16:34:40 +02:00
Carlos Martín
2649590d34 Feature #487: Several bugfixes and new INSTANTIATE auth. operation 2011-04-05 16:05:46 +02:00
Carlos Martín
b27c9372f5 Feature #487: Small auth and DB bugfixes, and support to allocate a VM from a template using its TEMPLATE_ID 2011-04-01 17:17:26 +02:00
Carlos Martín
5b9fed52f7 Feature #487: First version of TemplatePool added to the core: DB, Pool and RM methods. 2011-03-30 19:03:49 +02:00