mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-23 13:15:14 +09:00
* 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.