tbot_contrib.swupdate

tbot_contrib.swupdate.swupdate_update_web(lh: LinuxShell, swu_file: Path, target_ip: str, timeout: int = 300) None[source]

Upload an .swu file to a running swupdate server.

Parameters:
  • lh (linux.LinuxShell) – The lab-host from where to initiate the update.

  • swu_file (linux.Path) – Path to the .swu file (on the lab-host or locally).

  • target_ip (str) – IP-Address of the target host.

  • timeout (int) – Timeout.