[ovs-dev] [PATCH] vtep-ctl: Add Tunnel table to vtep_ctl_table_class.

Gurucharan Shetty shettyg at nicira.com
Wed Jul 30 21:14:42 UTC 2014


On Tue, Jul 29, 2014 at 7:31 AM, Gurucharan Shetty <shettyg at nicira.com> wrote:
> This is needed to create, get, set records in the Tunnel table.
I realized that when the schema for vtep was changed to accommodate
Tunnel table, there was no corresponding change done to vtep-ctl. Sio
just the change in this patch would not be sufficient. I will send a
v2.

>
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
> ---
>  vtep/vtep-ctl.c |    4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/vtep/vtep-ctl.c b/vtep/vtep-ctl.c
> index 0b9463a..129fa03 100644
> --- a/vtep/vtep-ctl.c
> +++ b/vtep/vtep-ctl.c
> @@ -2283,6 +2283,10 @@ static const struct vtep_ctl_table_class tables[] = {
>       {{&vteprec_table_physical_switch, &vteprec_physical_switch_col_name, NULL},
>        {NULL, NULL, NULL}}},
>
> +    {&vteprec_table_tunnel,
> +     {{NULL, NULL, NULL},
> +      {NULL, NULL, NULL}}},
> +
>      {NULL, {{NULL, NULL, NULL}, {NULL, NULL, NULL}}}
>  };
>
> --
> 1.7.9.5
>



More information about the dev mailing list