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:
parent
795ee99bf5
commit
0ba0ead929
@ -287,9 +287,10 @@ class CreatePolicy(show.ShowOne):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--kind',
|
'--kind',
|
||||||
metavar="<kind>",
|
metavar="<kind>",
|
||||||
choices=['nonrecursive', 'database', 'action', 'materialized'],
|
choices=['nonrecursive', 'database', 'action', 'materialized',
|
||||||
|
'z3'],
|
||||||
help="Kind of policy: "
|
help="Kind of policy: "
|
||||||
"{nonrecursive, database, action, materialized}")
|
"{nonrecursive, database, action, materialized, z3}")
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user