BOND2TEAM(1) | Bonding to Team conversion tool | BOND2TEAM(1) |
bond2team — Converts bonding configuration to team
bond2team [options]
bond2team is a tool to convert bonding options to team trying as much as possible to keep the original functionality.
The resulting files are saved in a temporary directory using ifcfg style by default. In the case of converting an ifcfg file, it translates the bonding options to team, preserving all other options. In that case, it converts the respective slave ifcfg files to team port, preserving all their other options too. In case of converting from given bonding options in the command line, the tool can use the specified ports as team ports.
To convert the current 'bond0' ifcfg configuration to team ifcfg:
To convert the current 'bond0' ifcfg configuration to team ifcfg renaming the interface name to 'team0'. Caution : firewall rules, alias interfaces, etc., that might be tied to the original interface name can break after the renaming because the tool will only change the ifcfg file, nothing else.
# bond2team --master bond0 --rename team0
To convert given bonding parameters with ports without any ifcfg:
# bond2team --bonding_opts 'mode=1 miimon=500 primary=eth1 primary_reselect=0' --port eth1 --port eth2 --port eth3 --port eth4
For more examples, see the option --examples.
The tool will not convert any other configuration which might be tied to the current setup. For instance, firewall rules, alias interfaces, bridges, and so on.
Flavio Leitner is the original author of the tool. Jiri Pirko is the original author and current maintainer of libteam.
2013-07-18 | libteam |