[ovs-dev] [deprecation 1/2] bond: Deprecate stable bonds.

Ben Pfaff blp at nicira.com
Sat Aug 18 02:42:07 UTC 2012


On Fri, Aug 17, 2012 at 07:18:40PM -0700, Ethan Jackson wrote:
> diff --git a/lib/bond.c b/lib/bond.c
> index 7178416..5e097b0 100644
> --- a/lib/bond.c
> +++ b/lib/bond.c
> @@ -255,6 +255,12 @@ bond_reconfigure(struct bond *bond, const struct bond_settings *s)
>      if (bond->balance != s->balance) {
>          bond->balance = s->balance;
>          revalidate = true;
> +
> +        if (bond->balance == BM_STABLE) {
> +            VLOG_WARN("Stable bond mode is deprecated and may be removed in"
> +                      " February 2012. Please email dev at openvswitch.org with"
> +                      " concerns.");
> +        }
>      }

s/2012/2013/ here.

I suggest VLOG_WARN_ONCE.



More information about the dev mailing list