1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-21 18:03:38 +03:00

1070 Commits

Author SHA1 Message Date
Ruben S. Montero
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 f9e469b10f662e28bab4084858bb5bca768dae99)
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
Ruben S. Montero
3b9ace0577
F #3256: Support for NUMA topology, Hugepages and CPU pinning. 2019-07-01 18:58:24 +02:00
mouyaq
fe7dfd3547
F #3264: Added VirtualMachineMonitor 2019-05-27 18:49:26 +02:00
mouyaq
913b203b43
F #3264: get out nic_model_class and state_to_c 2019-05-27 18:49:24 +02:00
mouyaq
9c41da393b
F #3264: Separate classes Nic and Disk 2019-05-27 18:49:24 +02:00
mouyaq
886bd2e258
F #3264: VirtualMachineDevice refactor 2019-05-27 18:49:23 +02:00
mouyaq
bde691c1e8
F #3264: VmmImporter refactor 2019-05-27 18:44:17 +02:00
mouyaq
025734fbe7
F #3264: VirtualMachineFolder refactor 2019-05-27 18:44:16 +02:00
Christian González
8bbcfdfc6c Increase database version to 5.10.0 (#3277) 2019-04-25 18:42:41 +02:00
Ruben S. Montero
1e15db5ac0
F #2451: Add configurble hooks to the network drivers in the form of
pre.d, post.d and clean.d scripts

Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2019-04-22 11:27:20 +02:00
Ruben S. Montero
e25e25ca6b
Merge branch 'f2722' 2019-04-15 17:08:01 +02:00
kvaps
8b96dd6142 F #2808: add DD_BLOCK_SIZE option (#3116)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-04-09 16:11:15 +02:00
Ruben S. Montero
c64d63f3d5
F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 17:43:12 +02:00
Ruben S. Montero
b59ee42750
Revert "F #2722: Increase the size of the replication and federation log indexes"
This reverts commit 1da93f37326a5bc294f74f6faedbcc0182b03adf.
2019-04-08 17:09:56 +02:00
Ruben S. Montero
1da93f3732
F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 14:38:02 +02:00
Jorge Lobo
7498be0feb
b # 2993 delete langs and solved fix Vm_quota in conditions (#3030)
(cherry picked from commit 52a38a9b9029f8952f71bf1add562436ec207d13)
2019-03-06 10:23:19 +01:00
Tino Vazquez
a8f7207cfa
Remove unneeded tty_expect install
(cherry picked from commit 84424affa07c207fe71142bd7736d399d91f8b12)
2019-02-28 15:30:54 +01:00
Tino Vazquez
553fc6b540
Add missing migrator to install.sh
Remove duplicated cop
2019-02-20 10:14:47 +01:00
Alejandro Huertas Herrero
a31d3e26fc F #2645: Make some polishing and add default templates. (#2922) 2019-02-11 14:41:57 +01:00
Tino Vazquez
d998145ea1
Merge branch 'master' into provision_refactor 2019-02-08 17:42:06 +01:00
Alejandro Huertas
0b027090a2 OneProvision refactor. 2019-02-07 15:53:45 +01:00
Ruben S. Montero
29760a06ac F #2885: Add configuration option to disable ZERO'ing LVM volumes. 2019-02-04 15:56:37 +01:00
Daniel Clavijo Coca
6aa7fb5e19 F #1684: LXD profiles probe (#2856)
*  Patched NicLXD for snaps

* F #1684: Leave LXC_COMMAND

* F #1684: Added lxd probe for profiles

* F #1684: Fix profile probe output

* F #1684: Use default profile if profile absent

* F #1684: Add profile probe to install.sh
2019-01-30 01:22:35 +01:00
Ruben S. Montero
5f7fb402aa F #2671: Add oned search functionality. Add an index column to perform FTS searches server-side. New parameter has been added to the one.vmpool.info call, and --search option to CLI onevm list. This commits adds support for JAVA and migrator.
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-01-30 00:10:18 +01:00
Jan Orel
19f04965d4 F #1012: update websockify to latest version (#2809) 2019-01-18 15:48:10 +01:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
sergio semedi
ac487b5ea9 merge vCenter configuration files into vcenterrc 2019-01-09 12:52:40 +01:00
Ruben S. Montero
5a4740b8c7 F #2531: Add support for linuxcontainers MarketPlace
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
2018-12-15 17:17:17 +01:00
Ruben S. Montero
7d46241fe2 F #826: Virtual Network Templates - Suntone Interface
Co-authored-by: juanmont <jjmontiel@opennebula.systems>
2018-12-11 11:12:01 +01:00
Vlastimil Holer
e5d3f46da1 F #2645: Disaggregated Data Centers (oneprovision) 2018-11-29 15:14:17 +01:00
Ruben S. Montero
07399094b3 F #1684: Support for LXD/LXC Containers. The LXD/LXC drivers are heavily
inspired by the LXD addon https://github.com/OpenNebula/addon-lxdone.

Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
Co-authored-by: José Manuel de la Fé Herrero <jmdelafe92@gmail.com>
2018-11-28 12:26:59 +01:00
Christian González
adf092eea9 F #826 Create new config file for onevntemplate command 2018-11-22 15:00:47 +01:00
Christian González
c3d3fc3ae4 F #826 Add man pages for vntemplate command 2018-11-22 12:21:02 +01:00
Vlastimil Holer
d777060a1b B #2630: Install.sh doesn't work without any parameters 2018-11-21 18:02:01 +01:00
Christian González
f850d10bfe F #826 Fix some bugs (#2633) 2018-11-21 16:20:29 +01:00
Ruben S. Montero
4afa011c28 development: Fix getopts in install.sh 2018-11-16 16:41:14 +01:00
jp-ig1
4efa93fe24 B #2001: Fix ignored arguments by install.sh script
Problem:
~~~~~~~
Arguments 'G', 'l', 'r' and 'f' are ignored by install script and usage
is displayed instead.
Moreover, it was not possible to combine arguments

Solution:
~~~~~~~~
Use "getopts" to support flags and options requiring a value at the
same time. Add ignored option in the argument possibilities.

This commit also add missing options in the usage example
2018-11-16 12:56:19 +01:00
Sergio Semedi Barranco
6fdfb0fd57 F #2454: added vcenterc config file 2018-11-15 14:47:34 +01:00
Ruben S. Montero
d983addf5b Change DB version to 5.7.80
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-10-29 17:08:10 +01:00
Alejandro Huertas Herrero
7e36bc7c74 F #2490: Add new unregister address range functionality
* Modify the IPAM driver
    * Modify AddressRangePool to call the new action script
    * Add example dummy script
2018-10-18 15:20:47 +02:00
Jan Orel
d1aa261fd8 B #2491: install.sh accepts -G and -f parameters 2018-10-15 18:11:27 +02:00
Christian González
b63e9ec963 F #2253: Update 5.6.0 to 5.7.8.rb 2018-09-25 12:10:27 +02:00
Tino Vazquez
8e3d7f8108 Add OpenNebula Systems addons license 2018-09-13 15:41:48 +02:00
Sergio Semedi Barranco
7688e015c6 importer class removed from vCenterDriver (#2371) 2018-08-28 17:50:25 -07:00