Adds support for z3 policies

z3 is a new kind of theory where rules are treated by Microsoft Z3 engine.
The end-user must explicitly mark policies using this engine.

Change-Id: I519821ccb8a14d9a28bf890bb98c55c01c2a0e9c
Partially-implements: blueprint alternative-engine-z3
This commit is contained in:
Pierre Crégut 2018-07-20 09:19:06 +02:00
parent 795ee99bf5
commit 0ba0ead929
1 changed files with 3 additions and 2 deletions

View File

@ -287,9 +287,10 @@ class CreatePolicy(show.ShowOne):
parser.add_argument(
'--kind',
metavar="<kind>",
choices=['nonrecursive', 'database', 'action', 'materialized'],
choices=['nonrecursive', 'database', 'action', 'materialized',
'z3'],
help="Kind of policy: "
"{nonrecursive, database, action, materialized}")
"{nonrecursive, database, action, materialized, z3}")
return parser
def take_action(self, parsed_args):