Commit Graph
26 Commits
Author SHA1 Message Date
Ruben S. Montero 1a4f9e09f0 feature #2858: Support for Address Range attributes in context 2014-05-17 01:17:58 +02:00
Ruben S. Montero 9f316bed12 feature #2465: Compile new parsers 2014-03-05 18:14:10 +01:00
Ruben S. Montero c1d86c3c18 Bug #2285: redo parsers 2013-11-12 14:06:45 +01:00
Ruben S. Montero 028c529631 feature #1793: Add parsers 2013-05-14 23:03:13 +02:00
Ruben S. Montero 2ddce578a3 Bug #1915: Add new parser files 2013-04-16 16:36:36 +02:00
Ruben S. Montero d732c5ae2f feature #1556: upload new parser for vm_var 2013-02-28 03:42:19 +01:00
Ruben S. Montero 9e99408878 bug #1738: Complie with latests flex and yacc 2013-02-01 12:25:17 +01:00
Ruben S. Montero 46c3a8ec1c feature #1617: Implements a new $FILE parser for VM templates. Initial function to get kernels from FILE_DS datastores 2012-11-17 02:46:03 +01:00
Ruben S. Montero 03f15b6498 feature #1428: Add UNAME, GID, GNAME to the set of predefined variables to CONTEXT attribute 2012-08-28 16:52:03 +02:00
Ruben S. Montero bcd9281b63 bug: solve reference by name in CONTEXT attribute for name and virtual network 2011-12-10 21:08:03 +01:00
Ruben S. Montero a06b5f84d0 Feature: Enable use of user metadata in context 2011-11-10 23:35:12 +01:00
Ruben S. Montero fc9278f18b feature #513: UID, TEMPLATE can be used in context. Also IMAGE template attributes can be referred 2011-05-13 01:05:04 +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
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 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 61d7079cc2 bug #196: Added parsing of share variables, it includes RUNNING_VMS, USED_CPU, USED_MEMORY...
(cherry picked from commit b59616d00a)
2010-03-08 17:22:54 +01:00
Ruben S. Montero 3366abdb7f feature #189: Support to access NETWORK templates in VM CONTEXT (e.g. $NETWORK[DNS]) 2010-03-06 00:15:03 +01: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
Rubén S. Montero 9e334f7245 #103: Better parsing for vm template attributes
git-svn-id: http://svn.opennebula.org/one/trunk@507 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-06 17:43:40 +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 eb38f51eb6 Blocking-free version of the VirtualMachine Attribute parser
git-svn-id: http://svn.opennebula.org/one/trunk@439 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-01 09:22:46 +00:00
Rubén S. Montero 5d2df98840 Improved template & variable parsers. Now variables can only have
alpha-numeric characters and numbers. Values can be numbers or strings.


git-svn-id: http://svn.opennebula.org/one/trunk@391 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:54:49 +00:00
Rubén S. Montero 2e4beab16e Minor change, loop condition
git-svn-id: http://svn.opennebula.org/one/trunk@388 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 15:11:32 +00:00
Rubén S. Montero 9d8a87e472 Attribute names should be always uppercase
git-svn-id: http://svn.opennebula.org/one/trunk@387 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 13:34:31 +00:00
Rubén S. Montero 294950443c Parser and syntax for temaplate based variables in the form $VAR,
$VECTOR[VAR], $VECTOR[VAR, VAR2=VAL], $ID.CONTEXT_VAR



git-svn-id: http://svn.opennebula.org/one/trunk@385 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 12:09:15 +00:00