Commit Graph
99 Commits
Author SHA1 Message Date
Ruben S. Montero 727826b0a8 Merge branch 'feature-1223'
Conflicts:
	src/image/ImageManagerActions.cc
	src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java
2012-06-19 23:48:13 +02:00
Ruben S. Montero 2f0c1d0e7e feature #1223: Included quotas for detach. Refactor some detach methods 2012-06-15 16:28:30 +02:00
Ruben S. Montero 1dbeaa1719 feature #1233: Added quotas.Refactor Attach methods 2012-06-15 12:28:20 +02:00
Carlos Martín 554321c73b Feature #1223: New VM state HOTPLUG, continue work on the attach operation 2012-06-14 13:02:18 +02:00
Ruben S. Montero c503cea9a6 Merge branch 'master' into feature-1291. It also implements a new state machine for images to fix #1297
Conflicts:
	include/Template.h
	src/image/Image.cc
	src/image/ImageManagerActions.cc
	src/image/ImageManagerDriver.cc
	src/rm/RequestManagerAllocate.cc
2012-06-12 18:59:23 +02:00
Carlos Martín b377e4db99 Feature #1291: New one.image.clone method
The core functionality is in place, but it is using the CP command.
To make it work, the ds_map cp scripts need to ignore the
check_restricted call. We will have to add another script to
the ds_mad drivers, probably clone
2012-05-25 12:56:51 +02:00
Carlos Martín fe7a9e6eb4 Bug #1184: XML template parser takes into account whitespaces text nodes 2012-04-03 21:33:37 +02:00
Carlos Martín c03b78732f Better error message cleanup in Template::parse_str_or_xml 2012-02-08 17:10:07 +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 aa60b0f5ac Feature #1070: Move set_restricted_attributes to base class Template 2012-01-24 03:00:57 -08: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
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero 5c74e8c537 Bug #1033: Generate template parser files from 60f6321eb4 2011-12-19 22:19:50 +01:00
Carlos Martín 60f6321eb4 Bug #1033: Successfully parse empty templates 2011-12-19 09:42:40 -08:00
Ruben S. Montero a06b5f84d0 Feature: Enable use of user metadata in context 2011-11-10 23:35:12 +01:00
Ruben S. Montero 1d9d1bd7bb bug #847: Fix constness for erase method in PoolObjectSQL. Better check in template erase 2011-10-11 15:46:58 +02:00
Ruben S. Montero 6c55f347ec bug #847: Added method to get & erase an attribute. Cleaned up prototypes 2011-10-11 12:47:30 +02:00
Javi Fontan 79ca4ce570 bug #627: deleted unused sqlite3 include 2011-05-10 15:45:16 +02:00
Carlos Martín b27c9372f5 Feature #487: Small auth and DB bugfixes, and support to allocate a VM from a template using its TEMPLATE_ID 2011-04-01 17:17:26 +02:00
Ruben S. Montero 35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Ruben S. Montero e18675bf67 feature #407: Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name 2011-03-04 22:37:21 +01:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín ebf66e0fda Feature #407: Host object uses new DB schema, storing the contents as XML 2011-02-24 18:12:26 +01:00
Ruben S. Montero 3433820b94 feature #457: Refactor Sconstruct files 2011-01-27 23:12:48 +01:00
Carlos Martín 43b4340177 Feature #457: Refactor of tests build process 2011-01-27 16:53:11 +01:00
Carlos Martín 01f40276ca Features #379 & #457: Code refactor to homogenize tests 2011-01-21 18:24:27 +01:00
Ruben S. Montero 3130caf059 Merge branch 'one-2.0' of dsa-research.org:one into one-2.0 2010-09-29 11:36:31 +02:00
Carlos Martín f17ee423ff Feature #192: Tests fixed for commit f1ef57e0b5, and testing DB name changed for consistency. 2010-09-28 16:18:33 +02:00
Javi Fontan 2bf89b9143 Added xml output to cppunit tests 2010-09-17 18:38:38 +02:00
Ruben S. Montero 1ad45c3f26 Fix compilation issues with parsers 2010-09-02 22:09:31 +02:00
Ruben S. Montero 32292a134c Adds -Werror to Sconstruct files. Path by Charles Loomis
(cherry picked from commit 2b34e8a1c0)
2010-09-02 20:32:07 +02:00
Ruben S. Montero f1ef57e0b5 A $ONE_LOCATION/var/config file is written with the configuration being
used by the OpenNebula daemon. The file is written in plain txt format.
2010-08-30 22:25:59 +02:00
Ruben S. Montero 92c31a5052 a faster mem_collector, tests also updated 2010-08-10 16:30:54 +02:00
Ruben S. Montero 62fd74e890 Solved minor memory leaks when parser error occurs. Solved leaks in unit tests 2010-08-08 13:20:24 +02:00
Ruben S. Montero 1aa3052dfa Merge branch 'feature-282' into one-2.0
Conflicts:
	src/template/Template.cc
	src/template/test/SConstruct
2010-08-04 17:25:44 +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
Ruben S. Montero 5b333b98bd feature #282: clear the template before re-build 2010-07-29 20:33:36 +02:00
Ruben S. Montero 7dac88cd32 feature #282: Thread saefty & memory leaks for XML parsing 2010-07-29 20:18:02 +02:00
Carlos Martín 7e5d3cf87d feature #192: Tests for feature #282.
(cherry picked from commit ab24a66e0e)
2010-07-29 18:49:20 +02:00
Carlos Martín 8384abf0a2 feature #282: Templates can be now parsed from xml-formatted strings.
(cherry picked from commit 35aa6ade2c)
2010-07-29 18:49:02 +02:00
Carlos Martín ab24a66e0e feature #192: Tests for feature #282. 2010-07-29 18:24:03 +02:00
Carlos Martín 35aa6ade2c feature #282: Templates can be now parsed from xml-formatted strings. 2010-07-29 18:23:20 +02:00
Ruben S. Montero fa5684c894 feature #200:Fix tests 2010-07-01 16:26:03 +02:00
Ruben S. Montero 770ed2a966 bug: Check that id has been initialized before inserting 2010-07-01 13:36:03 +02:00
Tino Vázquez 5cb829cd2f feature #200: Removing unneeded callbacks from TemplateSQL 2010-07-01 13:29:03 +02:00
Tino Vázquez ef13e81e36 feature #200: Remove selecting max oid from template SQL 2010-07-01 13:04:51 +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
Tino Vázquez ac2ed32178 Merge branch 'master' into feature-200 2010-06-14 13:04:08 +02:00