Ruben S. Montero
1d9d1bd7bb
bug #847 : Fix constness for erase method in PoolObjectSQL. Better check in template erase
2011-10-11 15:46:58 +02:00
Ruben S. Montero
6c55f347ec
bug #847 : Added method to get & erase an attribute. Cleaned up prototypes
2011-10-11 12:47:30 +02:00
Ruben S. Montero
255c8ff886
feature #687 : user and group name are now stored in XML descriptions
2011-06-30 12:09:25 +02:00
Ruben S. Montero
8e33e4cded
feature #687 : Resources now stores the name of the owner and the group
2011-06-30 11:31:00 +02:00
Ruben S. Montero
d6206edfa8
feature #407 : Changed implementation for user.chown. Removed host.chown. set_gid/uid in PoolObjectSQL does not check gid. Old groups updated when changing users primary groups
2011-06-09 00:58:57 +02:00
Carlos Martín
43a7c5c67b
Feature #662 : New user.chown method. Allow chown to change either owner or group alone.
2011-06-07 16:55:23 +02:00
Ruben S. Montero
8c8ead4f74
feature #407 : new CHOWN operation in AuthManager
2011-06-03 18:26:59 +02:00
Ruben S. Montero
881d6968d8
feature #662 , #407 : New chown methods
2011-06-03 18:08:20 +02:00
Ruben S. Montero
72435cd453
Merge branch 'feature-407' into feature-407rm
...
Conflicts:
include/Host.h
include/PoolObjectSQL.h
include/RequestManager.h
src/rm/RequestManager.cc
src/rm/RequestManagerUserAllocate.cc
src/rm/SConstruct
2011-06-02 23:21:14 +02:00
Ruben S. Montero
d42f3d33f1
feature #662 , #607 : New update methods updates object templates (hosts, images and vm templates)
2011-06-02 00:51:42 +02:00
Ruben S. Montero
c7625b4836
feature #662 , #607 : Replace function for templates, Added VMTemplate functions
2011-06-02 00:20:42 +02:00
Ruben S. Montero
686b8d5b40
feature #662 : Removed uneeded files. New factory method to get templates from a PoolObjectSQL
2011-06-01 23:53:09 +02:00
Ruben S. Montero
b050a5da9f
feature #622 : Public is now an attribute of PoolObjectSQL. Redesign of authorization function
2011-05-26 12:20:56 +02:00
Carlos Martín
7285fbd5c0
Merge branch 'feature-407' of git.opennebula.org:one into feature-407
...
Conflicts:
include/Group.h
include/User.h
src/cluster/Cluster.cc
src/cluster/ClusterPool.cc
src/group/Group.cc
src/rm/RequestManagerUserAllocate.cc
src/um/User.cc
2011-05-25 14:56:35 +02:00
Carlos Martín
6230001c56
Feature #407 :
...
* Chown method: destination user and group are checked, auth. manager request used.
* New one.group.chown method.
* New ObjectCollection class to store sets of IDs.
* New RM user.addgroup user.delgroup methods, users and groups store a cross-reference ID set.
* Clusters store a set of Host IDs. The RM part of the add/remove host functionality works, but should be re-done to avoid deadlocks.
* Fix onedb schmea for template_pool table bug.
2011-05-25 12:13:17 +02:00
Ruben S. Montero
3efc2abdc1
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
2011-05-21 02:28:23 +02:00
Carlos Martín
b0ddfd382c
Feature #407 : New XML-RPC, Ruby OCA & CLI method 'chown' for VM,TEMPLATE,NET,USER & IMAGE. Work in progress, only basic functionality without authorization or consistency checks.
2011-05-17 19:13:59 +02:00
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
Ruben S. Montero
5483a1ba92
feature #523 : New to_xml64 method for objects that generates a base64 encoded version of the object
2011-05-13 00:47:21 +02:00
Ruben S. Montero
dd32809e37
Bug #576 : Parser of the monitor information is now more robust. Error parsing the monitor info is log as an error in the VM template. The Template attributes are also XML secure, names are fixed to conform XML namimg conventions
2011-05-08 02:13:37 +02:00
Ruben S. Montero
db8aa7f5bf
feature #575 : Improved log messages for drivers. Error string also propagated to images
2011-04-15 01:51:38 +02:00
Ruben S. Montero
1e4e4f2c32
feature #523 , #407 , #488 : Template is now part of base class PoolObjectSQL
2011-04-08 01:02:55 +02:00
Ruben S. Montero
08466818fd
Merge branch 'feature-407' into feature-523
2011-03-10 12:34:46 +01:00
Carlos Martín
cd8c19f930
Feature #407 : Refator of PoolObjectSQL class
2011-03-09 12:44:39 +01:00
Ruben S. Montero
9288a79aa3
feature #407 : Several bug fixes. Better index for names.
2011-03-05 03:24:11 +01:00
Ruben S. Montero
fadbe3a4d7
feature #407 : All resources now uses the base classes and index
2011-03-04 23:26:55 +01:00
Ruben S. Montero
0fcf98db16
Merge branch 'feature-407' of dsa-research.org:one into feature-407
2011-03-04 22:38:16 +01:00
Ruben S. Montero
e18675bf67
feature #407 : Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name
2011-03-04 22:37:21 +01:00
Carlos Martín
de03c2859f
Feature #407 : User object modified for new XML DB schema
2011-03-04 17:04:28 +01:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01:00
Ruben S. Montero
0b9955175a
feature #407 : Minor changes in Host class refactor
2011-02-24 23:30:39 +01:00
Carlos Martín
ebf66e0fda
Feature #407 : Host object uses new DB schema, storing the contents as XML
2011-02-24 18:12:26 +01:00
Ruben S. Montero
88f7cbe8c1
feature #206 : Moved Pool classes to the new DB interface
2010-04-03 16:54:54 +02:00
Javier Fontán Muiños
fdfe10407e
Changed copyright notice
2010-02-22 18:00:30 +01:00
Rubén S. Montero
581f50d600
Bug when deleting host, user and vn objects.
...
git-svn-id: http://svn.opennebula.org/one/trunk@676 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-13 12:21:14 +00:00
Rubén S. Montero
60aff2d402
Trunk now is OpenNebula 1.3. New raw XML vmm drvier type. updated date in license
...
git-svn-id: http://svn.opennebula.org/one/trunk@330 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-26 18:25:15 +00:00
Javier Fontán Muiños
6eb9fed97d
Initial commit of ONE code
...
git-svn-id: http://svn.opennebula.org/trunk@2 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-17 16:27:32 +00:00