summaryrefslogtreecommitdiff
path: root/vtep
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-04-27 15:47:59 -0700
committerBen Pfaff <blp@ovn.org>2017-05-03 08:31:30 -0700
commit15931827ee9198edf84861c0e30f6d20cd04fd83 (patch)
treec97c27d44a489cab42b2782bf278c97b9d0d5900 /vtep
parenta0b02897cfe33aa2c40620707f2e42cf716abf72 (diff)
downloadopenvswitch-15931827ee9198edf84861c0e30f6d20cd04fd83.tar.gz
db-ctl-base: Add support for identifying a row based on a value in a map.
This will be used in an upcoming commit to allow Datapath_Binding records in the OVN southbound database to be identified based on external-ids:name and other map values. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'vtep')
-rw-r--r--vtep/vtep-ctl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/vtep/vtep-ctl.c b/vtep/vtep-ctl.c
index 05c9ef8e3..bbdf57fad 100644
--- a/vtep/vtep-ctl.c
+++ b/vtep/vtep-ctl.c
@@ -2178,18 +2178,19 @@ cmd_set_manager(struct ctl_context *ctx)
/* Parameter commands. */
static const struct ctl_table_class tables[VTEPREC_N_TABLES] = {
[VTEPREC_TABLE_LOGICAL_SWITCH].row_ids[0]
- = {&vteprec_logical_switch_col_name, NULL},
+ = {&vteprec_logical_switch_col_name, NULL, NULL},
- [VTEPREC_TABLE_MANAGER].row_ids[0] = {&vteprec_manager_col_target, NULL},
+ [VTEPREC_TABLE_MANAGER].row_ids[0]
+ = {&vteprec_manager_col_target, NULL, NULL},
[VTEPREC_TABLE_PHYSICAL_PORT].row_ids[0]
- = {&vteprec_physical_port_col_name, NULL},
+ = {&vteprec_physical_port_col_name, NULL, NULL},
[VTEPREC_TABLE_PHYSICAL_SWITCH].row_ids[0]
- = {&vteprec_physical_switch_col_name, NULL},
+ = {&vteprec_physical_switch_col_name, NULL, NULL},
[VTEPREC_TABLE_LOGICAL_ROUTER].row_ids[0]
- = {&vteprec_logical_router_col_name, NULL},
+ = {&vteprec_logical_router_col_name, NULL, NULL},
};