Commit Graph
129 Commits
Author SHA1 Message Date
Daniel Molina e9b2b5804e Merge branch 'feature-661'
Conflicts:
	install.sh
	src/cli/client_utilities.rb
	src/cli/onegroup
	src/cli/onehost
	src/cli/oneimage
	src/cli/onetemplate
	src/cli/oneuser
	src/cli/onevm
	src/cli/onevnet
	src/oca/ruby/OpenNebula/VirtualNetwork.rb
	src/onedb/1.rb
2011-06-17 12:30:54 +02:00
Carlos Martín e0a6ca1c21 Feature #662, #607: Add host update method to ruby and Java OCA 2011-06-09 18:03:22 +02:00
Carlos Martín 4bc55a701f Feature #407, #662: Hosts don't have group 2011-06-09 17:35:55 +02:00
Carlos Martín dba0e8c1ee Feature #407, #662: Change one.user.chown method name to .chgrp 2011-06-09 17:16:53 +02:00
Carlos Martín 099b748585 Feature #407, #662: Groups don't have owner 2011-06-09 17:08:02 +02:00
Daniel Molina 5a958f7032 feature #661: Add VirtualNetwork type helper 2011-06-09 16:35:15 +02:00
Carlos Martín ccde165841 Features #662, #607, #407: Small fixes in ruby OCA for group and template management 2011-06-07 16:36:07 +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 4360534be8 Bug ruby OCA: XMLElement:retrieve_elements always returned an empty array 2011-05-30 15:44:05 +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
Tino Vázquez a053cf9a53 Added comments to retrieve_element function 2011-05-17 16:51:26 +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 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
Tino Vázquez b218c52a17 bug #597: Tentative solution
(cherry picked from commit 14db7b5f8d)
2011-05-06 14:59:56 +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
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 77f861a2b5 Feature #487: New command onetemplate, with basic operations 2011-03-31 16:34:08 +02:00
Daniel Molina ecca012072 Feature #523: Update OCA to use the new Image Repository drivers 2011-03-30 12:48:07 +02:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Daniel Molina 5e4cf53a15 Fix REXML and Nokogiri to_hash output 2011-02-18 11:13:51 +01:00
Daniel Molina 6f563ae73f Add to_hash test for REXML(cherry picked from commit 258090afea) 2011-02-15 11:22:24 +01:00
Daniel Molina 2e8fd8e83a Capture XML parser exceptions in XMLUtils(cherry picked from commit f2d04f680e) 2011-02-15 11:22:16 +01:00
Ruben S. Montero 3babd9a405 bug #447: Also removes file if cp fails 2011-02-09 18:41:06 +01:00
Carlos Martín c93991f0c4 Bug #447: 'oneimage register' now has some extra error checks and file cleanup. 2011-02-09 16:13:31 +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
Ruben S. Montero 3ab03c4268 Merge branch 'feature-457'
Conflicts:
	src/nebula/SConstruct
	src/scheduler/SConstruct
	src/scheduler/src/pool/test/SConstruct
	src/scheduler/src/sched/SConstruct
	src/scheduler/src/xml/test/SConstruct
2011-01-28 17:01:28 +01:00
Jaime Melis 281c5cc927 Fixed bug in to_hash when nokogiri version is 1.4.4 2011-01-21 11:12:42 +01:00
Daniel Molina 2247ceab5c Add to_hash OCA tests 2011-01-19 12:02:40 +01:00
Daniel Molina 97bd83d36b Refactor to_hash method 2011-01-19 10:43:44 +01:00
Daniel Molina 0291b75d94 Add to_hash functionality to XMLUtils 2011-01-18 19:49:34 +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
Ruben S. Montero 098c1dc9f8 feature #457: Rename DELETE state to CLEANUP 2010-12-31 17:00:26 +01:00
Daniel Molina bf2b2b3a05 Fix bug in XMLUtils attr with Nokogiri(cherry picked from commit 4f2ea6b9aa)
(cherry picked from commit 2250ec8f17)
2010-12-09 16:33:26 +01:00
Jaime Melis fa71b4180a Revert "Load ruby libs path in ImageRepository(cherry picked from commit 52ff006835)"
This reverts commit dbd4f14ab5.
2010-11-26 09:25:14 +01:00
Daniel Molina dbd4f14ab5 Load ruby libs path in ImageRepository(cherry picked from commit 52ff006835) 2010-11-25 15:57:03 +01:00
Daniel Molina cc50668a4c Add LICENSE headers to OCA(cherry picked from commit 59a2e5056f) 2010-11-25 15:56:44 +01:00
Ruben S. Montero dfe4437a79 Merge branch 'feature-417' 2010-11-24 12:12:29 +01:00
Tino Vázquez 59ae65fb4d OCCI support for DATABLOCKS 2010-11-23 19:13:28 +01:00
Ruben S. Montero bceeecc751 bug #381: require pretty formatter 2010-11-19 13:33:37 +01:00
Daniel Molina 8d2cab1c43 bug #381: Fix REXML XML formatting compatibility with ruby 1.8.5 2010-11-18 17:38:37 +01:00
Tino Vázquez 3e0fdfd318 Fix for bug #391 2010-11-11 16:19:34 +01:00