Commit Graph
161 Commits
Author SHA1 Message Date
Ruben S. Montero 7c362c64b4 feature #754: Bug when parsing the ONE_AUTH file 2011-08-19 03:14:56 +02:00
Ruben S. Montero 2a0b2818d4 feature #754: Fix bug creating client. Allows multiple ':' in auth string 2011-07-28 12:23:59 +02:00
Ruben S. Montero dfba42fa38 feature-754: pass one_auth token as provided if it has more than two tokens 2011-07-28 03:51:25 +02:00
Carlos Martín c9f05f8321 Bug #741: Ruby OCA VM::save_as now returns the new image ID in case of success 2011-07-22 13:24:55 +02:00
Javi Fontan 826bb4a2de bug in Acl OCA code 2011-07-15 12:46:09 +02:00
Carlos Martín 61120649b9 MULTIPLE GROUPS: Finish removing the multiple groups functionality from ruby and java OCA, see commit:66485c6e 2011-07-12 16:14:37 +02:00
Daniel Molina 324f574651 Add default ACLs (group.default) when creating a new group from the CLI 2011-07-12 14:00:02 +02:00
Ruben S. Montero 75bcc46dd7 bug: Templates are now render in ASCI strings without syntax errors (for update methods) 2011-07-11 16:49:17 +02:00
Javi Fontan 0940802149 Added User::SELF constant to ruby OCA 2011-07-11 16:07:06 +02:00
Ruben S. Montero 66485c6ed7 MULTIPLE GROUPS: Removed initial effort to support multiple user groups for the users. This should be easily recovered to complete this feature in the future 2011-07-07 19:01:04 +02:00
Carlos Martín e33ed54c1b Feature #687: Bug in Acl rule string parsing 2011-07-06 16:23:40 +02:00
Carlos Martín and Javi Fontan 43e44040f7 Feature #687: Refactor Acl and AclPool ruby OCA classes to follow the common Pool/PoolElement structure 2011-07-06 15:56:38 +02:00
Tino Vázquez 06084ebaf7 feature #667: Improve ACL CLI error handling
(cherry picked from commit beba090a3fe6d2ee3721cd65afa16ddb8b5dc8a4)
2011-07-05 19:04:28 +02:00
Tino Vázquez 4a186ea046 feature #667: Improved ACLs CLI
(cherry picked from commit e3314e9a236451fdc18045058d123dedd3fa833f)

Conflicts:

	src/oca/ruby/OpenNebula/AclPool.rb
2011-07-05 19:02:39 +02:00
Carlos Martín ea6fd38feb Merge branch 'feature-696' into feature-687 2011-07-04 12:30:21 +02:00
Daniel Molina ec9f9b59f1 feature #696: Add info_filter method 2011-07-04 12:26:43 +02:00
Carlos Martín 5609e3e424 Merge branch 'feature-687' of git.opennebula.org:one into feature-687 2011-07-01 19:06:15 +02:00
Carlos Martín 896385e77b Feature #687: Fix oneacl addrule parser 2011-07-01 19:05:17 +02:00
Ruben S. Montero d74b69e4ce Merge branch 'feature-696' into feature-687 + Filter for all groups
Conflicts:
	include/RequestManagerPoolInfoFilter.h
	src/rm/RequestManagerPoolInfoFilter.cc
2011-07-01 18:39:36 +02:00
Carlos Martín c1ff6fe3ae Feature #687: Remove trailing spaces 2011-07-01 18:09:14 +02:00
Carlos Martín 32a7699c5a Feature #687: Fix oneacl delete 2011-07-01 14:30:48 +02:00
Tino Vázquez 19d3db124e Feature #687: ACL string syntax for oneacl 2011-06-30 15:48:08 +02:00
Tino Vázquez 3a321321b5 feature #687: Human readable output for oneacl list 2011-06-29 19:32:10 +02:00
Carlos Martín 165a8fb74b Feature #687: Add oid to ACL Rules, one.acl.delrule now expects that ID. Modify XML to look similar to a pool 2011-06-29 18:41:49 +02:00
Tino Vázquez 8d4fec645b feature #687: Add Rule class in OCA 2011-06-29 14:46:55 +02:00
Carlos Martín a0a51efb55 Merge branch 'master' into feature-687 2011-06-28 13:10:17 +02:00
Ruben S. Montero 1c1cb98400 feature #696: OCA now supports state filter for VMs 2011-06-27 16:20:31 +02:00
Ruben S. Montero 7e7c2451ec feature #696: Fixes minor bugs 2011-06-24 18:43:20 +02:00
Ruben S. Montero 953c02c792 Feature #696: Upgraded OCA (Ruby) API to match new filter functionality in pool.info methods 2011-06-24 17:51:30 +02:00
Ruben S. Montero edcfcb8c17 feature #696: Tests now can be executed with Ruby 1.9 2011-06-24 17:50:03 +02:00
Carlos Martín bfaabf357d Feature #687: Start work on ACL rules 2011-06-22 19:22:52 +02:00
Daniel Molina 45be62f7a7 Fix constant typo in VirtualNetwork 2011-06-22 16:21:53 +02:00
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