summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHan Zhou <hzhou8@ebay.com>2019-05-17 12:56:35 -0700
committerBen Pfaff <blp@ovn.org>2019-05-24 11:37:29 -0700
commit43e6900a79915be1c88f45281e6eca862814a7db (patch)
tree5120a09b8ca9e51c4ddc0f88b762566379e8a216 /tests
parent2782e59d298bcf1680c7f37f09de4d385b527bc3 (diff)
downloadopenvswitch-43e6900a79915be1c88f45281e6eca862814a7db.tar.gz
ovn-controller: Maintain resource references for logical flows.
This patch maintains the cross reference between logical flows and the resources such as address sets and port groups that are used by logical flows. This data will be needed in address set and port group incremental processing. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-ovn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 7cce9c2ae..450cb9db5 100644
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -285,7 +285,7 @@ test_parse_expr__(int steps)
char *error;
expr = expr_parse_string(ds_cstr(&input), &symtab, &addr_sets,
- &port_groups, &error);
+ &port_groups, NULL, &error);
if (!error && steps > 0) {
expr = expr_annotate(expr, &symtab, &error);
}
@@ -409,7 +409,8 @@ test_evaluate_expr(struct ovs_cmdl_context *ctx)
while (!ds_get_test_line(&input, stdin)) {
struct expr *expr;
- expr = expr_parse_string(ds_cstr(&input), &symtab, NULL, NULL, &error);
+ expr = expr_parse_string(ds_cstr(&input), &symtab, NULL, NULL, NULL,
+ &error);
if (!error) {
expr = expr_annotate(expr, &symtab, &error);
}
@@ -884,7 +885,7 @@ test_tree_shape_exhaustively(struct expr *expr, struct shash *symtab,
char *error;
modified = expr_parse_string(ds_cstr(&s), symtab, NULL,
- NULL, &error);
+ NULL, NULL, &error);
if (error) {
fprintf(stderr, "%s fails to parse (%s)\n",
ds_cstr(&s), error);