Commit Graph
963 Commits
Author SHA1 Message Date
Christian González e956aa14da F #4089: Fix instal.sh (#4580) 2020-04-22 13:22:11 +02:00
Carlos J. Herrera 231ef5f1ef F #3912: Add support for vCenter tags (#4531)
* Added REST client for vSphere
* Added support for vCenter tags
2020-04-21 17:12:41 +02:00
Alejandro Huertas HerreroandVlastimil Holer 5308556a6c F #4215: add packet and ec2 example templates (#4498)
Co-authored-by: Vlastimil Holer <vholer@opennebula.io>
2020-04-20 17:54:07 +02:00
Jan Orel 314af8e523 M #-: Include beacon shepherd probe for az/ec2/one (#4562) 2020-04-20 17:48:22 +02:00
Jan Orel 5074dbba4a F #3859: Adapt packet driver to new monitoring (#4535) 2020-04-20 17:46:48 +02:00
Angel Luis Moya Gonzalez 3ab22696e4 F #4302: vCenter monitoring: Hosts (#4553)
Initial commit
2020-04-20 17:26:39 +02:00
Jan Orel 93bb828735 F #3859: Adopt one2one driver to new monitoring (#4525)
* F #3859: Adopt one2one driver to new monitoring

* L #-: Lint one2one driver
2020-04-14 17:09:43 +02:00
Christian González 447605fe93 F #4089: Improves package changes (#4482) 2020-04-08 10:44:48 +02:00
Jan Orel e658320cb5 F #3859: Adapt azure+ec2 driver to new monitoring system(#4481) 2020-04-05 19:50:45 +02:00
Angel Luis Moya Gonzalez f965b03163 F #4119: Fix vntemplate instantiate on vCenter (#4465) 2020-04-01 16:12:05 +02:00
Ricardo Diaz 045313437e M #-: Install files on share/start-scripts (#4436)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
2020-04-01 15:22:32 +02:00
Christian González 5af8570a2b F #4089: remove clean script from install.sh (#4445) 2020-03-30 12:01:53 +02:00
Alejandro Huertas Herrero aed58f5248 F #4214: provision support of other objects types (#4374)
Add support for the following objects:

    - VM templates
    - VNet templates
    - Flow templates
    - Marketplace apps (export operation)

Change oneprovision show command to show all the virtual resources

Change the library directory structure
2020-03-26 16:48:35 +01:00
Ruben S. Montero bd4cd69353 F #3859: Apply unify *-probes.d/vm dir to FC 2020-03-23 11:21:01 +01:00
Ruben S. Montero 43daf0a587 F #4089, #2859: Fix FC and Monitoring
* Adjust xpaths for Sunstone
    * New MONTIORING records format
    * Fix OCA API
    * Improvements on dockerhub importer
    * Improvements on firecracker context mapper
    * Fix shutdown on firecracker
    * Add logging to firecraker
2020-03-23 10:45:21 +01:00
Jan Orel 45899f763d F #3859: unify to *-probes.d/vm dir (#4375) 2020-03-20 16:00:14 +01:00
Jan Orel 2161d5e6d1 F #3859: Rename collectd-cl. to monitord-cl. (#4343) 2020-03-11 17:50:31 +01:00
Ruben S. Montero 549a533e95 M #-: Add missing files for FC. Better IM shepherd 2020-03-07 18:36:20 +01:00
Ruben S. Montero 1ddc29cc52 F #4089: Firecracker integration improvements (#4295) 2020-03-05 16:36:06 +01:00
Ruben S. Montero 44e44b47a8 F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +01:00
Jan Orel 8077c0904b M #~: Add missing files to install.sh (#4196) 2020-02-21 16:11:23 +01:00
Ruben S. MonteroandChristian González 5f1e0ce0ff L #4089: Fix linting and code refactoring
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-21 14:20:53 +01:00
Ruben S. MonteroandChristian González c8bf48f1ce F #4089: Add microVM support via Firecracker
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-20 17:06:45 +01:00
8696a50e8f F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-19 14:56:03 +01:00
Ruben S. Montero 5e53c4f893 Revert "F #4132: Redesign oneflow internal logic"
This reverts commit da969c5fd3.
2020-02-19 14:56:03 +01:00
da969c5fd3 F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-18 15:53:30 +01:00
Ruben S. Montero dfc5a2619c F #4163: Turnkey Linux marketplace drivers 2020-02-07 10:51:14 +01:00
Angel Luis Moya Gonzalez a1f36e047d F #3990: Prepare to change rbvmomi version (#4059) 2019-12-19 16:50:14 +01:00
Angel Luis Moya Gonzalez 43f159201b B #3440: Fixes and improvements over NSX (#3959) 2019-11-19 17:35:38 +01:00
Angel Luis Moya Gonzalez 03242172e3 F #3440: Refactor Transport Zones and fixes (#3931)
- Refactor Transport Zones
- Fix NSX_STATUS and get transport zones
2019-11-11 18:47:49 +01:00
Ruben S. Montero 4860636a41 M #-: Remove unneeded files, update oned.conf accordingly 2019-11-11 10:46:43 +01:00
Tino Vazquez 9de439a68a M #-: Remove deprecated OCA file 2019-11-07 11:55:08 +01:00
Jan Orel 04a0753489 F #3244: Improve qcow2.ssh mixed-mode (#3915) 2019-11-06 16:42:51 +01:00
Angel Luis Moya Gonzalez 7d8d1d1391 F #3440: NSX Refactor (#3903) 2019-11-04 17:32:16 +01:00
Ruben S. Montero eb2bc22ef4 B #3189: Add missing sudo for lxd_clean hook. Change install location of lxd clean hook 2019-10-02 16:49:32 +02:00
Daniel Clavijo Coca a4e0eee4fb B #3189: Specific reboot cycle for LXd. Network Hook to remove links for LXD 2019-10-02 15:24:18 +02:00
Vlastimil Holer 5c9bb6afa1 F #3380: Install onehook manual page (#3801) 2019-10-02 10:40:05 +02:00
Angel Luis Moya Gonzalez 4f13059c21 F #3440: Added route /nsx/auth (#3761)
* F #3440: Get token NSX-V and NSX-T

* F #3440: Added route nsx/auth

Route to acquire a valid NSX token.
Changes on nsx_client constructor have been required
Changes on constructor calls
Returns 200 and token if success
Returns 400 and error message if not success

* F #3440: Change NSXClient constructor call
2019-09-23 17:58:08 +02:00
Alejandro Huertas Herrero dd7f564553 F #3380: add host error hook template example (#3749) 2019-09-23 15:16:05 +02:00
Angel Luis Moya Gonzalez 28f07966cf F #3380: Add auto-register vcenter hooks (#3735)
vCenter hooks located at:

 <ONE_LOCATION>/remotes/hooks/vcenter/templates

are registered automatically when import a vcenter cluster
with the command "onevcenter"
2019-09-19 15:36:19 +02:00
Christian González 83f61b02cc F #3380: Add hooklog.info call (#3734) 2019-09-19 15:26:20 +02:00
Alejandro Huertas Herrero 532228cb14 M #-: remove duplicated files on install.sh (#3736) 2019-09-19 12:43:13 +02:00
Alejandro Huertas Herrero 5f660a2c6b F #3380: adapt DDC to new hook system (#3727) 2019-09-19 11:28:36 +02:00
Ruben S. MonteroandChristian González 6143dd95ce F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Alejandro Huertas 6796f5093d F #3042: Packet public networking
* code linting
    * add new files into install.sh
    * decrypt secrets in ipam/hook
    * fix use of <<~EOF

(cherry picked from commit f9e469b10f)
2019-08-30 17:30:34 +02:00
Angel Luis Moya Gonzalez 3581561240 F #3440: Refactor and corrections (#3570)
* F #3440: Refactor host.rb

Refactor host.rb using classes:
NSXClient
TransportZone

* Error corrections

* M #3440: Added forgotten sleep

* M #3440: Change require order in nsx_driver

Change require order in NSX Driver to avoid
the inclussion of additional requires.
2019-08-22 11:15:24 +02:00
Jan Orel e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +02:00
Angel Luis Moya Gonzalez e5e169932f F #3440: Initial NSX driver commit (#3549)
* F #3440: Create and delete NSX networks

This allows to create and delete from command line both
NSX-V netwoks and NSX-T networks.

* F #1256: Allow attach created Opaque Networks

This allows to attach a new created Opaque Network
to a instance.

* F #3440: Allows attach/detach created NSX-V networks

Changes included:
Allow attach and detach nics to a VM from nsx-v networks
created from OpenNebula.
Improve function to retrieve nsx-t network identifier on vc

* M #-: Change Network types as constants

Created new constans into Network class to identify
the different types of networks
Also changed order to detect Network avoiding incorrect
detections due to its parent Classes

* F #3440 #1256: Added NSX info to monitor

Added the following NSX info to host monitor:
NSX_MANAGER: "NSX Manager | NSX-T Manager"
NSX_TYPE: "NSX-V | NSX-T"
NSX_VERSION: "NSX-V or NSX-T version"
NSX_URL: NSX Manager url

* F #3440: Add Transport Zones to monitor host info

If the folowing attributes are correct, the transport
zones are listed into the host monitor information:

NSX_MANAGER
NSX_TYPE
NSX_USER
NSX_PASSWORD

* F #3440: Change NSX parameters to Host object

Some parameters created in first instance in vnet object for
testing purposes, has been changed to its definitive placement,
the Host object.

* F #3440: Added NSX_STATUS

Added NSX_STATUS attribute, checking the following:

- NSX_USER 	(Check if attribute is setted)
- NSX_PASSWORD	(Check if attribute is setted)
- NSX_TYPE	(Check if attribute is setted)
- NSX_MANAGER	(Check if attribute is setted)
- Check a correct connection with NSX Manager

The result is shown in the attribute NSX_STATUS, that
should be NSX_STATUS = "OK" if all is correct.

* F #3440: Refactor and clean

Refactor code into classes and clean.

* F #3440: Clean and rubocop

Set url as base_url + section + parameter
Correction to avoid rubocop warnings

* F #3440: Rubocop fixes

Corrected rubocop warnings

* F #3440: Fix rubocop warnings on hooks

Fixed rubocop warnings on network hooks

* F #3440: Fix rubocop warning on nsx_driver.rb

* F #3440: Forgotten sleep to timeout

Added a forgotten sleep into a timeout secuence.
Added cosmetic changes to minimize code lines.
2019-07-31 18:25:22 +02:00
Jorge Lobo 23c1ae8e82 B #2497: rename sunstone_2f_auth.rb (#3523)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-16 12:35:35 +02:00
Jorge Lobo 63bbf4e16c B #2497: Two Factor Authentication (#3470)
* F #2497: two factor authentication

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-10 19:00:26 +02:00