Carlos Martín
064ea08895
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
2011-06-03 19:09:55 +02:00
Ruben S. Montero
d1cba31ce3
feature #662 : Missing RM file
2011-06-03 19:10:56 +02:00
Carlos Martín
16aa776f7e
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
...
Conflicts:
src/rm/RequestManager.cc
src/rm/SConstruct
2011-06-03 19:09:44 +02:00
Carlos Martín
0fecbced92
Feature #662 : Refactored RM methods for Hosts and Images
2011-06-03 19:01:52 +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
c004100564
Merge branch 'feature-407rm' of git.opennebula.org:one into feature-407rm
...
Conflicts:
src/host/HostPool.cc
2011-06-03 17:01:52 +02:00
Ruben S. Montero
70435d9043
feature #407 , #662 : New User methods in RM and some changes in the add/del group interface
2011-06-03 16:58:42 +02:00
Jaime Melis
662d7f6256
feature #476 : support phydev attribute in core
2011-06-03 16:52:47 +02:00
Carlos Martín
e28ad2a69d
Feature #662 , #407 : Delete operator<< from PoolObjectSQL classes. Remove Cluster objects.
2011-06-03 15:33:48 +02:00
Ruben S. Montero
532982b6fb
feature #407 : Prevent some deadlocks when adding/removing users from groups
2011-06-03 13:31:11 +02:00
Ruben S. Montero
3cf5d5e7cd
feature #407 : Moved implementation of ObjectCollection to cc file
2011-06-03 12:11:33 +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
Carlos Martín
fa46633339
Feature #662 : New update method for Images and Templates added to OCA and CLI (work in progress).
...
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Jaime Melis
2af638e0a1
feature #476 : get hook_location from scripts_remote_dir
2011-06-02 15:51:49 +02:00
Ruben S. Montero
9af500b4cd
feature #662 : Adding/removing files
2011-06-02 00:55:43 +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
af3eed6063
feature #622 : VirtualMachine Methods
2011-06-01 18:18:36 +02:00
Ruben S. Montero
437a01a2c6
feature #622 : Added PERSISTENT tag to DISKs based in persistent IMAGES. New method to setup auth requests for virtual machine templates.
2011-06-01 12:41:46 +02:00
Ruben S. Montero
0a13288330
feature #622 : VirtualMachineAllocate method in Request Manager
2011-06-01 12:37:39 +02:00
Ruben S. Montero
e61cd923c5
feature #662 : Deleted unneeded file and moved object to string method
2011-05-31 00:16:57 +02:00
Ruben S. Montero
700d92738e
feature #622 : VirtualNetwork methods uses a common base class
2011-05-29 00:37:59 +02:00
Ruben S. Montero
5bde303fc8
feature #662 : Moved string representation of Auth objects for error printing
2011-05-28 11:36:24 +02:00
Ruben S. Montero
25068e4d59
feature #662 : Allocate methods
2011-05-28 04:03:09 +02:00
Ruben S. Montero
fb3d3a88bb
feature #662 : Common method for publish requests
2011-05-27 00:21:14 +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
Ruben S. Montero
fc15b443b6
feature #662 : Delete uses a common Request. Moved more functionality to base classes
2011-05-26 00:59:50 +02:00
Ruben S. Montero
c15a9e9a12
feature #622 : Info methods use a comon execute function
2011-05-25 19:26:52 +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
Ruben S. Montero
d16ee7254c
feature #662 : Info methods for objects. Now the info requests are authorized
2011-05-25 13:57:00 +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
01d932adea
feature #622 : Added auth for the pool infos. New Auth action is INFO_POOL
2011-05-24 17:52:17 +02:00
Ruben S. Montero
ac46cf5dee
feature #662 : Pool Info methods now uses the same implementation
2011-05-24 17:31:27 +02:00
Ruben S. Montero
061ea1b397
feature #622 : Harden RequestManager Class. New authenticate method for the UserPool returns group. Tests have been updated
2011-05-24 15:36:40 +02:00
Ruben S. Montero
04977725a0
feature #662 : moved error codes to Request.h class
2011-05-24 15:23:07 +02:00
Ruben S. Montero
c3e29e7f83
feature #662 : New authenticate method returns the GID
2011-05-24 15:15:23 +02:00
Ruben S. Montero
043cba4cee
feature #662 : New Request class to abstract XML-RPC requests
2011-05-24 14:32:39 +02:00
Ruben S. Montero
122a45ac28
feature #407 : order of uid, gid the same for constructors. Solved som issues with fix_times
2011-05-22 22:30:36 +02:00
Ruben S. Montero
3efc2abdc1
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
2011-05-21 02:28:23 +02:00
Ruben S. Montero
e77a5f5b13
feature #407 : LastOID is private for the pools. Minor changes in Group classes
2011-05-21 02:06:29 +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
6329d8b3fa
Feature #407 : Use Cluster-ids instead of cluster names for Hosts. Update onedb 1.rb, tests and CLI for this change
2011-05-17 12:45:16 +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
Carlos Martín
211eed3289
Feature #407 : Create default groups 'oneadmin' and 'users'. Make regular groups start from ID 100. Fix tests.
...
Feature #591 : Add group_pool table to the DB migration script.
2011-05-13 12:51:23 +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
Carlos Martín
e9b0bf3eea
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
src/nebula/Nebula.cc
2011-05-12 17:28:03 +02:00
Ruben S. Montero
5bfec3ab96
feature #513 : Moved SSL utils to a common Helper Class
2011-05-12 17:20:52 +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