Smart tftp server...

Jonathan Sabo jsabo at criminal.org
Tue May 25 17:50:11 UTC 2010


How is it configured?  Do you have options in /etc/cobbler/modules to
switch between the standards tftp daemon and this new tftp daemon that
speaks cobbler xmlrpc?  This will make it so we won't have to cobbler
sync any longer or dramatically reduce the need to do so?  How does
that all work can you explain it?  I think the you should start by
making it configurable through /etc/cobbler/settings and adding the
ability to enable disable it similarly to how dns and dhcp works.

Like:

# dns:
# chooses the DNS management engine if manage_dns is enabled
# in /etc/cobbler/settings, which is off by default.
# choices:
#    manage_bind    -- default, uses BIND/named
#    manage_dnsmasq -- uses dnsmasq, also must select dnsmasq for dhcp below
# NOTE: more configuration is still required in /etc/cobbler
# for more information:
# https://fedorahosted.org/cobbler/wiki/ManageDns

As soon as I can enable it similarly and switch at will I'll be happy
to start testing it.

Thanks,

Jonathan


On Tue, May 25, 2010 at 9:21 AM, Douglas Kilpatrick
<kilpatds at oppositelock.org> wrote:
> I've coded up a tftp server (using tornado's ioloop) that also talks
> with cobbler.  My hope is to use it to replace the system's tftp server,
> to simplify sync operations and allow more flexibility in booting and
> installing alternate operating systems.
>
> Code is available at http://github.com/kilpatds/cobbler, changes are
> limited to one file: scripts/tftpd.py
>
> Right now, it just looks in template_files to see if it should perform
> any templating, otherwise it loads files from /tftpboot (well, from the
> "prefix" option, which defaults to /tftpboot).  It expands templates via
> templar, and uses XMLRPC to talk to cobbler.
>
> If this is of interest, are there any suggestions about where to start
> increasing integration?  Long term, I'd like to have it handle
> pxelinux.cfg stanzas, but I would also like to keep special-case
> business logic outside the program.
>
> Doug
> --
> Doug Kilpatrick
> kilpatds at oppositelock.org
> _______________________________________________
> cobbler-devel mailing list
> cobbler-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler-devel
>


More information about the cobbler-devel mailing list