Modify the constraint to allow single quote for DPDK core list param

DPDK core list has to be give a string. For multiple cores, it
be given as "'1,2'". But the constraint does not allow ' (single
quote) to be set in the string. Modifying the constraint pattern.
Closes-Bug: #1633433

Depends-On: I01bf15b3c689b4fd0cdd848cf264dd9794e1d828
Change-Id: Ide2194d9ef5c10e276fa1a634919dfb286e483d6
(cherry picked from commit 1884d2a01c)
This commit is contained in:
Saravanan KR 2016-10-14 16:46:50 +05:30 committed by Emilien Macchi
parent d81ad3cf42
commit 01a872e574
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ parameters:
description: List of cores to be used for DPDK Poll Mode Driver
type: string
constraints:
- allowed_pattern: "[0-9,-]+"
- allowed_pattern: "'[0-9,-]+'"
NeutronDpdkMemoryChannels:
description: Number of memory channels to be used for DPDK
type: string