Rubén S. Montero
ed8ceecd35
simpler template parser
...
git-svn-id: http://svn.opennebula.org/one/trunk@397 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-08 21:53:52 +00:00
Rubén S. Montero
8abd97c5f4
Restored previous semantics, with a better parser
...
git-svn-id: http://svn.opennebula.org/one/trunk@396 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-08 16:29:29 +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
f1f6972bae
Updated examples with context and new "syntax"
...
git-svn-id: http://svn.opennebula.org/one/trunk@394 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 01:15:47 +00:00
Rubén S. Montero
ee35b3db66
Now prolog generates the context file and includes a new CONTEXT action
...
in the transfer script
git-svn-id: http://svn.opennebula.org/one/trunk@393 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:56:26 +00:00
Rubén S. Montero
b0bc0222da
Removed compilation warning
...
git-svn-id: http://svn.opennebula.org/one/trunk@392 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:55:35 +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
c13cbce13a
Get rid of not used defaults for IM and TM drivers
...
git-svn-id: http://svn.opennebula.org/one/trunk@390 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-07 00:50:05 +00:00
Rubén S. Montero
1d94e0ba52
Cosmetic changes...
...
git-svn-id: http://svn.opennebula.org/one/trunk@389 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 15:54:57 +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
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
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
Rubén S. Montero
cd0cf1fcd8
Parsers generated with latest version of bison/flex
...
git-svn-id: http://svn.opennebula.org/one/trunk@384 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-06 12:07:32 +00:00
Rubén S. Montero
8364c1cb5c
Fix core in the LibVirtDriver when there is no OS in the template
...
git-svn-id: http://svn.opennebula.org/one/trunk@380 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-26 17:15:20 +00:00
Rubén S. Montero
78cb777e46
Moved ssh_action method to base class VirtualMachineDriver
...
git-svn-id: http://svn.opennebula.org/one/trunk@377 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-23 11:55:31 +00:00
Rubén S. Montero
a6587660d0
fix several bugs
...
git-svn-id: http://svn.opennebula.org/one/trunk@376 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 22:51:54 +00:00
Rubén S. Montero
118c07176c
Added unknown state
...
git-svn-id: http://svn.opennebula.org/one/trunk@375 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 21:36:10 +00:00
Rubén S. Montero
3dee59645d
New version of the Xen driver, using the new driver engine. Initial
...
version
git-svn-id: http://svn.opennebula.org/one/trunk@374 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 21:35:49 +00:00
Rubén S. Montero
97926ca5de
Minor changes in LibVirt driver
...
git-svn-id: http://svn.opennebula.org/one/trunk@373 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 19:35:32 +00:00
Rubén S. Montero
e91583d8ae
New version of the KVM driver using the OpenNebulaDriver engine
...
git-svn-id: http://svn.opennebula.org/one/trunk@372 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 01:46:26 +00:00
Rubén S. Montero
6eb06140d0
Added support to specify stdin for commands
...
git-svn-id: http://svn.opennebula.org/one/trunk@371 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-21 01:45:42 +00:00
Rubén S. Montero
ee9135b051
Additional checks for deployment file get method
...
git-svn-id: http://svn.opennebula.org/one/trunk@368 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 20:24:24 +00:00
Rubén S. Montero
7d14562976
Support for LOG messages not associated to a VM in TM an VMM (ticket
...
#76 )
git-svn-id: http://svn.opennebula.org/one/trunk@367 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 20:23:50 +00:00
Rubén S. Montero
fcc75510c4
worng check
...
git-svn-id: http://svn.opennebula.org/one/trunk@366 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 00:30:31 +00:00
Rubén S. Montero
23cc92c69c
Added defaults values for EC2 drivers, removed the EC2 core driver. Now,
...
we fully support the XML driver to extend OpenNebula. Other minor
changes to improve EC2.
git-svn-id: http://svn.opennebula.org/one/trunk@365 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-15 00:24:39 +00:00
Rubén S. Montero
dd6c5655f4
New names for XML root element documents: VM, HOST and NETWORK
...
git-svn-id: http://svn.opennebula.org/one/trunk@364 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-14 22:32:21 +00:00
Rubén S. Montero
19f6f67160
Fix tabs and missing methos
...
git-svn-id: http://svn.opennebula.org/one/trunk@363 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-13 19:35:40 +00:00
Rubén S. Montero
9d350c71a1
New version of the EC2 Driver, now uses XML and new driver engine.
...
Needs to include defaults!
git-svn-id: http://svn.opennebula.org/one/trunk@359 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-13 01:19:26 +00:00
Rubén S. Montero
ffef55ca3e
wrong method name
...
git-svn-id: http://svn.opennebula.org/one/trunk@358 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-13 00:45:31 +00:00
Rubén S. Montero
e138fcef93
restored missing ruby Interpreter
...
git-svn-id: http://svn.opennebula.org/one/trunk@357 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-13 00:05:45 +00:00
Rubén S. Montero
9dc7194763
returns nil if local deployment file does not exists
...
git-svn-id: http://svn.opennebula.org/one/trunk@356 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-12 20:44:27 +00:00
Rubén S. Montero
8ed6fc404f
Get rid of "one-time" functions. Added failure examples to the test
...
git-svn-id: http://svn.opennebula.org/one/trunk@354 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-12 11:12:22 +00:00
Rubén S. Montero
b6ac571153
just make use of constants
...
git-svn-id: http://svn.opennebula.org/one/trunk@353 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-12 11:11:42 +00:00
Javier Fontán Muiños
c03b581f7a
tm_mad: License, some documentation and cleaning
...
git-svn-id: http://svn.opennebula.org/one/trunk@352 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 20:53:01 +00:00
Javier Fontán Muiños
7e9d7f420e
CommandManager: License, some documentation and cleaning
...
git-svn-id: http://svn.opennebula.org/one/trunk@351 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 20:22:26 +00:00
Javier Fontán Muiños
24bb351622
Move stdio descriptor close to base clase
...
git-svn-id: http://svn.opennebula.org/one/trunk@350 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 20:10:34 +00:00
Javier Fontán Muiños
27ba9de530
Added a run class method to command executers
...
git-svn-id: http://svn.opennebula.org/one/trunk@349 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 17:55:23 +00:00
Javier Fontán Muiños
2908d083e3
Ported tm mad to use the new mad libraries
...
git-svn-id: http://svn.opennebula.org/one/trunk@348 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 17:41:47 +00:00
Javier Fontán Muiños
038a3a0efc
Adding new libraries to the installation
...
git-svn-id: http://svn.opennebula.org/one/trunk@347 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-10 17:37:38 +00:00
Javier Fontán Muiños
c8a83f5638
Added a test mad for the new libraries
...
git-svn-id: http://svn.opennebula.org/one/trunk@346 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 22:52:20 +00:00
Javier Fontán Muiños
62e25f09de
Adding logging facilities to command execution
...
git-svn-id: http://svn.opennebula.org/one/trunk@345 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 18:47:43 +00:00
Javier Fontán Muiños
6119f446b6
Close handles of open3 calls
...
git-svn-id: http://svn.opennebula.org/one/trunk@344 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 17:16:23 +00:00
Javier Fontán Muiños
8792c16f7f
First version of new command exection library
...
git-svn-id: http://svn.opennebula.org/one/trunk@343 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-09 16:20:30 +00:00
Rubén S. Montero
99d02a2689
The driver engine now uses symbols to address actions. Method objects
...
are used when an action is registered
git-svn-id: http://svn.opennebula.org/one/trunk@342 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-08 22:49:36 +00:00
Javier Fontán Muiños
2182cfe6ca
Let the machine shutdown before destroying in xen driver
...
git-svn-id: http://svn.opennebula.org/one/trunk@341 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-02-06 15:13:10 +00:00
Rubén S. Montero
5269d55770
Added base class for VMM drivers, added some constants to base classes
...
and INIT action
git-svn-id: http://svn.opennebula.org/one/trunk@337 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 23:08:08 +00:00
Rubén S. Montero
39a6460cb4
OpenNebulaDriver now is an ActionManager
...
git-svn-id: http://svn.opennebula.org/one/trunk@336 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 20:58:20 +00:00
Rubén S. Montero
b31669f4ff
fix indents and example
...
git-svn-id: http://svn.opennebula.org/one/trunk@335 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 18:59:40 +00:00
Rubén S. Montero
0357b87471
Built-in FINALIZE action for the ActionManager. No thread is now started
...
for the ActionManager. Updated the examples
git-svn-id: http://svn.opennebula.org/one/trunk@334 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 18:45:13 +00:00