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

667 Commits

Author SHA1 Message Date
Carlos Martín
a04102ce78 Feature #1112: Refactor RMDelete, hosts and datastores use the same method to be removed from their clusters 2012-02-29 17:00:33 +01:00
Carlos Martín
c3d504293c Feature #1112: Move datastore to cluster addition from DatastorePool::allocate to RMAllocate 2012-02-29 16:30:52 +01:00
Carlos Martín
be00373b09 Feature #1112: Refactor RequestManagerAllocate to be able to add objects to clusters on creation 2012-02-29 16:06:29 +01:00
Carlos Martín
07eba81abd Feature #1112: refactor Request::get_info 2012-02-28 17:59:03 +01:00
Carlos Martín
f722dafb43 Feature #1112: Make cluster parameter mandatory for new hosts 2012-02-28 17:30:07 +01:00
Carlos Martín
c8d1af5e8a Feature #1112: Remove host from its cluster when it is deleted 2012-02-28 17:25:02 +01:00
Carlos Martín
98fcd42e2b Feature #1112: Integrate clusters into acl rules 2012-02-28 15:29:32 +01:00
Carlos Martín
4d5ea6f8a2 Merge branch 'master' into feature-1112 2012-02-28 12:33:05 +01:00
Carlos Martín
dd51ce11bf Feature #1112: Associate Datastores to Clusters 2012-02-28 12:17:33 +01:00
Carlos Martín
313c2967c7 Feature #1112: Refactor Cluster attributes to be used in other classes by inheritance 2012-02-27 18:55:15 +01:00
Carlos Martín
95b5f40504 Feature #1112 #962: Better handling of error messages in Clusters 2012-02-27 16:08:34 +01:00
Carlos Martín
85caad3a1e Feature #1112: Cluster does not inherit from ObjectCollection, instead it now contains 3 collections for hosts, DS and vnets 2012-02-27 14:55:43 +01:00
Ruben S. Montero
37e25141de feature #1112: Makes system datastore access safer 2012-02-26 21:52:10 +01:00
Ruben S. Montero
5363c4ff05 feature #1112: Fix VM paths for the new system datastore 2012-02-25 23:31:44 +01:00
Ruben S. Montero
aecacf5c80 feature #1112: Prepare TM to use a single Transfer Manager driver that handle multiple Datastore transfer plugins 2012-02-25 01:28:28 +01:00
Ruben S. Montero
96e1055543 feature #1112: Get TM_MAD from Datastores 2012-02-25 01:25:59 +01:00
Ruben S. Montero
7279fc1b96 feature-#1112: Add remote_system_dir for Virtual Machines 2012-02-25 01:25:28 +01:00
Ruben S. Montero
80b49ff6b4 feature #1112: Add system_dir for VMs 2012-02-24 23:13:22 +01:00
Ruben S. Montero
fc6aa51c0d feature #962, feature #1112: Improve error messages when getting an Image or a Virtual Network 2012-02-24 21:13:56 +01:00
Carlos Martín
f6615f66d2 Feature #1112: New method & command onecluster addhost 2012-02-24 18:55:21 +01:00
Carlos Martín
2580411adf Feature #1112: Add cluster attribute to Host 2012-02-24 18:53:18 +01:00
Carlos Martín
304db6457b Feature #1112: Remove duplicated cluster header 2012-02-24 16:58:11 +01:00
Carlos Martín
4e2b33fa23 Feature #1112: Clusters are coming back into fashion this season 2012-02-24 15:58:51 +01:00
Ruben S. Montero
f4743b6077 Fix Tests. 2012-02-24 14:55:31 +01:00
Ruben S. Montero
a0ca68d0e3 Remove TM from Host 2012-02-24 14:55:00 +01:00
Carlos Martín
7ffae6fb8e Feature #1112: Remove datastore initialization from oned.conf 2012-02-23 18:27:35 +01:00
Carlos Martín
1e63b6ce4e Feature #1112: Add TM_MAD to Datastores 2012-02-22 18:22:41 +01:00
Carlos Martín
98c5c246c2 Feature #1112: Do not use host's TM_MAD 2012-02-22 16:01:30 +01:00
Carlos Martín
546b6c8a4e Feature #1112: Restrict image creation on system DS. Create new default DS 2012-02-22 12:19:47 +01:00
Jaime Melis
ae35b61159 Bump to 3.3.0 2012-02-20 12:31:34 +01:00
Ruben S. Montero
3a8525bdc1 feature #1112: Work on the datastore drivers:
- Moved references to image_mad to datastore_mad. Adjusted installation dirs and source files
  - FS driver cp command uses DS_DRIVER_ACTION_DATA message
  - New libfs.sh to deal with datastore protocol
  - New xpath.rb to get XML elements in shell programs
  - Change oned.cong and OpenNebula core files to use DATASTORE instead of IMAGE
  - Change mkfs driver function to use the drv action data
2012-02-19 02:08:03 +01:00
Carlos Martín
b0063c0f80 Feature #1112: WIP, Use XML data in image manager driver messages 2012-02-17 17:28:31 +01:00
Carlos Martín
90f8569f18 Feature #1112: Missing file DatastoreTemplate.h 2012-02-17 11:46:46 +01:00
Carlos Martín
d2ad28a909 Feature #1112: Use SYSTEM_DS values from oned.conf to create default DS 2012-02-16 20:17:36 +01:00
Carlos Martín
4e2bd36415 Feature #1112: Datastores are now defined with templates. New att. type and base path 2012-02-16 19:37:08 +01:00
Carlos Martín
0dfb521b9b Feature #1112: Create default system datastore at bootstrap 2012-02-15 17:17:32 +01:00
Carlos Martín
174ba75d63 Feature #1112: Move datastore definition from image template to xml-rcp parameter 2012-02-15 16:47:52 +01:00
Ruben S. Montero
d754c987e6 feature 1112: Work integrating datastores and images 2012-02-15 00:19:42 +01:00
Carlos Martín
e9d026e3ae Feature #1112: WIP associate Images to Datastores 2012-02-10 19:28:18 +01:00
Carlos Martín
e76e1227d3 Feature #1112: Add datastore to ObjectType strings 2012-02-10 14:55:29 +01:00
Carlos Martín
b495e868b3 Feature #1112: Fix one.datastore.delete 2012-02-10 13:27:26 +01:00
Carlos Martín
354ef28985 Feature #1112: Continue integration of DatastorePool in Nebula class 2012-02-10 13:24:52 +01:00
Ruben S. Montero
69e9192a98 feature-1112: Delete dspool when destoying the Nebula class 2012-02-10 01:18:46 +01:00
Ruben S. Montero
1d8d821d04 feature #1112: Change xml-rpc method name 2012-02-10 00:51:26 +01:00
Carlos Martín
9ec4b450a4 Feature #1112: Create Datastore and DatastorePool classes, and RM methods 2012-02-09 17:56:47 +01:00
Carlos Martín
5cf1b27e2a Feature #1095: Templates in one.*.allocate, one.*.update & one.vn.add/rmleases can be in XML 2012-01-30 19:31:21 +01:00
Carlos Martín
b081743902 Bug #1087: Update cache name index after a chown operation
(cherry picked from commit def2de2a68)
2012-01-25 15:58:34 +01:00
Carlos Martín
d40095c523 Bug #1086: Re-implement cache key for User, Group and Host pools
(cherry picked from commit 03e6449d46)
2012-01-25 12:30:12 +01:00
Carlos Martín
aa60b0f5ac Feature #1070: Move set_restricted_attributes to base class Template 2012-01-24 03:00:57 -08:00
Ruben S. Montero
6d15673184 feature #1070: Moved some logic to Template classes 2012-01-23 23:09:47 +01:00
Carlos Martín
deb244c1b6 Feature #1070: Make VM and IMG restricted attributes configurable in oned.conf 2012-01-23 08:18:12 -08:00
Carlos Martín
5bd2e8fa54 Feature #940: Add restricted attributes for Images 2012-01-20 17:45:14 +01:00
Carlos Martín
ef241ba919 Fix description in xml-rpc chmod methods 2012-01-18 18:13:19 +01:00
Jaime Melis
4869bc3634 Merge branch 'master' of git.opennebula.org:one 2012-01-12 12:29:37 +01:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Carlos Martín
f1478e680e Feature #862: Change RMDelete auth. request to ADMIN for Hosts, Groups and Users, and MANAGE for the rest 2012-01-12 12:07:03 +01:00
Tino Vazquez
e0ea726eeb feature #1020: Default value for VMware datacenter 2012-01-11 12:46:49 +01:00
Carlos Martín
d36e3f1cf9 Feature #862: Remove PUBLIC from the authorization driver protocol 2012-01-10 15:24:01 +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
30acd6df4f feature #862: Modified behavior of MINE, MINE-GROUP ALL queries 2012-01-06 01:12:55 +01:00
Carlos Martín
230252f0b4 Feature #862: Restore the MINE_GROUP filter flag for poolinfo calls. Change the default flag to 'ALL' in CLI and Sunstone 2012-01-05 18:56:37 +01:00
Carlos Martín
2f080668d8 Feature #862: Merge RequestManagerPoolInfo into RequestManagerPoolInfoFilter 2012-01-05 18:31:19 +01:00
Ruben S. Montero
2af47bf630 feature #862: DELETE now requires MANAGE and CREATE permissions over the object 2012-01-05 02:39:00 +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
Carlos Martín
f1978f620a Feature #862: Change chown auth requests, allowing users to change their group, and change the group of their resources if they have USE rights over the new Group 2012-01-03 22:59:40 +01:00
Carlos Martín
9601533b19 Feature #862: Add default permission to Group so users can USE their own group 2012-01-03 10:08:51 -08:00
Ruben S. Montero
a77b5d4acd Merge branch 'master' into feature-862 2012-01-03 03:01:43 +01: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
7b11944a5a Get host permission attributes from Host object in RequestManagerVirtualMachine 2012-01-02 22:34:08 +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
Ruben S. Montero
a7d5e49264 feature #862: ADMIN is required for changing an user auth driver 2012-01-02 04:53:22 +01:00
Ruben S. Montero
4df973b95c Merge branch 'feature-132' 2012-01-02 03:04:53 +01:00
Ruben S. Montero
8f160525cd Merge branch 'feature-360' 2012-01-02 03:02:53 +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
8e6aba9ba5 Create 3 ACL rules from the object's permission attributes in AclManager::authorize 2011-12-30 16:27:42 +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
Carlos Martín
e2f51e7861 Change ACL operations to USE, MANAGE, ADMIN & CREATE 2011-12-29 08:09:53 -08:00
Ruben S. Montero
7301def913 feature #132: Support for reboot action in OpenNebula core 2011-12-25 23:46:19 +01:00
Ruben S. Montero
42cebe30c1 Bug #1036: Local hooks are now executed from $VAR_LOCATION/remotes/hooks. Remote hooks are still executed from the SCRIPTS_REMOTE_PATH. 2011-12-19 23:35:46 +01:00
Ruben S. Montero
f41a20d4dd Bug #963: Prevents seg fault if user is freed while executing RM action 2011-12-19 22:42:33 +01:00
Carlos Martín
f0d8ac78d6 Bug #759: Check if XML is valid before it is stored in the DB. 2011-12-19 17:09:31 +01:00
Ruben S. Montero
3f38152881 feature #360: Scheduler now uses configuration file parameters. Removed sched options from one start script and scheduler daemon 2011-12-15 01:19:23 +01:00
Ruben S. Montero
52819b7909 feature #360: Split NebulaTemplate class to support addtional configuration files for OpenNebula daemons 2011-12-13 23:57:56 +01:00
Carlos Martín
3bce21e03a Modify one.host.allocate signature, to match changes of commit:665036ef 2011-12-13 17:36:20 +01:00
Jaime Melis
db18cbe829 Bump to version 3.1.80 2011-12-05 17:56:34 +01:00
Ruben S. Montero
6c7bbe6d76 Merge branch 'feature-602'
Conflicts:
	src/vnm/test/VirtualNetworkPoolTest.cc
2011-12-04 19:58:51 +01:00
Ruben S. Montero
3874271a69 Merge branch 'master' into feature-863
Conflicts:
	install.sh
	src/cli/one_helper/onevnet_helper.rb
	src/mad/ruby/ActionManager.rb
2011-12-02 18:13:39 +01:00
Carlos Martín
5f7cea8083 Feature #602 #863: Add VLAN tag to vnets and VM NIC attribute
(cherry picked from commit cdf1231f81)

Conflicts:

	src/cli/one_helper/onevnet_helper.rb
	src/vnm/test/VirtualNetworkPoolTest.cc
2011-12-02 12:43:29 +01:00
Carlos Martín
cdf1231f81 Feature #602 #863: Add VLAN tag to vnets and VM NIC attribute 2011-12-02 12:23:21 +01:00
Ruben S. Montero
8117ca4b77 Bug: Fixed wrong method name for VM migrate 2011-12-01 21:58:29 +01:00
Carlos Martín
d3081e4cb6 Feature #862: 'one* list a' commands return all the resources over which the user has INFO rights 2011-12-01 09:56:29 -08:00
Carlos Martín
05e40b5b6f Feature #602: Small bugfixes 2011-11-29 18:09:19 +01:00
Carlos Martín
4904cc964b Feature #965: New one.vn.hold and one.vn.release methods to mark IPs as used, without an associated VM. Includes Ruby OCA and CLI 2011-11-29 16:12:00 +01:00
Carlos Martín
effb4a5712 Feature #602: Refactorin of the Range creation code. New method RangedLeases::process_template 2011-11-28 17:24:46 +01:00