[ovs-dev] [tests+nxm-ofctl 16/42] ovs-ofctl: Remove now-useless "tun-cookie" command.
Ethan Jackson
ethan at nicira.com
Thu Dec 2 20:12:48 UTC 2010
Looks Good.
On Tue, Nov 23, 2010 at 2:43 PM, Ben Pfaff <blp at nicira.com> wrote:
> This command is no longer useful, because the setting that it modifies is
> now a per-connection setting, not a global switch setting.
>
> This command was never documented or included in --help output (probably
> as an oversight).
> ---
> utilities/ovs-ofctl.c | 17 -----------------
> 1 files changed, 0 insertions(+), 17 deletions(-)
>
> diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
> index 4deb82b..869c754 100644
> --- a/utilities/ovs-ofctl.c
> +++ b/utilities/ovs-ofctl.c
> @@ -567,22 +567,6 @@ static void do_del_flows(int argc, char *argv[])
> }
>
> static void
> -do_tun_cookie(int argc OVS_UNUSED, char *argv[])
> -{
> - struct nxt_tun_id_cookie *tun_id_cookie;
> - struct ofpbuf *buffer;
> - struct vconn *vconn;
> -
> - tun_id_cookie = make_nxmsg(sizeof *tun_id_cookie, NXT_TUN_ID_FROM_COOKIE,
> - &buffer);
> - tun_id_cookie->set = !strcmp(argv[2], "true");
> -
> - open_vconn(argv[1], &vconn);
> - send_openflow_buffer(vconn, buffer);
> - vconn_close(vconn);
> -}
> -
> -static void
> monitor_vconn(struct vconn *vconn)
> {
> for (;;) {
> @@ -870,7 +854,6 @@ static const struct command all_commands[] = {
> { "add-flows", 2, 2, do_add_flows },
> { "mod-flows", 2, 2, do_mod_flows },
> { "del-flows", 1, 2, do_del_flows },
> - { "tun-cookie", 2, 2, do_tun_cookie },
> { "dump-ports", 1, 2, do_dump_ports },
> { "mod-port", 3, 3, do_mod_port },
> { "probe", 1, 1, do_probe },
> --
> 1.7.1
>
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
>
More information about the dev
mailing list