[ovs-discuss] bond control syntax

Ben Pfaff blp at ovn.org
Mon Mar 5 16:58:20 UTC 2018

On Sun, Mar 04, 2018 at 12:34:53PM -0500, Chris Boley wrote:
> Hi,
> I worked on this more and found that this worked. If anyone is actually
> interested.
> sudo touch /etc/network/if-up.d/vbond0_tune
> sudo nano /etc/network/if-up.d/vbond0_tune
> ##Pasted this in###
> ovs-vsctl set port vbond0 other_config:lacp-system-priority=50
> other_config:bond-rebalance-interval=5000 other_config:
> bond-detect-mode=miimon other_config:bond-miimon-interval=100
> other_config:bond_updelay=200 other_config:bond_downdelay=200
> exit
> ##save file and exit##
> sudo chmod a+x /etc/network/if-up.d/vbond0_tune
> modify interfaces file to look this way:
> allow-vbridge0 vbond0
> iface vbond0 inet manual
>        ovs_bridge vbridge0
>        ovs_type OVSBond
>        ovs_bonds eth1 eth2
>        ovs_options bond_mode=balance-slb lacp=active
>        post-up /etc/network/if-up.d/vbond0_tune
> After that I could run:
> foo at VMHOST:~$ sudo ovs-vsctl list port vbond0
> And I could see all the "other_options"
> The ovs-appctl bond/show vbond0 isn't really reflecting my up and down
> delay. I'm not sure though if that's because the Cisco Switch ports are
> taking priority or what's going on.

bond_updelay and bond_downdelay are columns rather than keys within
other_config, so you should be able to just remove "other_config:" from
those settings to make them work.

More information about the discuss mailing list