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\'':
|
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||||
'Only KVM hypervisor works with DPDK'}
|
'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\'':
|
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||||
'Only KVM hypervisor works with DPDK'}
|
'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': {
|
'metadata': {
|
||||||
'label': 'DPDK',
|
'label': 'DPDK',
|
||||||
'weight': 40
|
'weight': 40,
|
||||||
|
'restrictions': [{
|
||||||
|
'condition':
|
||||||
|
"not ('experimental' in version:feature_groups)",
|
||||||
|
'action': "hide"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
'enabled': {
|
'enabled': {
|
||||||
'label': 'Enable DPDK',
|
'label': 'Enable DPDK',
|
||||||
|
@ -1296,7 +1301,12 @@ class TestNICAttributesHandlers(BaseIntegrationTest):
|
||||||
'dpdk': {
|
'dpdk': {
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'label': 'DPDK',
|
'label': 'DPDK',
|
||||||
'weight': 40
|
'weight': 40,
|
||||||
|
'restrictions': [{
|
||||||
|
'condition':
|
||||||
|
"not ('experimental' in version:feature_groups)",
|
||||||
|
'action': "hide"
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
'enabled': {
|
'enabled': {
|
||||||
'label': 'Enable DPDK',
|
'label': 'Enable DPDK',
|
||||||
|
|
|
@ -917,7 +917,12 @@ class TestBondAttributesDefaultsHandler(BaseIntegrationTest):
|
||||||
},
|
},
|
||||||
'metadata': {
|
'metadata': {
|
||||||
'label': 'DPDK',
|
'label': 'DPDK',
|
||||||
'weight': 40
|
'weight': 40,
|
||||||
|
'restrictions': [{
|
||||||
|
'condition':
|
||||||
|
"not ('experimental' in version:feature_groups)",
|
||||||
|
'action': "hide"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'lacp': {
|
'lacp': {
|
||||||
|
|
|
@ -2166,6 +2166,9 @@
|
||||||
action: "none"
|
action: "none"
|
||||||
dpdk:
|
dpdk:
|
||||||
metadata:
|
metadata:
|
||||||
|
restrictions:
|
||||||
|
- condition: "not ('experimental' in version:feature_groups)"
|
||||||
|
action: "hide"
|
||||||
label: "DPDK"
|
label: "DPDK"
|
||||||
weight: 40
|
weight: 40
|
||||||
enabled:
|
enabled:
|
||||||
|
@ -2217,6 +2220,9 @@
|
||||||
max: 65536
|
max: 65536
|
||||||
dpdk:
|
dpdk:
|
||||||
metadata:
|
metadata:
|
||||||
|
restrictions:
|
||||||
|
- condition: "not ('experimental' in version:feature_groups)"
|
||||||
|
action: "hide"
|
||||||
label: "DPDK"
|
label: "DPDK"
|
||||||
weight: 40
|
weight: 40
|
||||||
enabled:
|
enabled:
|
||||||
|
|
|
@ -147,7 +147,13 @@ DEFAULT_NIC_ATTRIBUTES = {
|
||||||
{'settings:common.libvirt_type.value != \'kvm\'':
|
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||||
'Only KVM hypervisor works with DPDK'}
|
'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\'':
|
{'settings:common.libvirt_type.value != \'kvm\'':
|
||||||
'Only KVM hypervisor works with DPDK'}
|
'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