#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
def datapath_configure_bond(pif,slaves):
bridge = pif_bridge_name(pif)
def datapath_configure_bond(pif,slaves):
bridge = pif_bridge_name(pif)
interface = pif_netdev_name(pif)
argv = ['--', '--fake-iface', 'add-bond', bridge, interface]
interface = pif_netdev_name(pif)
argv = ['--', '--fake-iface', 'add-bond', bridge, interface]
- vsctl_argv += ['--', 'add-br', bridge, parent, vlan]
+ vsctl_argv += ['--', '--may-exist', 'add-br', bridge, parent, vlan]
- vsctl_argv += ['--', 'add-port', bridge, iface]
+ vsctl_argv += ['--', '--may-exist', 'add-port', bridge, iface]