summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
Commit message (Collapse)AuthorAgeFilesLines
* More fixes to repo/image delete codeMichael DeHaan2008-07-031-2/+2
|
* The settings file is now /etc/cobbler/settings, and cobbler's command lineMichael DeHaan2008-05-161-1/+1
| | | | | will warn the user the old file is no longer in use and ask them to delete it before proceeding.
* Add extra logging if an error is encountered while rendering a kickstartMichael DeHaan2008-05-151-11/+1
|
* Added code to cobbler check to see if any templates are still using the defaultMichael DeHaan2008-05-131-0/+3
| | | | password, and if so, to warn about them.
* Apply scott henson's replicate patch.Michael DeHaan2008-05-081-0/+5
|
* Various DNS/DHCP work.Michael DeHaan2008-05-021-4/+9
|
* Working on moving DNS/DHCP management to cobbler/modules (uses modules.conf)Michael DeHaan2008-05-021-11/+6
| | | | In progress.
* Adjusting the dhcp patch some, prior to moving it all into modules/Michael DeHaan2008-05-021-1/+14
|
* Working on adding a "cobbler buildiso" command to generate non-live CD's. ↵Michael DeHaan2008-05-011-0/+7
| | | | | | Menu does not work yet, but getting there. Also made registration check for duplicate macs, but needs testing.
* Add "dumpvars" command.Michael DeHaan2008-04-231-0/+3
|
* Kickstarts are now dynamically generated by mod_python, CGI's now fallMichael DeHaan2008-04-181-1/+10
| | | | under mod_python, kickstart templating code now moved out of sync function.
* This is the new status engine in progress. I still need to do some things ↵Michael DeHaan2008-04-161-2/+2
| | | | | | | | to parse out times and indicate how long installs have been active (so there is an easier way to grep for last installs). Technically this will also provide ways of looking at an install history which is probably something we could add if it was interesting. Lots of options.
* Import now takes an --arch, which is now a recommended field, to ensureMichael DeHaan2008-04-111-2/+2
| | | | best practices in naming.
* Two things -- (A) remove rhpl dep as we aren't using it and we want to useMichael DeHaan2008-04-091-1/+1
| | | | | more standard xlat for other distros potentially, (B) fix the kerb module some more.
* Working on adding checks for duplicate names/ips/macs to cobblerroot2008-04-041-8/+8
|
* Nicer error reporting when user doesn't have permissions on the log filesMichael DeHaan2008-02-131-1/+7
|
* Added additional needed args to higher level API methods, also made higher ↵Michael DeHaan2008-02-131-5/+17
| | | | | | level API function for find variants.
* Recursive deletes are now possible with --recursive. Web UI still needs to ↵Michael DeHaan2008-01-311-4/+4
| | | | take advantage of this.
* Add rename and copy functionality to the base API, the remote interface, and ↵Michael DeHaan2008-01-221-16/+67
| | | | make the WebUI use it for much smarter renames and copies.
* Added --rsync-flags to cobbler import.Michael DeHaan2008-01-101-3/+3
|
* Apply euclid's patch to allow import to take a --kickstart parameterMichael DeHaan2008-01-041-3/+3
|
* Fix typoMichael DeHaan2007-12-131-1/+1
|
* Performance tweaking and benchmarks.Michael DeHaan2007-12-121-5/+14
|
* API and web svc now use seperate logging, and logging is greatly enhanced ↵Michael DeHaan2007-12-101-23/+38
| | | | and more usable.
* Lots of logging improvements, keep sync from blitzing the WebUIMichael DeHaan2007-12-061-15/+20
|
* Some initial work on kerberos authentication via a helper program, some work ↵Michael DeHaan2007-12-051-1/+55
| | | | | | on making the API have access to the log files and logging everything done there. The logging work, as well as kerb testing, are incomplete at this point, though authn_configfile works fine.
* AuthN/AuthZ modules are now pluggable, http://127.0.0.1/cobbler/web now ↵Michael DeHaan2007-12-041-2/+2
| | | | active for mod_python using AuthN/AuthZ, backend now also doing AuthZ. default AuthN mechanism is using /etc/cobbler/auth.conf for now, which needs to be replaced, should use htdigest data at minimum.
* Apply Christophe's patch to enable yum priorities. Slightly tweaked to ↵Michael DeHaan2007-11-291-1/+1
| | | | default to 99, not 200.
* Further work on CLI modularization. All commands implemented now, except ↵Michael DeHaan2007-11-191-2/+2
| | | | | | | for old school compatibility translation for list/report. All commands will then need to be tested...
* Initial bits of code to make CLI modular, and use new object system for ↵Michael DeHaan2007-11-191-1/+1
| | | | defining new CLI commands.
* Expose function for getting all modules of a specific category.Michael DeHaan2007-11-141-4/+5
|
* Abstract out the modules system to allow for other types of modules, and to ↵Michael DeHaan2007-11-121-1/+15
| | | | also centralize configuration/loading/access some more.
* Various changes to allow for increased performance in the WebUI and in ↵Michael DeHaan2007-10-171-2/+5
| | | | | | saving state, plus a fix to import that keeps from creating extra yum repo entries for various distros.
* Work on an shelve-based external storage, for performance testing. SqliteMichael DeHaan2007-10-151-0/+3
| | | | is just as likely at this point.
* Ben Riggs patch to allow for reposyncs of explicit repos + tweakMichael DeHaan2007-09-061-2/+2
| | | | to repo object to ensure items get serialized as booleans.
* Further work on interchangeable backends. Rather than keeping the config fileroot2007-09-051-3/+4
| | | | | | | | | | | | | | format choice in settings (which is something of a Catch-22 situation), this may end up being a config file setting in /etc. Module loaders work and still default to yaml, though I've coded up a sample simple_json serializer that will be functional if users install simple-json. This is just demoware, JSON isn't replacing yaml and is (at least in this case) not as readable because of the way it escapes slashes. This is primarily to enable future work to integrate with other config file formats, such as possibly getting some of the system info from LDAP. Possibly.
* removed deprecated enchant function/module (just use SSH!), config file cleanup.root2007-09-051-12/+0
|
* Added "cobbler repo auto-add" feature which can discover all the reposMichael DeHaan2007-08-311-0/+35
| | | | | the cobbler server has configured in yum and set them up to be mirrored automagically.
* Added feature where a network install location can be given to do cobbler ↵Michael DeHaan2007-08-011-4/+9
| | | | | | imports without mirroring. This is explained in the manpage and online docs.
* Added a SNIPPET::foo feature which can do the equivalent of %include in ↵Michael DeHaan2007-07-271-1/+2
| | | | | | | | | kickstart without the need for a wget and http hosting. Snippets live in /var/lib/cobbler/snippets -- Cobbler ships with only one snippet now (as a demo), though users can create as many as they want.
* Added -v/--versionMichael DeHaan2007-07-261-0/+19
|
* Added kickstart validation code to cobbler + documentation.Michael DeHaan2007-07-261-0/+13
|
* Lots of work towards profile inheritance. This works in the UI now, withMichael DeHaan2007-06-131-8/+8
| | | | | | | | | | | | | | | | | | | some rough edges (like listing the tree). cobbler profile add --name=profile2 --inherit=profile1 --otherparameters=... cobbler profile edit --name=profile2 --stillmoreparamters=... Data is interleaved for hashes, combined for arrays, and overriden for scalar values. This was heavily inspired by Will-It-Blend, and in this implementation it all blends. Implementation notes -- Updating a parent profile doesn't apply changes to the child objects until a sync, so this seems like a good upgrade for a future commit. Also, the children mapping that makes this possible needs some tweaks because they may load out of order, in which case "cobbler list" can't render a full tree. There are various approaches to deal with this and it should be a (relatively) easy change.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-1/+0
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* Various improvements to make the API more usable and cobbler a bitMichael DeHaan2007-04-191-4/+11
| | | | | | | | more efficient. Make both the Config and BootAPI objects Borgs, to prevent duplicate configuration records. Also do not implicitly serialize configuration objects unless the with_copy parameter is used.
* Implemented trigger support for tying in with other software.Michael DeHaan2007-04-161-1/+1
|
* Most of these diffs come from directory reorg/cleanup, though the main ↵Michael DeHaan2007-03-191-4/+3
| | | | feature here is the start of a better --import command that creates significantly shorter paths and can work more reliably on mounted DVD images (losetup or otherwise). Detection of kickstarts based on paths needs to be augmented by additional means for this to really work. However, changes going in here (and still more to come) result in cleaner names for imported profiles, and substantially shorter kernel option command lines, which is needed to keep under the 255 limit. There is also some work here going in to template out all of the files for PXE, reducing the amount of code in action_sync and also making PXE setups much more customizable (menu choices, titles, random parameters, ipappend 2, etc) without patching the source. "tree" on import is also attached now to the distro, not the profile. So, whew, that's a lot.
* Working on adding pxemenu support.Michael DeHaan2007-02-141-0/+3
|
* Remove variable/attribute confusion.Michael DeHaan2007-02-121-2/+2
|
* Minor fixes to sync flag stuff.Michael DeHaan2007-02-021-2/+2
|