vtep: make vtep-ctl support L3 tables.
authorWenyu Zhang <wenyuz@vmware.com>
Tue, 26 Jan 2016 10:34:59 +0000 (02:34 -0800)
committerGurucharan Shetty <guru@ovn.org>
Fri, 29 Jan 2016 01:00:49 +0000 (17:00 -0800)
Add supporting for tables necessary for L3 usage:
Logical_Router
Arp_Sources_Local
Arp_Sources_Remote

Signed-off-by: Wenyu Zhang <wenyuz@vmware.com>
Acked-by: Shuangmin Zhang <tsingzsm@gmail.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
vtep/vtep-ctl.c

index 604d19d..e46c73d 100644 (file)
@@ -2044,6 +2044,18 @@ static const struct ctl_table_class tables[] = {
      {{NULL, NULL, NULL},
       {NULL, NULL, NULL}}},
 
+    {&vteprec_table_logical_router,
+     {{&vteprec_table_logical_router, &vteprec_logical_router_col_name, NULL},
+      {NULL, NULL, NULL}}},
+
+    {&vteprec_table_arp_sources_local,
+     {{NULL, NULL, NULL},
+      {NULL, NULL, NULL}}},
+
+    {&vteprec_table_arp_sources_remote,
+     {{NULL, NULL, NULL},
+      {NULL, NULL, NULL}}},
+
     {NULL, {{NULL, NULL, NULL}, {NULL, NULL, NULL}}}
 };