1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
Commit Graph

1294 Commits

Author SHA1 Message Date
Rubén S. Montero
fd5aed789a Prevents memory leak when replacing a template attribute
git-svn-id: http://svn.opennebula.org/one/trunk@432 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-29 21:27:55 +00:00
Rubén S. Montero
80bd74457b The Pool is now Hookable so we can hook on database updates
git-svn-id: http://svn.opennebula.org/one/trunk@430 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-27 00:32:02 +00:00
Rubén S. Montero
7b1f4a93ae New arguments for the hook
git-svn-id: http://svn.opennebula.org/one/trunk@429 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-23 15:03:09 +00:00
Rubén S. Montero
5147af2fca First version og the generic Hook interface
git-svn-id: http://svn.opennebula.org/one/trunk@428 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-21 01:23:35 +00:00
Constantino Vázquez Blanco
06dbeae737 Changed XML template element tag name to avoid possible future conflicts.
git-svn-id: http://svn.opennebula.org/one/trunk@398 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-10 17:32:04 +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
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
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
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
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
075e016cf5 New XML driver implementation
git-svn-id: http://svn.opennebula.org/one/trunk@331 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-26 18:27:03 +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
77681ccfc8 Address ticket #59
git-svn-id: http://svn.opennebula.org/one/trunk@294 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-02 14:58:51 +00:00
Rubén S. Montero
ba94c5bd31 Version information for the oned programm
git-svn-id: http://svn.opennebula.org/one/trunk@274 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-12-02 17:26:22 +00:00
Rubén S. Montero
8be88f795f Better printing of Template objects
git-svn-id: http://svn.opennebula.org/one/trunk@243 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-17 17:02:12 +00:00
Rubén S. Montero
2566d2fe23 Now a VM can ask for a specific lease, based on the IP
git-svn-id: http://svn.opennebula.org/one/trunk@239 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-15 00:40:27 +00:00
Rubén S. Montero
6c722bc64d Added method get_leases to make VirtualMachine::insert cleaner
git-svn-id: http://svn.opennebula.org/one/trunk@237 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-14 19:51:33 +00:00
Rubén S. Montero
7c251044a5 Minor leak in Nebula class
git-svn-id: http://svn.opennebula.org/one/trunk@233 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-13 20:12:52 +00:00
Constantino Vázquez Blanco
ee411e7963 Merged TransferManager and VirtualNetworkManager branches.
git-svn-id: http://svn.opennebula.org/one/trunk@230 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-13 16:21:17 +00:00
Rubén S. Montero
8be041503e Updated OneClient API, solved minor bugs when reading the template. Added a C Wrapper to ease the implementation of the libvirt driver
git-svn-id: http://svn.opennebula.org/one/trunk@135 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-10-10 23:24:47 +00:00
Constantino Vázquez Blanco
67bb553001 Fix for ticket #36 - Not compiling under gcc 4.3.0
git-svn-id: http://svn.opennebula.org/one/trunk@110 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-10-02 16:09:12 +00:00
Rubén S. Montero
0adc262a8d simple API to invoke the oned functionality
git-svn-id: http://svn.opennebula.org/one/trunk@109 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 16:09:26 +00:00
Constantino Vázquez Blanco
4a231d5192 Rolling back unnecesary Cancel method in Request Manager
It was already implemented as an action.

git-svn-id: http://svn.opennebula.org/one/trunk@104 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 14:13:08 +00:00
Rubén S. Montero
510b6c5700 Ticket #38: Wrong handling of Vector Attributes
git-svn-id: http://svn.opennebula.org/one/trunk@102 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-30 11:55:22 +00:00
Rubén S. Montero
f30f3bd7bd simple API to invoke the oned functionality, added constructor
git-svn-id: http://svn.opennebula.org/one/trunk@101 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-29 22:29:36 +00:00
Rubén S. Montero
73436c0c41 simple API to invoke the oned functionality
git-svn-id: http://svn.opennebula.org/one/trunk@100 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-29 22:26:51 +00:00
Constantino Vázquez Blanco
27664b123d Adding the ability to CANCEL a virtual machine
Added it in the Dispatch Manager (lcm already prepared),
the Request Manager and the ruby CLI

git-svn-id: http://svn.opennebula.org/trunk@88 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-09-08 10:57:52 +00:00
Rubén S. Montero
4906d91bdf Some minor bugs
git-svn-id: http://svn.opennebula.org/trunk@75 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 18:19:39 +00:00
Rubén S. Montero
20ac09e4a7 Fix a problem when attrs where not defined. Prevents memory leaks in Log
git-svn-id: http://svn.opennebula.org/trunk@73 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 17:51:35 +00:00
Constantino Vázquez Blanco
315cea65e5 fix for ticket #31
Now log files are just open each time something needs to be written into, rather
that all along the lifecycle of the VM or oned

git-svn-id: http://svn.opennebula.org/trunk@69 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-22 14:43:40 +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
7b3e12cbe7 Initial commit of EC2 drivers
git-svn-id: http://svn.opennebula.org/trunk@62 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-17 23:32:05 +00:00
Constantino Vázquez Blanco
077b71d41f Merge ssh://ursa/home/tinova/dev/nebula
git-svn-id: http://svn.opennebula.org/trunk@40 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-07 13:51:52 +00:00
Rubén S. Montero
45663d6c33 Moved default conf file managemnt to VirtualMachineManagerDriver class so it
can be used by all the drivers
Added vector attribute support for defaults
Moved xen paths to driver rc file


git-svn-id: http://svn.opennebula.org/trunk@37 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-05 15:46:29 +00:00
Constantino Vázquez Blanco
39f766b512 Added KVM Driver support (Not finished yet, XML creation pending)
Renamed some file for coherence.

git-svn-id: http://svn.opennebula.org/trunk@31 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-04 16:55:49 +00:00
Rubén S. Montero
462268c1a7 address bug reported by Alvaro Canales in the one-user mailing list
git-svn-id: http://svn.opennebula.org/trunk@22 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-26 11:52:06 +00:00
Rubén S. Montero
cc15bae5eb support for STATE='d', reported by the POLL command when the VM has been deleted
git-svn-id: http://svn.opennebula.org/trunk@13 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-23 18:43:44 +00:00
Constantino Vázquez Blanco
504368f077 Fixed template displaying bug in
onevm show <id>
   onehost show <id>


git-svn-id: http://svn.opennebula.org/trunk@11 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-23 17:11:14 +00:00
Rubén S. Montero
06fd90a2c0 Improved life-cycle (address ticket #4), new action when monitor returns paused or error states. Reason attribute for history records is now updated
git-svn-id: http://svn.opennebula.org/trunk@10 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-22 22:38:55 +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
Constantino Vázquez Blanco
3db8342e8f Added DEBUG_LEVEL to oned.conf. Task for ticket #5.
git-svn-id: http://svn.opennebula.org/trunk@3 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-18 15:58:44 +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