Commit Graph
11808 Commits
Author SHA1 Message Date
mcabrerizo 09dda2ab8b F #4913: Move get_img_name to FileHelper 2017-02-17 15:02:53 +01:00
mcabrerizo ad42eeff30 F #4913: Add FileHelper to vcenter_driver2 2017-02-17 14:59:45 +01:00
mcabrerizo 57a7763294 F #4913: Add backtrace to VM actions rescue 2017-02-17 14:58:41 +01:00
mcabrerizo 5c94337f30 F #4913: Add FileHelper class with methods for cp, clone... 2017-02-17 14:39:09 +01:00
mcabrerizo b66de4f729 F #4913: Fix attach_disk method 2017-02-16 12:29:27 +01:00
mcabrerizo 706380114d F #4913: Improved code for attach_disk and regenerate_context 2017-02-16 12:09:46 +01:00
mcabrerizo a04a0ad287 F #4913: Refactor VM reset 2017-02-16 08:53:12 +01:00
mcabrerizo 93b6fd4771 F #4913: VM migrate not supported, replaced bash with ruby 2017-02-16 08:23:01 +01:00
mcabrerizo 76a57313f4 F #4913: Refactor VM restore 2017-02-16 08:09:13 +01:00
mcabrerizo 378c1bc7b9 F #4913: Refactor VM save 2017-02-15 18:58:01 +01:00
mcabrerizo f99363662c F #4913: Add drv_action to attach_nic 2017-02-15 18:21:18 +01:00
mcabrerizo c03809e924 F #4913: No need to specify DC_REF in rm 2017-02-15 18:19:15 +01:00
mcabrerizo 9f775e8587 F #4913: VM Methods att/det disk, reconfig, reboot 2017-02-15 18:18:16 +01:00
mcabrerizo 7fb749d17b F #4913: Refactor VM attach/detach disk 2017-02-15 18:15:52 +01:00
mcabrerizo b7ab014065 F #4913: Refactor VM reconfigure 2017-02-15 18:13:46 +01:00
mcabrerizo 84858fb157 F #4913: Refactor VM reboot 2017-02-15 18:13:13 +01:00
mcabrerizo 89317327dc F #4913: Moves host_id retrieval out of begin 2017-02-15 09:23:59 +01:00
mcabrerizo 2d2dbf3204 F #4913: VIClient new_from_hostname no longer needed 2017-02-15 08:36:54 +01:00
mcabrerizo fa515050a3 F #4913: cosmetic changes 2017-02-15 08:22:08 +01:00
Jaime Melis 5d5c260fce F #4913: Remove debugging info 2017-02-15 00:44:18 +01:00
Jaime Melis 396cd704cd F #4913: Refactor deploy 2017-02-15 00:38:38 +01:00
Jaime Melis b2ca3a547c F #4913: No need to specify DC_REF in the datastore template any more 2017-02-15 00:35:05 +01:00
Jaime Melis 31e9fc97e3 F #4913: isolate the clone_vm from non related functionality 2017-02-14 23:57:37 +01:00
Jaime Melis 5320c65d16 F #4913: Reverse the order of parameters in new_from_ref 2017-02-14 19:04:32 +01:00
Jaime Melis dcbf92aa3a F #4913: host and target_ds_ref are dynamically calculated 2017-02-14 19:00:37 +01:00
Jaime Melis 156046a21a F #4913: Adds the cancel action 2017-02-14 19:00:37 +01:00
Jaime Melis 49abb1f059 F #4913: It is not necessary to require the opennebula library
It is being required by the vcenter_driver2
2017-02-14 19:00:37 +01:00
mcabrerizo 351f8012b2 Add method for cluster lookup by opennebula name 2017-02-14 17:28:42 +01:00
mcabrerizo ad3eb4fe22 Add begin/rescue clauses 2017-02-14 17:23:52 +01:00
mcabrerizo 74d473798f Add VM poll action 2017-02-14 17:18:42 +01:00
mcabrerizo d8463f14d7 Add snapshot create/revert/delete actions 2017-02-14 17:18:09 +01:00
mcabrerizo ff58312d3a Add NIC attach/detach actions 2017-02-14 17:17:21 +01:00
mcabrerizo 986fce32f0 Fix monitor. Add nic and snapshots methods 2017-02-14 17:16:06 +01:00
Jaime Melis d206728590 F #4913: add comments 2017-02-14 14:46:28 +01:00
Jaime Melis 72407d3332 F #4913: Monitoring returns the new model parameters
* Public cloud is not used any more
* VCENTER_REF is how a VM is identified
* SCHED_REQUIREMENTS uses the OpenNebula host id instead of the
  name of the cluster in vCenter, which allows renaming
2017-02-14 14:43:25 +01:00
Jaime Melis e4d6106db2 F #4913: cosmetic changes 2017-02-14 14:42:14 +01:00
Jaime Melis 7a270393be F #4913: poweroff action 2017-02-12 21:54:22 +01:00
Jaime Melis 97ce81ceb8 F #4913: adds find_by_name, to retrieve an OpenNebula element by name 2017-02-12 21:53:24 +01:00
Jaime Melis 2b84f23ef0 F #4913: adds retrieve_xmlelements
Easy way to obtain XMLElements from an xpath
2017-02-12 21:52:39 +01:00
Jaime Melis 9fc2bcc86f F #4913: monitor datastores and customizations 2017-02-10 14:11:22 +01:00
Jaime Melis 9d16d397a4 F #4913: Enable network performance monitor 2017-02-10 12:46:20 +01:00
Jaime Melis ec07c889c8 F #4913: handle vi_client in a smarter way and use proper ruby syntax 2017-02-10 12:45:44 +01:00
Jaime Melis 6214e6e9b5 F #4913: Fix vCenter client for Ruby 2.4 (crypt token must be 32bytes) 2017-02-10 11:16:17 +01:00
Jaime Melis c9d0b35ea2 F #4913: adjust the vcenter model representation 2017-02-10 11:10:02 +01:00
Jaime Melis e64a361a0b F #4913: tm/clone now does its work 2017-02-10 11:09:13 +01:00
Jaime Melis 8aafa045f2 F #4913: Add file management capabilities to the Datastore class 2017-02-10 11:08:52 +01:00
Jaime Melis d1e0edb7d8 F #4913: Add memoize to the host class 2017-02-10 11:08:22 +01:00
Jaime Melis 5890dad385 F #4913: deploy action 2017-02-10 11:08:00 +01:00
Jaime Melis 343fbec9bd F #4913: New VIHelper class (link between ONE and vCenter) 2017-02-10 11:07:36 +01:00
Jaime Melis 7107282a15 F #4913: virtual_machine.rb is now prepared for deploy 2017-02-10 11:05:47 +01:00