6wind-virtual-accelerator-plugin: make credentials mandatory

Add a warning if credentials package is empty. It works just
once then, if the file is cleared, Fuel still keeps a non-empty
value making this check unuseful.

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

Change-Id: I26f3fa5966769612b95e37f9656efd8a2d5e4240
This commit is contained in:
Francesco Santoro 2016-09-30 14:04:42 +02:00
parent bf94308fd5
commit 9cee4b3ca3
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ attributes:
description: 'defines the Virtual Accelerator version to be installed (in 1.x format)'
weight: 32
type: "text"
restrictions:
- condition: "settings:6wind-virtual-accelerator.credentials_package.value == ''"
message: "Provide a credentials package"
advanced_params_enabled:
value: false