Commit Graph
61 Commits
Author SHA1 Message Date
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
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
Ruben S. Montero 2249929171 Merge branch 'feature-476'
Conflicts:
	src/vnm/VirtualNetwork.cc
2011-06-23 17:00:56 +02:00
Jaime Melis 5e3258c6f6 feature #476: new hook trigger on PROLOG 2011-06-07 17:58:25 +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
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 9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Ruben S. Montero fadbe3a4d7 feature #407: All resources now uses the base classes and index 2011-03-04 23:26:55 +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 f9902c89ec Bug #419: "SELECT *" SQL statement modified to use the column names 2011-01-27 17:23:51 +00:00
Ruben S. Montero cd05b5a1ef feature #357: Added on failed hook for VMs 2010-12-22 18:08:04 +01:00
Ruben S. Montero fbd2e2aefd fix white spaces 2010-08-27 16:36:36 +02: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 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 0139994dcf Merge branch 'feature-200' 2010-07-08 00:56:25 +02:00
Ruben S. Montero 334ad65c82 feature #200: Homogenous insert/allocate methods 2010-07-01 19:36:25 +02:00
Ruben S. Montero 1d54c60f45 Merge branch 'feature-261' 2010-06-28 17:19:16 +02:00
Ruben S. Montero 2d9d78a03a Merge branch 'master' into feature-200
Conflicts:
	include/VirtualNetwork.h
	src/vm/VirtualMachine.cc
2010-06-25 19:16:14 +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
Ruben S. Montero 8ac4bb438d feature #261: Monitor VMs for the first time 2010-06-18 00:58:49 +02:00
Ruben S. Montero 3ca2d5c755 feature #261: VM_POLLING_INTERVAL set to 0 disables VM monitoring 2010-06-18 00:23:56 +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
Tino Vázquez ac2ed32178 Merge branch 'master' into feature-200 2010-06-14 13:04:08 +02:00
Carlos Martín 0280c88bb6 Performance improvements for VMs SQL queries. 2010-06-11 20:25:49 +02:00
Carlos Martín 6d60b1c0b2 bug #259: Callback functions are locked until the DB query answer is processed. 2010-06-11 19:11:12 +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 484013d9b1 feature-#200: Polishing ImagePool classes 2010-05-24 11:31:09 +02:00
Constantino Vázquez Blanco 1b9ada2f8d feature-#206: MySQL syntax doesnt like == 2010-05-06 16:23:26 +02:00
Ruben S. Montero 0bf7092ffc bug: memory leak when a VM has a wrong template 2010-05-06 00:24:29 +02:00
Carlos Martín 85be6f3f84 feature #206: DB xml dump of VMs with history items now works for both Sqlite and MySQL. 2010-05-06 00:16:38 +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 21b729dbdd feature #192: Decouple Logger from Nebula class 2010-04-21 00:40:16 +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
Jaime Melis 9127ef6da2 Added the on done hook (#167)
git-svn-id: http://svn.opennebula.org/one/trunk@900 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-10-28 14:44:16 +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 0ec3d2e084 Added some hook samples to oned.conf and modified SHUTDOWN hook
git-svn-id: http://svn.opennebula.org/one/trunk@462 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-09 23:31:41 +00:00
Rubén S. Montero 3ae441a176 Re-design of State Hooks. Added some pre-defined state hooks to VM Pool
git-svn-id: http://svn.opennebula.org/one/trunk@461 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-09 23:08:54 +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