TEAM2BOND(1)
π TEAM2BOND(1) β the team-to-bonding conversion tool, bestie edition
okay so this is team2bond, and it lives in manual section 1, and honestly? it's giving "glow-up for your network config" β¨
π¦ NAME
team2bond β converts a team configuration into a NetworkManager bond configuration. yes, literally a whole personality transplant for your network device π
πΈ SYNOPSIS
team2bond [options]
that's it. that's the whole vibe. options or bust π
β¨ DESCRIPTION
team2bond is a tool that converts team options into bonding options. during the conversion, team2bond tries to create a bond configuration that has the same or similar functionality as the team β like, it's not a perfect clone, but it's the same energy, y'know? π«Ά
so here's the deal: this tool converts a team JSON format configuration file into NetworkManager nmcli commands that you can use to set up a network bonding device. after you've verified the commands and deleted the corresponding team device, you run the nmcli commands manually β or with the parameter --exec β to create the NetworkManager connection profile. main character move: verify first, execute second π₯
Important: bestie, listen to me. deleting the team device makes this connection unavailable until you recreate the bond. like, fully gone. don't say I didn't warn you π
π OPTIONS
--config <team json config file>β specifies the team JSON format configuration file to convert. use the'teamdctl <TEAMNAME> config dump [actual]'command to create that JSON file. iykyk π--rename <interface>β a convenient option to replace the original interface name with the specified name. for example, use--rename bond0to change the interface name tobond0. so chill, so easy. but β note that firewall rules, alias interfaces, and so on, that are tied to the original interface name can break after the renaming of an interface, because the tool only changes the NetworkManager profile. it's not doing magic, it's doing one thing π--helpβ prints a help text to console and exits. the classic. the icon. π§
π DANGEROUS OPTION
--execβ executes the generatednmclicommands and adds the connections directly, instead of printing them to the screen. this parameter is NOT recommended. like, for real for real. double-check the generated commands before you apply them, no cap β οΈ
π EXAMPLE STEPS
- save the current
'team0'ip addresses, firewall rules, alias, etc. (yes, all of it, don't skip this part π) - dump the current
'team0'configuration to a JSON file. using the'actual'option,team2bonddumps the actual config instead of the initial config:
# teamdctl team0 config dump actual > team0.json
- run the
team2bondutility in dry-run mode to displaynmclicommands that set up a network bond with similar settings as the team device:
# team2bond --config team0.json
to convert the current 'team0' configuration to a bonding connection profile and rename the interface name to 'bond0':
# team2bond --config team0.json --rename bond0
- examine these generated
nmclicommands, and make sure all parameters are correct. be a responsible icon, check your work π - delete the
team0device by using theteamdornmcliutility to avoid a device conflict. then execute the commands theteam2bondutility displayed in the previous step manually, or use the--execoption:
# team2bond --config team0.json --rename bond0 --exec
β CAVEATS
the tool will not convert any other configuration which might be tied to the current setup. for instance: IP addresses, firewall rules, alias interfaces, bridges, and so on. it does one job and it does it well, bestie β everything else is on you π
π¦ AUTHOR
Hangbin Liu <haliu@redhat.com>
πΈ SEE ALSO
nmcli(1), teamdctl(8), teamd.conf(5).
and that's the whole page, periodt π
this came to you from libteam, dated 2021-07-20 β mwah, go forth and bond responsibly π«Άβ¨π
π¦ where this page comes from
- centos-stream 9: teamd 1.31-16.el9 Β· LGPLv2+
- centos-stream 9: teamd 1.31-16.el9 Β· LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms