Add QoS and SR-IOV UI restriction

QoS can be enabled only if SR-IOV is enabled too.

Change-Id: Icea934f2ae536abdbc9614e69e02c68b18b98b89
This commit is contained in:
Rawan Herzallah 2016-03-23 14:43:13 +00:00
parent fe2076dd98
commit 67f4ea041c
2 changed files with 6 additions and 6 deletions

View File

@ -27,15 +27,15 @@ attributes:
mlnx_qos:
value: false
label: "Quality of Service over VLAN networks and ports (Neutron)"
label: "Quality of Service over Mellanox SR-IOV ports (Neutron)"
description: |
If selected, Neutron "Quality of Service" (QoS) will be enabled for VLAN networks and ports over Mellanox HCAs.
This feature is supported in Ethernet mode and over Neutron with VLAN.
If selected, Neutron "Quality of Service" (QoS) will be enabled for SR-IOV ports over Mellanox HCAs.
This feature is supported in Ethernet mode over Neutron with VLAN after SR-IOV direct port creation.
weight: 30
type: "checkbox"
restrictions:
- condition: "settings:common.libvirt_type.value != 'kvm' or not (cluster:net_provider == 'neutron' and networking_parameters:segmentation_type == 'vlan')"
message: "For Mellanox QoS support in Neutron, hypervisor type should be KVM and the environment networking should be based on Neutron with VLAN segmentation."
- condition: "settings:common.libvirt_type.value != 'kvm' or not (settings:mellanox-plugin.sriov.value == true) or not (cluster:net_provider == 'neutron' and networking_parameters:segmentation_type == 'vlan')"
message: "For Mellanox QoS support in Neutron, hypervisor type should be KVM and the environment networking should be based on Neutron with VLAN segmentation with Mellanox SR-IOV support."
use_mlnx_neo:
value: false

View File

@ -5,7 +5,7 @@ name: mellanox-plugin
title: Mellanox Openstack Features
# Plugin version
version: 2.0.42
version: 2.0.43
# Description
description: Enable features over Mellanox hardware