Skip to content

Commit

Permalink
F OpenNebula/one#6430: Refactor drivers section (#2972)
Browse files Browse the repository at this point in the history
Refactor:
* Virtualization Driver
* Storage Driver
* Monitoring Driver
* Networking Driver
* Authentication Driver
* Market Driver
* IPAM Driver
* vCenter Driver
* NSX Driver

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
  • Loading branch information
vichansson authored Jul 11, 2024
1 parent e4c459d commit 2f296da
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Where:
- ``PASSWORD``: value of the password field for the user that is trying to authenticate. This can be ``-`` when the user does not exist in the OpenNebula database.
- ``SECRET``: value provided in the password field of the authentication string.

.. warning:: Before the OpenNebula 5.6, the parameters were passed as command line parameters. Now all the data are passed only on standard input only!
.. warning:: Before OpenNebula 5.6, the parameters were passed as command line parameters. Now all the data is passed using only the standard input!

For example, we can create a new authentication method that just checks the length of the password. For this we can store in the password field the number of characters accepted, for example 5, and user name test. Here are some example calls to the driver with several passwords:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,10 @@ Virtual Machine actions and their relation with Network actions:
- **Attach Nic**: ``pre`` and ``post``
- **Detach Nic**: ``clean``

After that you need to define the bridging technology used by the driver at ``/etc/one/oned.conf``. OpenNebula support three different technologies, **Linux Bridge**, **Open vSwitch** and **vCenter Port Groups**. See the examples below:
After that you need to define the bridging technology used by the driver at ``/etc/one/oned.conf``. OpenNebula support two different technologies, **Linux Bridge** and **Open vSwitch**. See the examples below:

.. code-block:: bash
VN_MAD_CONF = [
NAME = "vcenter"
BRIDGE_TYPE = "vcenter_port_groups"
]
VN_MAD_CONF = [
NAME = "ovswitch_vxlan"
BRIDGE_TYPE = "openvswitch"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ Infrastructure Integration
Authentication Driver <devel-auth>
Market Driver <devel-market>
IPAM Driver <devel-ipam>
vCenter Driver <vcenter_driver>
NSX Driver <nsx_driver>
3 changes: 3 additions & 0 deletions source/legacy_components/vcenter_driver/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ VMware Integration
:maxdepth: 1

vCenter Driver <vcenter_driver>
vCenter Infrastructure Driver <vcenter_infra_driver>
vCenter Node Installation <vcenter_node_installation>
vCenter Virtual Machines <vcenter_vms>
vCenter Datastores <vcenter_datastores>
vCenter Networking <vcenter_networking>
NSX Setup <nsx_setup>
NSX Driver <nsx_driver>
NSX Networks <nsx_networks>
1 change: 0 additions & 1 deletion source/management_and_operations/vm_management/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Virtual Machine Management
Overview <overview>
Virtual Machine Templates <vm_templates>
Virtual Machine Instances <vm_instances>
vCenter Virtual Machines <vcenter_vms>

0 comments on commit 2f296da

Please sign in to comment.