Commit Graph
51 Commits
Author SHA1 Message Date
Ruben S. Montero c4dbdf53ef bug #412: Fix remotes location for RemoteCommand. Checks info string to be returned to the core. Includes std output for local_actions 2010-11-19 14:43:40 +01:00
Daniel Molina 8d6573b3ed Fix bash syntax error 2010-11-17 18:36:52 +01:00
Daniel Molina ffce3651c0 Add RemotesCommand to check remote files existence in worker nodes 2010-11-17 15:33:39 +01:00
Jaime Melis eb3bd9e6df bug #380: Fixed correct path for read_configuration method 2010-10-28 20:50:17 +02:00
Tino Vázquez c1e52597ae Local_action definition 2010-10-04 19:27:55 +02:00
Javi Fontan 64f1b7e459 Stopped using Array#index as it is not compatible with ruby 1.8.5 2010-09-15 16:48:36 +02:00
Javi Fontan 6bb52aeaec bug #339: remote scripts directory is defined in oned.conf 2010-09-10 16:44:45 +02:00
Javi Fontan 002f81b050 VMM driver now uses indices to select actions 2010-09-02 14:29:22 +02:00
Javi Fontan 5f563d3953 Optimized getting new actions in VirtualMachineDriver 2010-09-01 14:56:02 +02:00
Javi Fontan adb44a051c Bug in VirtialMachineDriver initialization 2010-09-01 11:52:52 +02:00
Javi Fontan 4bc49760cf VMM now sends only one action per host at the same time 2010-08-31 18:37:00 +02:00
Javi Fontan 93e8a6bea4 ActionManager supports custom get and delete actions 2010-08-31 18:37:00 +02:00
Ruben S. Montero 3462215fa9 Removed unused files 2010-08-31 17:02:13 +02:00
Ruben S. Montero 5e083026af Bug #260 wrong delete_at method, removed kill! 2010-07-19 18:53:20 +02:00
Javi Fontan e7ee28a91d ActionManager calls a finalize function if defined 2010-07-01 11:54:14 +02:00
Javier Fontán Muiños fdfe10407e Changed copyright notice 2010-02-22 18:00:30 +01:00
Javier Fontán Muiños 156f463624 Bug in Driver action manager
git-svn-id: http://svn.opennebula.org/one/trunk@859 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-10-14 17:49:02 +00:00
Javier Fontán Muiños e9017be87a Kill threads with the safer version so any opened pipes are closed.
git-svn-id: http://svn.opennebula.org/one/trunk@670 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-10 13:49:57 +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 8a547d4d7e #104: Adds the VM name (deploy id) to the RESTORE Action. KVM & XEN driver
has been updated.


git-svn-id: http://svn.opennebula.org/one/trunk@517 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-05-08 21:26:42 +00:00
Javier Fontán Muiños 2497bb9ff2 Added support for variable message length to ActionManager
git-svn-id: http://svn.opennebula.org/one/trunk@440 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-04-01 12:07:03 +00:00
Javier Fontán Muiños 18347958b4 Callbacks are no longer needed for command execution
git-svn-id: http://svn.opennebula.org/one/trunk@424 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-18 16:02:15 +00:00
Javier Fontán Muiños 74072b54a3 Less log information when executing commands
git-svn-id: http://svn.opennebula.org/one/trunk@423 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-03-18 15:51:39 +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 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 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 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 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
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 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
Rubén S. Montero a58177dcd4 First and very preliminary version of the new threaded driver engine
git-svn-id: http://svn.opennebula.org/one/trunk@332 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-30 01:50:43 +00:00
Javier Fontán Muiños 156fda728f Added license headers and changed copyright year. For #67.
git-svn-id: http://svn.opennebula.org/one/trunk@308 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-01-19 18:05:46 +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
Javier Fontán Muiños ae3f6534f6 vmm_mad: now deployment file copy is logged to vm log file
git-svn-id: http://svn.opennebula.org/one/trunk@252 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-19 15:02:41 +00:00
Javier Fontán Muiños 07d798dd4f Reformatting code (tabs to spaces)
git-svn-id: http://svn.opennebula.org/one/trunk@247 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-11-19 09:29:17 +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
Javier Fontán Muiños a2c38fc76d Solved bug in mad thread manager.
git-svn-id: http://svn.opennebula.org/trunk@81 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-28 14:54:32 +00:00
Rubén S. Montero 9ad19c4387 better thread synchronization
git-svn-id: http://svn.opennebula.org/trunk@63 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-17 23:35:57 +00:00