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

640 Commits

Author SHA1 Message Date
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
Carlos Martín
83e82830c8 Feature #602: Refactor Ranged VNets to store first and last IP of the range 2011-11-25 10:02:17 -08:00
Javi Fontan
85a676e959 now vmm deploy gets local and remote deployment paths 2011-11-16 18:11:53 +01:00
Ruben S. Montero
535d1c06c4 feature #966: Vnet can now be referred by name with NETWORK 2011-11-12 23:39:10 +01:00
Ruben S. Montero
34cb7a19be feature #966: Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME 2011-11-12 03:20:59 +01:00
Carlos Martín
7efcb0e140 Feature #863: Small comment fix 2011-11-11 17:11:59 +01:00
Ruben S. Montero
744ab1faca feature #863: Fix XML for the driver message 2011-11-11 00:45:33 +01:00
Ruben S. Montero
fbcc340c8a feature #863: change prototype for vnm_mad functions 2011-11-10 22:53:39 +01:00
Carlos Martín
665036efcf Feature #863: Add Virtual Network MAD to hosts 2011-11-10 17:28:32 +01:00
Ruben S. Montero
5571bd81c0 feature #863: Fix comment on for the XML format of the driver message 2011-11-10 11:20:49 +01:00
Ruben S. Montero
f6ce18bfb4 feature #863: Change the OpenNebula Core to VMM Driver protocol now all messages have the same format:
ACTION ID XML_B64_DATA
The B64 data includes the parameters for each action plus a new field for the network driver used by the target host.

Also this commit changes the tree for the networking drivers.
2011-11-10 11:15:58 +01:00
Carlos Martín
45e4923dc0 Fixes outdated xml-rpc methods signatures 2011-11-02 17:36:53 +01:00
Ruben S. Montero
9abd1e91a4 Merge branch 'master' into bug-847 2011-10-27 01:46:30 +02:00
Ruben S. Montero
76243c5ea8 Merge branch 'bug-868' 2011-10-27 01:43:28 +02:00
Carlos Martín
c7584ad602 Bug #847: Automatically create at bootstrap new user serveradmin with server_cipher driver. 2011-10-25 18:49:09 +02:00
Carlos Martín
0bd23e33d9 Bug #847: Change the expected session token for server users to allow session caching 2011-10-24 18:04:00 +02:00
Ruben S. Montero
2650f81e50 Merge branch 'master' into bug-847
Conflicts:
	src/ozones/Server/lib/OZones/AggregatedPool.rb
	src/ozones/Server/lib/OZones/Zones.rb
2011-10-23 00:42:39 +02:00
Ruben S. Montero
03c9e6bc9a feature #940: Removed security check in tm_context drivers. Added check for restricted attributes to
VirtualMachineTemplate class. VM creation check templates for non-oneadmin users.
2011-10-22 22:38:00 +02:00
Carlos Martín
f0b1a28d89 Bug #868: Add new one.image.chtype method, in core, ruby & java oca, and CLI. Needs testing 2011-10-21 18:50:04 +02:00
Ruben S. Montero
7a44026d66 bug #847: Get rid of unneeded constructor in AuthRequest 2011-10-21 10:15:26 +02:00
Ruben S. Montero
3a2cbc229b bug #847: This commit includes several changes to the auth mechanism:
1.- Simplified auth methods for UserPool
2.- Added special SERVER_AUTH method for sudo'ing
3.- Added special PUBLIC_AUTH method for only-public interface users
4.- Added special driver name ("default") to authenticate unknown users
2011-10-21 01:17:46 +02:00
Carlos Martín
86c127320e Bug #847: Perform sha1 for new passwords if the core driver is used 2011-10-20 19:22:42 +02:00
Carlos Martín
303d17b260 Bug #847 - #918: Add password to one.user.chauth method, this way the driver and the auth driver are changed atomically 2011-10-20 18:58:40 +02:00
Carlos Martín
319e170ea5 Bug #847: Add new ACL operation to change the user auth driver. TODO: update Sunstone acl tab 2011-10-20 17:46:33 +02:00
Carlos Martín
30734a57f2 Bug #847 - #929: Add session expiration time in oned.conf 2011-10-20 12:53:36 +02:00
Carlos Martín
0ff522488f Bug #847 - #929: Include authentication session expiration time 2011-10-20 11:55:44 +02:00
Carlos Martín
b8ab225614 Bug #847 - #928: The character ':' is now allowed in passwords 2011-10-18 18:48:31 +02:00
Carlos Martín
d2e781cd27 Bug #847 - #918: Add method to change user auth driver in core, ruby oca and CLI 2011-10-17 15:08:00 +02:00