6wind-virtual-accelerator-plugin: support for Mellanox NICs
This commit enables support for 6WIND Virtual Accelerator addon for Mellanox NICs support. Signed-off-by: Francesco Santoro <francesco.santoro@6wind.com> Change-Id: I57d9c3ac29fffda0d77058dd637df03a15ec5ada
This commit is contained in:
parent
e6f8bf2b89
commit
5f4ee260a9
|
@ -17,6 +17,7 @@ class virtual_accelerator {
|
||||||
$disable_ipset = $settings['disable_ipset']
|
$disable_ipset = $settings['disable_ipset']
|
||||||
$enable_host_cpu = $settings['enable_host_cpu']
|
$enable_host_cpu = $settings['enable_host_cpu']
|
||||||
$va_version = $settings['va_version']
|
$va_version = $settings['va_version']
|
||||||
|
$mellanox_support = $settings['mellanox_support']
|
||||||
|
|
||||||
if $settings['va_conf_file'] {
|
if $settings['va_conf_file'] {
|
||||||
$va_conf_file = $settings['va_conf_file'][content]
|
$va_conf_file = $settings['va_conf_file'][content]
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
class virtual_accelerator::install inherits virtual_accelerator {
|
class virtual_accelerator::install inherits virtual_accelerator {
|
||||||
|
|
||||||
|
$mellanox_support = $virtual_accelerator::mellanox_support
|
||||||
|
|
||||||
exec { 'update_repos':
|
exec { 'update_repos':
|
||||||
command => '/usr/bin/apt-get -y update',
|
command => '/usr/bin/apt-get -y update',
|
||||||
} ->
|
} ->
|
||||||
|
@ -11,6 +13,13 @@ class virtual_accelerator::install inherits virtual_accelerator {
|
||||||
install_options => ['--allow-unauthenticated'],
|
install_options => ['--allow-unauthenticated'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $mellanox_support == true {
|
||||||
|
package { 'virtual-accelerator-addon-mellanox':
|
||||||
|
ensure => 'installed',
|
||||||
|
install_options => ['--allow-unauthenticated'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
file { '/usr/local/bin/config_va.sh':
|
file { '/usr/local/bin/config_va.sh':
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'root',
|
group => 'root',
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 70 KiB |
Binary file not shown.
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 95 KiB |
|
@ -114,7 +114,8 @@ Configuring 6WIND Virtual Accelerator Plugin
|
||||||
version, otherwise specify an explicit value (eg. 1.3).
|
version, otherwise specify an explicit value (eg. 1.3).
|
||||||
Remember to use **at least version 1.3** for Fuel 8.
|
Remember to use **at least version 1.3** for Fuel 8.
|
||||||
|
|
||||||
* Refer to next chapter for the description of Advanced Paramaters fields.
|
* Refer to next chapter for the description of Advanced Paramaters fields
|
||||||
|
and how to enable support for Mellanox NICs.
|
||||||
|
|
||||||
|
|
||||||
#. Add nodes and assign them the following roles:
|
#. Add nodes and assign them the following roles:
|
||||||
|
|
|
@ -15,6 +15,16 @@ credentials for Virtual Accelerator software download.
|
||||||
The plugin will then install and run the Virtual Accelerator using its default
|
The plugin will then install and run the Virtual Accelerator using its default
|
||||||
configuration values.
|
configuration values.
|
||||||
|
|
||||||
|
Enable 6WIND Virtual Accelerator addon for Mellanox
|
||||||
|
---------------------------------------------------
|
||||||
|
|
||||||
|
If your compute nodes use Mellanox NICs you should install the additional 6WIND
|
||||||
|
Virtual Accelerator module. This task is possible using the
|
||||||
|
**Enable Mellanox NICs support** checkbox in the Web UI.
|
||||||
|
|
||||||
|
Thanks to this addon, the Virtual Accelerator will be able to automatically
|
||||||
|
detect and configure these NICs to support the 6WIND network stack.
|
||||||
|
|
||||||
Configuring 6WIND Virtual Accelerator parameters
|
Configuring 6WIND Virtual Accelerator parameters
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,13 @@ attributes:
|
||||||
weight: 35
|
weight: 35
|
||||||
type: "checkbox"
|
type: "checkbox"
|
||||||
|
|
||||||
|
mellanox_support:
|
||||||
|
value: false
|
||||||
|
label: "Enable Mellanox NICs support"
|
||||||
|
description: "Installs 6WIND Virtual Accelerator addon to support Mellanox NICs"
|
||||||
|
weight: 36
|
||||||
|
type: "checkbox"
|
||||||
|
|
||||||
fp_mem:
|
fp_mem:
|
||||||
value: 'auto'
|
value: 'auto'
|
||||||
label: 'FP_MEMORY'
|
label: 'FP_MEMORY'
|
||||||
|
|
Loading…
Reference in New Issue