summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Work towards implementation of optional integrated "light" sync support, ↵Michael DeHaan2007-02-011-5/+7
| | | | | | which is enabled by default in /var/lib/cobbler/settings. Users of the API will need to use the with_copy=True and with_delete=True parameters to initiate this behavior. As mentioned in the previous commit, sync() still needs to be run at least once prior to any add commands using this feature.
* Add kickstart pre-signaling to indicate starts in addition to stops.mdehaan@mdehaan.rdu.redhat.com2007-01-031-0/+1
|
* Add scaffolding for status report function/module.mdehaan@mdehaan.rdu.redhat.com2007-01-031-5/+6
|
* Allow "cobbler enchant" commands to also remotely install Xen on systems in ↵Michael DeHaan2006-12-221-2/+2
| | | | | | | the same way the command already supported destructive re-provisioning. Syntax is "cobbler enchant --address=foo --profile=foo --virt=yes" or "--system=foo" can replace "--profile" if you want to set the Xen mac address and so forth.
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-3/+21
|
* Serialize changes during imports, since NFS traversal is very slow.Michael DeHaan2006-10-181-1/+1
|
* Working on removing the dependancy on pexpectMichael DeHaan2006-10-171-4/+6
|
* Trailing whitespace.Michael DeHaan2006-10-161-1/+1
|
* Lots of work on importing rsync mirrors, including preliminary code to guessMichael DeHaan2006-10-131-2/+2
| | | | kickstart files and assign them for distributions that we know how to minimally kickstart.
* Import feature added (usable for things like /mnt/redhat)Michael DeHaan2006-10-131-2/+4
|
* Initial code behind an import feature for directory trees, i.e. to transform ↵Michael DeHaan2006-10-121-3/+4
| | | | | | something like /mnt/redhat (containing a lot of OS builds with trees) into distributions and profiles directly.
* Development error temporarily removed enchant from the CLI accessible ↵Michael DeHaan2006-10-121-2/+2
| | | | options. Putting it back and making it a part of the system subcommands to make it more consistant (parsing is better too this way).
* Adding API stub for unfinished methodMichael DeHaan2006-10-111-0/+7
|
* Commiting the (working) enchant feature and associated changes to enableMichael DeHaan2006-09-291-3/+2
| | | | | it. Some error handling is needed but it's functional. See NEWS and manpage for documentation on enchant.
* - Interim checkin while working on "enchant" featureMichael DeHaan2006-09-281-65/+73
| | | | - Fixed changelogs to include user/email
* Remove api_call indirection and exception handling layer since tests had ↵Michael DeHaan2006-05-121-32/+15
| | | | already been modified to use failUnlessRaises.
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-2/+10
| | | | test where I changed a command line syntax.
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-3/+11
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-20/+33
| | | | all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
* Interim checkin while straightening out exceptions. The last_error bit ↵Michael DeHaan2006-05-081-6/+0
| | | | | | | reminded me of the thing I hated most about Microsoft SDK/DDK programming (that being, last_error and inconsistant error handling), so it had to go.
* More pychecker. More comments.Michael DeHaan2006-05-081-30/+11
|
* PyChecker.Michael DeHaan2006-05-081-4/+0
|
* Unit tests pass again.Michael DeHaan2006-05-081-19/+18
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-6/+30
| | | | cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.
* Interim commitMichael DeHaan2006-05-051-7/+9
|
* Interim refactoring commitMichael DeHaan2006-05-051-31/+18
|
* Interim commit while refactoring. This breaks lots of stuff.Michael DeHaan2006-05-051-527/+21
|
* Make /etc/cobbler.conf be packaged instead of being created, proper handling ↵Michael DeHaan2006-05-051-3/+9
| | | | of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
* Fixing regression in common constructorMihai Ibanescu2006-05-041-1/+1
| | | | When transcribing the constructors, moved one bracket too far to the right.
* Moving code aroundMihai Ibanescu2006-05-041-158/+158
| | | | Just to define Collections after Items.
* Reducing duplication in the constructorsMihai Ibanescu2006-05-041-27/+15
| | | | | | | | | | We define a top-level constructor in the base class and define an _item_factory that is the class to be instantiated for each item. The code as it is checked in now is broken because we reference the class before we define it in the global scope; but wanted the checkins to be separate, the next one will move all the Collection-related stuff after the Item-related stuff (but the diff would have been difficult to read)
* Merged Michael's changes with mineMihai Ibanescu2006-05-041-41/+40
|
* Misc cobbler cleanup. Switched to the new yaml parser (it's uglier,Michael DeHaan2006-05-031-41/+48
| | | | | need to do something about that). Added some tests. Modified test code so it never clobbers a working install.
* Interim commit during packagingMichael DeHaan2006-05-031-0/+634