1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-25 06:03:36 +03:00

566 Commits

Author SHA1 Message Date
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
Ruben S. Montero
bde842ed88 Merge branch 'feature-591'
Conflicts:
	install.sh
2011-05-12 14:50:22 +02:00
Carlos Martín
ae53d43789 Feature #407: Base implementation for groups.
So far groups can be managed, but resources can't be associated to a group.
Tasks done:

  * New basic onegroup command
  * RequestManager XML-RPC methods
  * New group pool
  * New GROUP authorization symbol
  * Basic GroupPool tests
  * Ruby OCA methods
2011-05-10 18:45:15 +02:00
Carlos Martín
691c965312 Bug #566: New control table to store the last used oid
Feature #591: Add new control table, and fix SQL syntax for MySQL
2011-05-09 16:09:56 +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
96f26468a1 feature #523: Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL. 2011-05-07 02:49:07 +02:00
Carlos Martín
7aacd86c3c Bug #408: Fix compilation when mysql flag is set to 'no' 2011-05-06 18:14:23 +02:00
Carlos Martín
27977b913d Bug #408: reconnect to MySQL server when connection fails 2011-05-06 17:06:57 +02:00
Carlos Martín
8510fa56ad Feature #591: New onedb command. Core detects wrong DB versions. 2011-04-29 18:59:39 +02:00
Ruben S. Montero
fd20b21081 Merge branch 'feature-575' 2011-04-28 13:39:00 +02:00
Ruben S. Montero
ba6c8e8e89 Merge branch 'feature-487' 2011-04-26 15:35:44 +02:00
Ruben S. Montero
5dc7b686ad Fix compilation warnings with gcc4.6 2011-04-22 01:06:01 +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
aebb1cd6a7 feature #575: Support for TM drivers, also tyoe of log messages from the drivers have the right type. 2011-04-15 00:49:42 +02:00
Ruben S. Montero
cd163f2a54 feature #575: Add error messages to VM templates (VMM part) 2011-04-15 00:34:22 +02:00
Ruben S. Montero
faff6589b2 Merge branch 'feature-523' 2011-04-14 17:01:24 +02:00
Carlos Martín
dce87a9fa8 Feature #487: Change template pool XML root elem. to VMTEMPLATE_POOL, for consistency with the rest of the pools; & Fix bug in onetemplate create -v 2011-04-13 11:49:03 +02:00
Ruben S. Montero
abe4ff6894 Merge branch 'feature-523' into feature-575 2011-04-13 00:03:19 +02:00
Carlos Martín
3e4b20732d Revert "Feature #552: XML-RPC Method one.user.authenticate added"
This reverts commit 537253964636d2b63ca2ba1e87320c7f61349e35.
2011-04-11 18:46:20 +02:00
Carlos Martín
2ce4009975 Feature #523: Extra error checks for one.vm.savedisk XML-RPC method 2011-04-11 18:05:43 +02:00
Carlos Martín
f49a206adf Merge branch 'feature-523' into feature-487
Conflicts:
	src/oca/java/test/ImageTest.java
	src/oca/java/test/test.sh
2011-04-11 16:30:40 +02:00
Carlos Martín
92a74bd83b Feature #523: Small oned.conf fix, Add ImageID to one.vm.savedisk XML-RPC method, and Update Java API Image management and tests 2011-04-11 16:20:44 +02:00
Ruben S. Montero
961820cf33 feature #487: Get rid of merge method for VirtualMachineTemplates 2011-04-11 00:59:59 +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
fdcca8a0fc Merge branch 'feature-523' into feature-487
Conflicts:
	include/Nebula.h
2011-04-08 16:11:29 +02:00
Ruben S. Montero
2ef660b9b2 Merge branch 'master' into feature-523 2011-04-08 01:04:45 +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
5ba3999273 feature #523: Moved saveas to core. Some checks still needs to be done: image is not persistent, image is not going to be saved. Also types should be preserved if building from an exisiting image. 2011-04-07 02:01: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
5372539646 Feature #552: XML-RPC Method one.user.authenticate added 2011-03-31 12:52:21 +02:00
Carlos Martín
085d86e12e Feature #487: Fix tests 2011-03-31 12:14:12 +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
Ruben S. Montero
35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Ruben S. Montero
3566698590 feature #523: Updated Image tests. 2011-03-26 01:03:22 +01:00
Ruben S. Montero
9799a3bc20 feature #523: Added delete method for the Image Manager 2011-03-25 00:11:10 +01:00