TEAMDCTL(8)

πŸ’– TEAMDCTL β€” the team daemon control tool πŸ’–

okay bestie, so this is teamdctl from the teamd control section of the manual (section 8, system admin tools, iykyk). it's the little remote control for your team daemon and honestly? iconic.


✨ NAME ✨

teamdctl β€” team daemon control tool. that's it, that's the whole name, no notes πŸ’…


🌸 SYNOPSIS 🌸

teamdctl [options] team_device command [command_args...]
teamdctl -h

so basically you hand it a team_device, a command, maybe some command_args, and she goes and does the thing. or you just do -h and she tells you about herself, main character energy.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so teamdctl is the tool that lets you, a real human, talk to a running teamd instance. like sliding into its DMs but for network teaming. 🫢

by default it uses Unix Domain Sockets, but β€” and this is the slay part β€” it will fall back to using the D-Bus API so that operation stays reliable in literally all environments. versatile queen. πŸ’–


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints the help text to your console and then dips. exit stage left. ✨
  • -v, --verbosity β€” turns up the output verbosity. more words, more lore. πŸ”₯
  • -o, --oneline β€” forces the output onto one line if it possibly can. compact, cute, condensed. πŸ“
  • -D, --force-dbus β€” forces it to use the D-Bus interface. no fallback, no negotiation, just D-Bus. πŸ’…
  • -Z address, --force-zmq address β€” forces it to use the ZMQ interface. possible address formats include "tcp://ip:port", "ipc://path" and others. a detailed description of the ZMQ library lives at http://zguide.zeromq.org/page:all. ⭐
  • -U, --force-usock β€” forces it to use the UNIX domain socket interface. fun fact: this is the default behaviour anyway, so it's giving "confirming what you already knew". πŸ‘‘

πŸ‘‘ COMMAND πŸ‘‘

this is the menu, bestie. pick your fighter.

  • config dump β€” dumps the teamd JSON config. πŸ¦‹
  • config dump noports β€” dumps the teamd JSON configuration without the "ports" section included. no ports, no problems. πŸ™ˆ
  • config dump actual β€” dumps the teamd actual JSON configuration. this one includes the ports that are currently present, so it's the real-time vibe check. ✨
  • state dump | state β€” dumps the teamd JSON state document. two ways to say the same thing, we love options. πŸ’œ
  • state view β€” prints out the state of teamd, parsed from the JSON state document. pretty version, we ate. πŸŽ€
  • state item get state_item_path β€” finds a state item inside the JSON state document and returns its value.
if PORTIFNAME inside state_item_path has any sensitive character, use double quotation marks to escape it, like: ports."eth1.1".link_watches.up. and processing the state_item_path of 'state item set' works exactly the same as here. πŸ’…
  • state item set state_item_path value β€” finds a state item inside the JSON state document and sets its value to the value parameter. this is available only for a limited number of paths:
    • setup.debug_level β€” you can set the debug level here. higher level is more verbose. πŸ“’
    • ports.PORTIFNAME.runner.aggregator.selected β€” available for the lacp runner. you can manually select the aggregator. πŸ”₯
    • runner.active_port β€” available for the activebackup runner. you can manually select the active port. πŸ‘‘
  • port add portdev β€” takes a port device name as its argument. adds that port device into the team. welcome to the group chat. 🫢
  • port remove portdev β€” takes a port device name as its argument. removes that port device from the team. it's not you it's the config. 😭
  • port present portdev β€” takes a port device name as its argument. checks whether the port device is present in the team. vibe check, basically. 🌈
  • port config update portdev portconfig-string β€” takes the port device name as the first argument and a JSON-format configuration string as the second argument. updates the port device configuration. ✨
  • port config dump portdev β€” takes the port device name as the first argument. dumps the port device JSON configuration to standard output. πŸ’–

🌈 SEE ALSO 🌈

go read those too, they're the extended universe. ⭐


🌸 AUTHOR 🌸

Jiri Pirko is the original author and current maintainer of libteam. king behaviour, no cap. πŸ‘‘


and that's the whole page, bestie! this one is from libteam, dated 2013-05-24 β€” vintage but still serving πŸ’–βœ¨πŸŽ€