Add checkbox for DPDK on VF feature
Change-Id: Ibfcb1ce52b897161ed439a38dbf4082079cb7f9b
This commit is contained in:
parent
f52991411d
commit
789c14fad0
|
@ -112,6 +112,7 @@ class contrail {
|
|||
|
||||
# DPDK settings
|
||||
$global_dpdk_enabled = $settings['contrail_global_dpdk']
|
||||
$dpdk_on_vf = $settings['dpdk_on_vf']
|
||||
$compute_dpdk_enabled = $global_dpdk_enabled and 'dpdk' in hiera_array('roles')
|
||||
|
||||
# Package override
|
||||
|
|
|
@ -102,6 +102,15 @@ attributes:
|
|||
restrictions:
|
||||
- condition: "not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true)"
|
||||
action: "hide"
|
||||
dpdk_on_vf:
|
||||
value: false
|
||||
label: "DPDK on VF"
|
||||
description: "Configure DPDK vrouter use VF network adapter"
|
||||
weight: 160
|
||||
type: "checkbox"
|
||||
restrictions:
|
||||
- condition: "not (settings:contrail.metadata.enabled == true and settings:contrail.contrail_global_dpdk.value == true)"
|
||||
action: "hide"
|
||||
contrail_global_sriov:
|
||||
value: false
|
||||
label: "Enable SRIOV feature for this environment."
|
||||
|
@ -123,4 +132,3 @@ attributes:
|
|||
restrictions:
|
||||
- action: hide
|
||||
condition: not (settings:contrail.contrail_global_sriov.value == true)
|
||||
|
||||
|
|
Loading…
Reference in New Issue