Commit Graph
111 Commits
Author SHA1 Message Date
Carlos Martín 099b748585 Feature #407, #662: Groups don't have owner 2011-06-09 17:08:02 +02:00
Carlos Martín 057d2e11cd Conflicts:
include/Cluster.h
	include/Group.h
	include/ObjectCollection.h
	include/PoolObjectSQL.h
	include/RequestManager.h
	src/cluster/test/ClusterPoolTest.cc
	src/group/Group.cc
	src/host/Host.cc
	src/oca/ruby/OpenNebula/Host.rb
	src/rm/RequestManagerAddDelGroup.cc
	src/rm/RequestManagerClusterAdd.cc
	src/rm/RequestManagerClusterRemove.cc
	src/um/User.cc
2011-06-06 18:00:34 +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 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
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
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 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 bde842ed88 Merge branch 'feature-591'
Conflicts:
	install.sh
2011-05-12 14:50:22 +02:00
Daniel Molina 8dee85294e Delete if case in the save_as command 2011-05-12 13:00:04 +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 97bf19d05e Feature #591: Better core bootstrap. Upgrade process done. New functionality for onedb 2011-05-05 18:55:40 +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 ba6c8e8e89 Merge branch 'feature-487' 2011-04-26 15:35:44 +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
Carlos Martín fdcca8a0fc Merge branch 'feature-523' into feature-487
Conflicts:
	include/Nebula.h
2011-04-08 16:11:29 +02:00
Carlos Martín 056e80a84e Feature #487: onevm CLI method to instantiate VMs from registered Templates 2011-04-08 15:18:52 +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 77f861a2b5 Feature #487: New command onetemplate, with basic operations 2011-03-31 16:34:08 +02:00
Daniel Molina 20d29f14ac Merge branch 'master' into feature-523 2011-03-30 16:26:56 +02:00
Daniel Molina ecca012072 Feature #523: Update OCA to use the new Image Repository drivers 2011-03-30 12:48:07 +02:00
Tino Vázquez 1b9af26624 bug #512: Fix typo in onecluster
(cherry picked from commit 871019d341)
2011-03-14 15:26:15 +01:00
C12G Labs 93e2980457 bug #519: Add -x option to oneuser list
(cherry picked from commit 27796743c8)
2011-03-11 17:01:02 +01:00
Jaime Melis 4c76798143 Update version to 2.3.0 2011-02-25 15:20:50 +01:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín 71103631aa oned.conf: ebtables hooks added. DOT state diagrams added to share/doc. onevm command help improvements 2011-02-08 16:18:54 +01:00
Ruben S. Montero cde9648e6c Merge branch 'feature-474' 2011-02-03 17:08:35 +01:00
Carlos Martín c5734c93c0 Feature #474: First commit for add/remove leases feature 2011-02-01 18:26:26 +01:00
Tino Vázquez 366b578a7f feature #457: added host error hook 2011-01-17 15:27:10 +01:00
Carlos Martín 8696b216a2 Features #457 & #455: Resubmit action for VMs added to the RM and CLI 2011-01-11 18:50:29 +01:00
Tino Vázquez d20fac071c bug #441: Fix typo in oneimage help
(cherry picked from commit 6c9cdeb2ee)
2010-12-22 17:17:30 +01:00
Jaime Melis 5ef3bdc012 Fixed typo in oneuser command help
(cherry picked from commit b4ff12f474)
2010-11-24 16:44:53 +01:00
Ruben S. Montero 456a15007e Merge branch 'bug-412' 2010-11-19 16:09:11 +01:00
Jaime Melis c2d7ca16cd Moved remotes directory to 'var' 2010-11-16 12:29:14 +01:00
Tino Vázquez 08309ef2a7 Typo in oneimage saveas description
(cherry picked from commit 094ae8b018)
2010-10-28 19:54:57 +02:00
Tino Vázquez 094ae8b018 Typo in oneimage saveas description 2010-10-28 19:54:09 +02:00
Ruben S. Montero 0896c774ec Master is now OpenNebula 2.1.0 2010-10-22 17:36:52 +02:00
Javi Fontan 4cd7ddff2c Added more information to cli help/man 2010-10-20 17:53:25 +02:00
Javi Fontan a968e5fd25 Changed version to 2.0.0 (man pages updated) 2010-10-19 17:41:29 +02:00
Daniel Molina 4cc329b925 Add help information for oneimage/onevnet list m 2010-10-15 13:21:27 +02:00
Javi Fontan 5558b05bb2 Added Apache License to CLI --version text 2010-10-14 12:59:56 +02:00
Daniel Molina c6e9cf1516 Change wrong information in filter_flag values help 2010-10-07 23:28:32 +02:00
Javi Fontan 7b22fc9cd6 Bug #352: oneuser gets only the first line if a file is specified 2010-10-07 14:30:38 +02:00
Daniel Molina b8812bcf18 bug #347: Fix onevm saveas, check VM consistency 2010-09-15 13:04:08 +02:00
Daniel Molina bdf3e26cb6 Bug #240: Fix error message shown two times, onevnet show 2010-09-13 15:34:08 +02:00