[ovs-dev] [PATCH] ovs-vsctl.at: Use full name for referring to the "NetFlow" table.

Ethan Jackson ethan at nicira.com
Tue Feb 21 23:35:08 UTC 2012


Looks good,

Ethan

On Sat, Feb 18, 2012 at 04:48, Justin Pettit <jpettit at nicira.com> wrote:
> From: Justin Pettit <jpettit at ubuntu.(none)>
>
> Signed-off-by: Justin Pettit <jpettit at nicira.com>
> ---
>  tests/ovs-vsctl.at |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/ovs-vsctl.at b/tests/ovs-vsctl.at
> index 69f06b3..fb5bc1d 100644
> --- a/tests/ovs-vsctl.at
> +++ b/tests/ovs-vsctl.at
> @@ -654,11 +654,11 @@ AT_CHECK([RUN_OVS_VSCTL([add-br br1])],
>  AT_CHECK([RUN_OVS_VSCTL([set-controller br1 tcp:127.0.0.1])],
>   [0], [ignore], [], [OVS_VSCTL_CLEANUP])
>  AT_CHECK([
> -    RUN_OVS_VSCTL_TOGETHER([--id=@n create n targets='"1.2.3.4:567"'],
> +    RUN_OVS_VSCTL_TOGETHER([--id=@n create netflow targets='"1.2.3.4:567"'],
>                            [set bridge br0 netflow=@n])],
>   [0], [stdout], [], [OVS_VSCTL_CLEANUP])
>  cp stdout netflow-uuid
> -AT_CHECK([RUN_OVS_VSCTL([list n `cat netflow-uuid`])],
> +AT_CHECK([RUN_OVS_VSCTL([list netflow `cat netflow-uuid`])],
>   [0], [stdout], [], [OVS_VSCTL_CLEANUP])
>  AT_CHECK([perl $srcdir/uuidfilt.pl netflow-uuid stdout], [0],
>   [[<0>
> @@ -719,10 +719,10 @@ AT_CHECK([RUN_OVS_VSCTL([set c br1 connection-mode:x=y])],
>  AT_CHECK([RUN_OVS_VSCTL([add b br1 datapath_id x y])],
>   [1], [], [ovs-vsctl: "add" operation would put 2 values in column datapath_id of table Bridge but the maximum number is 1
>  ], [OVS_VSCTL_CLEANUP])
> -AT_CHECK([RUN_OVS_VSCTL([remove n `cat netflow-uuid` targets '"1.2.3.4:567"'])],
> +AT_CHECK([RUN_OVS_VSCTL([remove netflow `cat netflow-uuid` targets '"1.2.3.4:567"'])],
>   [1], [], [ovs-vsctl: "remove" operation would put 0 values in column targets of table NetFlow but the minimum number is 1
>  ], [OVS_VSCTL_CLEANUP])
> -AT_CHECK([RUN_OVS_VSCTL([clear n `cat netflow-uuid` targets])],
> +AT_CHECK([RUN_OVS_VSCTL([clear netflow `cat netflow-uuid` targets])],
>   [1], [], [ovs-vsctl: "clear" operation cannot be applied to column targets of table NetFlow, which is not allowed to be empty
>  ], [OVS_VSCTL_CLEANUP])
>  AT_CHECK([RUN_OVS_VSCTL([destroy b br2])],
> --
> 1.7.5.4
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list