2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-15 21:38:10 +00:00
Files
Vinícius Ferrão 199e4733a7 feat(uftp): add the UFTP transfer listener
Booting nodes need a server that sends a published root image once to
every node that asks for it in a short window.

xcat-uftp-listener accepts HTTP/1.0 GET requests that name an image
path and its digest. It serves only an archive that packimage published
under the configured image roots, for a digest that the checksum file
lists. It keeps the archive open from the first request, so a later
packimage does not change the bytes of a queued batch. It collects the
requests for the same inode, digest and port for batch_delay seconds,
then runs one closed-group uftp session for the batch. Connections,
queued jobs, senders and receivers per job are limited.

The sender gets an argument vector built only from the configuration,
and signs the encrypted session with a persistent server key. It drops a
receiver that misses nearly every block of a section, so one node
without multicast cannot hold the session open. A sender that is not the
UFTP 5 build of xcat-dep is refused.

block_size allows larger packets on jumbo frame networks, up to the
8800-byte limit of uftp.

xCAT::UFTP holds the decisions of the listener: request checks, batches,
limits, timeouts and the runtime check. The script holds the sockets,
the key commands and the sender processes.

The packages install the service but do not enable it. Package removal
stops and disables it.
2026-10-21 11:44:21 -03:00

39 lines
1.7 KiB
Plaintext

bin/* opt/xcat/bin/
sbin/* opt/xcat/sbin/
share/xcat/install/* opt/xcat/share/xcat/install/
share/xcat/netboot/* opt/xcat/share/xcat/netboot/
share/xcat/mypostscript/* opt/xcat/share/xcat/mypostscript/
share/xcat/ca/* opt/xcat/share/xcat/ca
share/xcat/scripts/* opt/xcat/share/xcat/scripts
share/xcat/conf/* opt/xcat/share/xcat/conf
share/xcat/tools/* opt/xcat/share/xcat/tools
share/xcat/rollupdate/* opt/xcat/share/xcat/rollupdate
share/xcat/installp_bundles/* opt/xcat/share/xcat/installp_bundles
share/xcat/image_data/* opt/xcat/share/xcat/image_data
share/xcat/cons/* opt/xcat/share/xcat/cons
share/xcat/cons/ivm opt/xcat/share/xcat/cons
share/xcat/ib/scripts/* opt/xcat/share/xcat/ib/scripts
share/xcat/devicetype/IBSwitch/Mellanox/* opt/xcat/share/xcat/ib/scripts/Mellanox
share/xcat/devicetype/IBSwitch/QLogic/* opt/xcat/share/xcat/ib/scripts/QLogic
share/xcat/devicetype/* opt/xcat/share/xcat/devicetype
share/xcat/ib/netboot/sles/* opt/xcat/share/xcat/ib/netboot/sles
share/xcat/ib/netboot/rh/* opt/xcat/share/xcat/ib/netboot/rh
lib/perl/xCAT/* opt/xcat/lib/perl/xCAT/
lib/xcat/plugins/* opt/xcat/lib/perl/xCAT_plugin/
lib/xcat/schema/* opt/xcat/lib/perl/xCAT_schema/
lib/xcat/monitoring/* opt/xcat/lib/perl/xCAT_monitoring/
lib/xcat/dsh/Context/* opt/xcat/xdsh/Context
lib/xcat/Confluent/* opt/xcat/lib/perl/Confluent/
lib/xcat/shfunctions opt/xcat/lib
etc/init.d/xcatd opt/xcat/share/xcat/scripts
debian/xcatd.md5sum opt/xcat/share/xcat/scripts
debian/xcatd-init-state opt/xcat/share/xcat/scripts
etc/init.d/xcatd.service lib/systemd/system/
etc/init.d/xcat-uftp-listener.service lib/systemd/system/
xCAT-wsapi/* opt/xcat/ws/
LICENSE.html opt/xcat/share/doc/packages/xCAT-server