1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
Ruben S. Montero
8f809df025 Merge branch 'feature-1291' 2012-06-19 14:30:50 +02:00
Carlos Martín
cc132e239a Feature #1304: Create new DocumentPool, add ACL Object to Core, Ruby and Java OCA 2012-06-08 15:41:59 +02:00
Carlos Martín
b377e4db99 Feature #1291: New one.image.clone method
The core functionality is in place, but it is using the CP command.
To make it work, the ds_map cp scripts need to ignore the
check_restricted call. We will have to add another script to
the ds_mad drivers, probably clone
2012-05-25 12:56:51 +02:00
Carlos Martín
3c1cf1f1b3 Feature #1112: Fix oneimage update (broken in commit:92dd8d4c) 2012-03-14 15:48:06 +01:00
Carlos Martín
05fdb88739 Feature #1112: Allow datastore template update to change the internal TYPE and TM_MAD attributes 2012-03-05 16:47:59 +01:00
Carlos Martín
4e2b33fa23 Feature #1112: Clusters are coming back into fashion this season 2012-02-24 15:58:51 +01:00
Carlos Martín
e76e1227d3 Feature #1112: Add datastore to ObjectType strings 2012-02-10 14:55:29 +01:00
Carlos Martín
9ec4b450a4 Feature #1112: Create Datastore and DatastorePool classes, and RM methods 2012-02-09 17:56:47 +01:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero
5c033040aa feature-862: Check persistent state and permissions for Images 2012-01-06 01:36:57 +01:00
Ruben S. Montero
3088f5ca5c feature #862: Refactor Chown function 2012-01-05 01:45:53 +01:00
Carlos Martín
38f494855b Feature #862: Add one.*.chmod xml-rpc methods in the core 2012-01-04 20:14:09 +01:00
Carlos Martín
3f51dd48de Feature #862: Remove public attribute from core 2012-01-04 06:31:20 -08:00
Ruben S. Montero
e6628a1f75 Feature #862: Re-factor PoolObjectAuth. Moved ObjectType to PoolObjectSQL. simplified interface for AuthManger::add_auth. 2012-01-03 02:58:23 +01:00
Carlos Martín
75d5e7a1fb Add the Object type to the PoolObjectAuth class 2012-01-02 22:14:43 +01:00
Carlos Martín
fef8cdbf08 Rename Permissions class to PoolObjectAuth and move it to its own .h file 2012-01-02 21:17:20 +01:00
Carlos Martín
eaa257103e Refactor PoolObjectSQL::Permissions to be a separate class. Use pointers for Permissions arguments 2012-01-02 19:21:54 +01:00
Carlos Martín
764970f5ff Change defaults for PoolObjectSQL::Permissions constructor 2011-12-30 19:54:57 +01:00
Carlos Martín
f602cf62c9 Merge remote branch 'origin/master' into feature-862
Conflicts:
	include/RequestManagerVirtualMachine.h
	src/vnm/VirtualNetwork.cc
2011-12-30 17:11:55 +01:00
Carlos Martín
58b831c471 New class PoolObjectSQL::Permissions to move objects ownership and permission attributes to the Auth & ACL Managers 2011-12-29 22:05:11 +01:00
Carlos Martín
39ca07268a New owner/group/other USE, MODIFY, ADMIN permissions attributes for PoolObjectSQL 2011-12-29 09:14:20 -08:00
Ruben S. Montero
f6ce18bfb4 feature #863: Change the OpenNebula Core to VMM Driver protocol now all messages have the same format:
ACTION ID XML_B64_DATA
The B64 data includes the parameters for each action plus a new field for the network driver used by the target host.

Also this commit changes the tree for the networking drivers.
2011-11-10 11:15:58 +01:00
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