1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

44 Commits

Author SHA1 Message Date
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
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +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
Carlos Martín
21bca20780 Bug #848: Add error message and stop oned execution if bootstrap fails 2011-10-10 06:14:46 -07: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
Ruben S. Montero
8e33e4cded feature #687: Resources now stores the name of the owner and the group 2011-06-30 11:31:00 +02:00
Ruben S. Montero
d5bd0e16bd feature #696: Added state flag for VM pool info. Removed uneeded dummps in VMPool 2011-06-27 13:19:03 +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
09c93c7528 Feature #407: Remove usernames from owned resources, only user-id is stored now. 2011-05-12 17:10:35 +02:00
Carlos Martín
5b9fed52f7 Feature #487: First version of TemplatePool added to the core: DB, Pool and RM methods. 2011-03-30 19:03:49 +02:00
Ruben S. Montero
35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Carlos Martín
b2f1051e07 Feature #407: Refactor of pool dumps to be performed in PoolSQL class 2011-03-09 11:25:46 +01:00
Ruben S. Montero
ac6c5644fd feature #407: Minor changes for the VirtualMachine Pool 2011-03-08 17:55:14 +01:00
Ruben S. Montero
9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Carlos Martín
493a9e9c8e Feature #407: Virtual Machine uses new xml blob DB schema 2011-03-01 17:47:20 +01:00
Jaime Melis
4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín
90a58ce066 one.vmpool.info xml-rpc method now has 2 more parameters
The method keeps compatibility, and can be called with 2 or 4 parameters

It now returns the the extended info upon request, reading only the vm_pool
table in the DB if the Histoy and username are not needed

The last parameter allows filtering by VM status
2010-08-27 16:11:28 +02:00
Ruben S. Montero
7ac6121da9 bug #274: Error messages are now sent to the user when allocating objects 2010-08-05 19:28:28 +02:00
Ruben S. Montero
4f82f078b8 Merge branch 'bug-295' into one-2.0
Conflicts:
	include/Image.h
	src/image/Image.cc
2010-08-04 17:42:53 +02:00
Carlos Martín
fa002ca701 feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB. 2010-08-04 16:55:00 +02:00
Carlos Martín
7221ae061c feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column. 2010-08-04 10:30:31 +02:00
Ruben S. Montero
04874dbf7a bug #295: Hooks can be specified without absolute path. Adjusted share location for system-wide installations 2010-08-02 11:24:01 +02:00
Ruben S. Montero
34b2ed6c5c feature #203: Authorization method for VMs now in RM 2010-07-14 18:11:29 +02:00
Ruben S. Montero
1d54c60f45 Merge branch 'feature-261' 2010-06-28 17:19:16 +02:00
Ruben S. Montero
2e06f4f26d Merge branch 'feature-189'
Conflicts:
	include/VirtualMachine.h
	include/VirtualMachinePool.h
	include/VirtualNetwork.h
	share/etc/oned.conf
	src/scheduler/src/xml/expr_arith.cc
	src/scheduler/src/xml/expr_arith.h
	src/scheduler/src/xml/expr_bool.cc
	src/scheduler/src/xml/expr_bool.h
	src/scheduler/src/xml/expr_parser.c
	src/template/template_parser.c
	src/template/template_syntax.cc
	src/template/template_syntax.h
	src/vm/VirtualMachine.cc
	src/vm/VirtualMachinePool.cc
	src/vm/vm_var_parser.c
	src/vm/vm_var_syntax.cc
	src/vm/vm_var_syntax.h
2010-06-25 14:34:44 +02:00
Carlos Martin and Ruben S. Montero
37f8c0d4dc feature #261: Added support for limiting the number of VMs processed per monitoring interval. 2010-06-17 23:55:01 +02:00
Ruben S. Montero
4be783e9be Back-port of REQUIREMENTS parsing for VM templates 2010-06-02 14:51:05 +02:00
Constantino Vázquez Blanco
f91f9de99c feature-#206: Modified return value of VM pool allocate to comply with virtual definition 2010-05-03 17:21:35 +02:00
Ruben S. Montero
ce7d0681e3 feature #206: VirtualMachine uses SqlDB 2010-04-10 22:16:47 +02:00
Ruben S. Montero
28e9d41ab1 feature #189: Moved attribute parsing to VirtualMachine class (get rid of cross references). Added Requirements parsing and initial vnc_port generation 2010-03-05 19:17:52 +01:00
Javier Fontán Muiños
fdfe10407e Changed copyright notice 2010-02-22 18:00:30 +01:00
Rubén S. Montero
88e97aca68 parse requirements
git-svn-id: http://svn.opennebula.org/one/branches/DEVELOPMENT/Context_Requirements@960 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-12-21 12:07:26 +00:00
Rubén S. Montero
d965eb44aa Merge of the OpenNebulaXML branch (-r535:HEAD)
git-svn-id: http://svn.opennebula.org/one/trunk@667 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-09 14:34:34 +00:00
Rubén S. Montero
a3d6025224 New method to get the pool through the xml-rpc interface. Some work to have XML format and plain text for the objects.
git-svn-id: http://svn.opennebula.org/one/trunk@521 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-22 00:46:52 +00:00
Rubén S. Montero
7a144a8e1e #15 define hooks in the oned.conf file
git-svn-id: http://svn.opennebula.org/one/trunk@456 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-04 23:10:02 +00:00
Rubén S. Montero
258c8c4abf #15 : VirtualMachine Hooks, allocate (stub now). Needs to be integrated
with the Execution Manager to actually execute the hook. 


git-svn-id: http://svn.opennebula.org/one/trunk@447 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-02 10:56:09 +00:00
Rubén S. Montero
4c2d9df0a9 Simplified parsers (Flex include files).
Moved the VM attribute parser to VirtualMachine
Made some optimizations on the parsing


git-svn-id: http://svn.opennebula.org/one/trunk@446 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-02 10:14:54 +00:00
Rubén S. Montero
7791a6e3ba better deal with context attributes
git-svn-id: http://svn.opennebula.org/one/trunk@395 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-08 00:06:16 +00:00
Rubén S. Montero
e799c8b3ad Functions to generate the context file for a VM, and some minor
modifications and new functionality to deal with the Teamplates


git-svn-id: http://svn.opennebula.org/one/trunk@386 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 12:10:15 +00:00
Rubén S. Montero
60aff2d402 Trunk now is OpenNebula 1.3. New raw XML vmm drvier type. updated date in license
git-svn-id: http://svn.opennebula.org/one/trunk@330 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-26 18:25:15 +00:00
Rubén S. Montero
a08d1c2d06 Adds a new attribute (from the POLL string) to the VM template. It replaces the
attribute if it already exists. 


git-svn-id: http://svn.opennebula.org/trunk@65 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-20 22:41:20 +00:00
Rubén S. Montero
92b17d4eef Simplified history handling in VM
Solved some history timer issues
Improved life-cycle (address ticket #4)
Solved a couple of deadlocks in some RequestManager methods

git-svn-id: http://svn.opennebula.org/trunk@9 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-22 01:51:49 +00:00
Javier Fontán Muiños
6eb9fed97d Initial commit of ONE code
git-svn-id: http://svn.opennebula.org/trunk@2 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-17 16:27:32 +00:00