6wind-virtual-accelerator-plugin: create dependency to KVM hypervisor

In order to use the 6WIND Virtual Accelerator plugin, KVM must be
used as hypervisor. This is detailed in documentation but this
patch adds this constraint directly in the code.

Moreover this patch moves the plugin to the Compute section.

Signed-off-by: Francesco Santoro <francesco.santoro@6wind.com>
Closes-bug: #1631950

Change-Id: I63aaf606e7c9919303a7a7e217b8cea7ed80f42f
This commit is contained in:
Francesco Santoro 2016-10-07 17:10:00 +02:00
parent 9cee4b3ca3
commit df8e8e1703
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
attributes:
metadata:
group: 'compute'
restrictions:
- condition: "settings:common.libvirt_type.value != 'kvm'"
message: "KVM needs to be chosen as hypervisor"
credentials_package:
value: ''
label: 'Credentials package'