Merge "Hide DPDK section if experimental is turned off"
This commit is contained in:
commit
b697091131
|
@ -239,7 +239,13 @@ DEFAULT_RELEASE_NIC_NFV_ATTRIBUTES = {
|
|||
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||
'Only KVM hypervisor works with DPDK'}
|
||||
]},
|
||||
'metadata': {'weight': 40, 'label': 'DPDK'}
|
||||
'metadata': {
|
||||
'weight': 40, 'label': 'DPDK',
|
||||
'restrictions': [{
|
||||
'condition': "not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -292,7 +298,13 @@ DEFAULT_RELEASE_BOND_NFV_ATTRIBUTES = {
|
|||
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||
'Only KVM hypervisor works with DPDK'}
|
||||
]},
|
||||
'metadata': {'weight': 40, 'label': 'DPDK'}
|
||||
'metadata': {
|
||||
'weight': 40, 'label': 'DPDK',
|
||||
'restrictions': [{
|
||||
'condition': "not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -398,7 +398,12 @@ class TestHandlers(BaseIntegrationTest):
|
|||
{
|
||||
'metadata': {
|
||||
'label': 'DPDK',
|
||||
'weight': 40
|
||||
'weight': 40,
|
||||
'restrictions': [{
|
||||
'condition':
|
||||
"not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
},
|
||||
'enabled': {
|
||||
'label': 'Enable DPDK',
|
||||
|
@ -1296,7 +1301,12 @@ class TestNICAttributesHandlers(BaseIntegrationTest):
|
|||
'dpdk': {
|
||||
'metadata': {
|
||||
'label': 'DPDK',
|
||||
'weight': 40
|
||||
'weight': 40,
|
||||
'restrictions': [{
|
||||
'condition':
|
||||
"not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
},
|
||||
'enabled': {
|
||||
'label': 'Enable DPDK',
|
||||
|
|
|
@ -917,7 +917,12 @@ class TestBondAttributesDefaultsHandler(BaseIntegrationTest):
|
|||
},
|
||||
'metadata': {
|
||||
'label': 'DPDK',
|
||||
'weight': 40
|
||||
'weight': 40,
|
||||
'restrictions': [{
|
||||
'condition':
|
||||
"not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
}
|
||||
},
|
||||
'lacp': {
|
||||
|
|
|
@ -2166,6 +2166,9 @@
|
|||
action: "none"
|
||||
dpdk:
|
||||
metadata:
|
||||
restrictions:
|
||||
- condition: "not ('experimental' in version:feature_groups)"
|
||||
action: "hide"
|
||||
label: "DPDK"
|
||||
weight: 40
|
||||
enabled:
|
||||
|
@ -2217,6 +2220,9 @@
|
|||
max: 65536
|
||||
dpdk:
|
||||
metadata:
|
||||
restrictions:
|
||||
- condition: "not ('experimental' in version:feature_groups)"
|
||||
action: "hide"
|
||||
label: "DPDK"
|
||||
weight: 40
|
||||
enabled:
|
||||
|
|
|
@ -147,7 +147,13 @@ DEFAULT_NIC_ATTRIBUTES = {
|
|||
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||
'Only KVM hypervisor works with DPDK'}
|
||||
]},
|
||||
'metadata': {'weight': 40, 'label': 'DPDK'}
|
||||
'metadata': {
|
||||
'weight': 40, 'label': 'DPDK',
|
||||
'restrictions': [{
|
||||
'condition': "not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -197,7 +203,13 @@ DEFAULT_BOND_ATTRIBUTES = {
|
|||
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||
'Only KVM hypervisor works with DPDK'}
|
||||
]},
|
||||
'metadata': {'weight': 40, 'label': 'DPDK'}
|
||||
'metadata': {
|
||||
'weight': 40, 'label': 'DPDK',
|
||||
'restrictions': [{
|
||||
'condition': "not ('experimental' in version:feature_groups)",
|
||||
'action': "hide"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue