summaryrefslogtreecommitdiffstats
path: root/cobbler/collection.py
Commit message (Collapse)AuthorAgeFilesLines
* works...John Eckersberg2009-03-131-0/+2
|
* Whole bunch of network work, good time to throw a commit out.John Eckersberg2009-03-131-0/+3
| | | | | At this point I can manipulate network objects via the CLI. Nothing intelligent is going on under the hood yet.
* Update the ctime field when copying objects.Michael DeHaan2009-03-131-0/+1
|
* Add in a mechanism for a generic "on change" trigger, that is called on all ↵Michael DeHaan2009-03-111-0/+1
| | | | adds/edits/removes and syncs. To be used later by our SCM integration feature, among other things.
* Fix removal of images that have child objects, so that orphan detection and ↵Michael DeHaan2009-02-181-0/+4
| | | | | | | | recursive removal works as in the rest of cobbler. Conflicts: cobbler/collection_images.py
* Working on moving stock triggers over to be python based, while still ↵Michael DeHaan2009-02-121-4/+4
| | | | supporting shell triggers. These execute faster and can use native API handles without reloading penalties. Unit tests still have some errors, so we're not done with this.
* Working on getting the server to not ping itselfMichael DeHaan2009-01-231-1/+1
|
* The beginings of a caching implementation for cobblerd to make the ↵Michael DeHaan2009-01-211-1/+6
| | | | webapp/XMLRPC much faster.
* Make CLI interface edits clear out duplicate fieldsMichael DeHaan2008-12-171-0/+7
|
* Make sure UID is set for new objects.Michael DeHaan2008-12-021-1/+4
|
* Add UID field to APIMichael DeHaan2008-11-241-2/+4
|
* Ongoing changes to make the webapp conform with network field changesMichael DeHaan2008-11-201-1/+1
|
* Updated code and tests based on test results, webapp still not updated, need ↵Michael DeHaan2008-11-191-4/+4
| | | | | | to change CLI options next and update manpages.
* Keep creation and modification times with each objectMichael DeHaan2008-11-101-1/+9
|
* Fairly extensive overhaul of the test code, and correcting some API-based ↵Michael DeHaan2008-11-061-0/+3
| | | | gotchas found as a result of testing. First, test_basic.py code now uses api.py methods as opposed to lower level methods, ensuring we test what API consumers are most likely to use. Second, remote.py tests are (largely) complete and clean. In api.py and remote.py I've added a method to ensure that the API configurations are always up to date before API calls, preventing synchronization issues that previously had to be worked around. As a result of this the server.update() call is no more. The mechanism behind this remains rough and we may want to optimize things a bit later, though the API signatures around this new checking code are solid. Upgrading the internals should be possible to avoid additional reloading of the config. Ultimately we may want to teach cobbler's local API to ask cobbler's cobblerd for it's definitive copy though that is to be explored later.
* Duplicate hostname prevention featureMichael DeHaan2008-10-101-5/+13
|
* Apply patch to add --kopts-post which lets you configure the kernel options ↵Michael DeHaan2008-08-191-0/+1
| | | | on installed systems.
* At Spot's suggestion, make sure all source code files include the correct ↵Michael DeHaan2008-08-131-4/+12
| | | | | | GPLv2+ license header, as Cobbler is GPLv2. Also finally remove serializer_shelve, which is replaced by serializer_catalog.
* Cobbler system objects can now descend from systems as well as objects, and ↵Michael DeHaan2008-08-051-1/+1
| | | | images are generically PXE-bootable. This is relatively awesome.
* More fixes to base image tracking code.Michael DeHaan2008-07-011-0/+1
|
* Working on adding in image management, still a good ways to go, this does notMichael DeHaan2008-07-011-0/+2
| | | | do anything useful yet and other things may be broken :)
* Added cobbler find command to do searches from the command line.Michael DeHaan2008-06-091-2/+37
|
* apply fixesMichael DeHaan2008-06-041-2/+2
|
* This change makes triggers that are registered for addition and removal of ↵Michael DeHaan2008-05-301-5/+5
| | | | objects to now run when they are renamed or copied. In the case of a copy, only the add triggers are re-run against the new name. In the case of rename, first the add triggers are called on the newname, then the remove triggers are called on the oldname as that is how things are implemented. In the case of renaming an object that has child objects, the child objects are updated, so the add triggers will then be called on each to notify that those objects themselves have changed, this last bit of the behavior I'm not sure if it's a good thing or not, though we can refine it if that is not desirable.
* 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.
* remove FIXMEs as things have been tested and work WRT the duplication ↵Michael DeHaan2008-04-041-11/+1
| | | | prevention feature.
* Working on adding checks for duplicate names/ips/macs to cobblerroot2008-04-041-4/+65
|
* Recursive deletes are now possible with --recursive. Web UI still needs to ↵Michael DeHaan2008-01-311-0/+1
| | | | take advantage of this.
* Add rename and copy functionality to the base API, the remote interface, and ↵Michael DeHaan2008-01-221-0/+41
| | | | make the WebUI use it for much smarter renames and copies.
* Rename some templates, remove proxy logic that is not necc. for new performanceMichael DeHaan2007-12-201-28/+2
| | | | plans, remove watcher.py reference
* The repo management code generates some things on a per-profile basis whichMichael DeHaan2007-12-181-2/+28
| | | | | should be generated on a per-system basis to support --server-override correctly. This is a fix.
* Performance tweaking and benchmarks.Michael DeHaan2007-12-121-16/+30
|
* API and web svc now use seperate logging, and logging is greatly enhanced ↵Michael DeHaan2007-12-101-0/+5
| | | | and more usable.
* Applying Ben Riggs patch to add API flag to disable triggers when addingMichael DeHaan2007-11-161-3/+5
| | | | objects.
* Service restarting has been abstracted out of the action_sync code, and is ↵Michael DeHaan2007-10-191-5/+1
| | | | | | | | | | now a trigger. This commit adds pre/post sync triggers, for scripting of arbitrary actions. The idea is that a cobbler user can now modify the restart-services script to rsync DHCP configurations to a remote box and instead restart them there, for hosting DHCP on a different box. Or do anything else that might be required. The restart-services trigger will ship in the cobbler RPM. Users can modify it at will and it is marked as config(noreplace) so upgrades will not affect it.
* Various changes to allow for increased performance in the WebUI and in ↵Michael DeHaan2007-10-171-6/+0
| | | | | | 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-1/+3
| | | | is just as likely at this point.
* Storing NICs in a hash for easier access + some refactoring + modifications ↵Michael DeHaan2007-10-091-63/+2
| | | | to the find function.
* Once again, all tests pass, however a lot more manual testing in regards to ↵Michael DeHaan2007-10-081-2/+28
| | | | | | | | multiple NIC support is still required. Checking kickstarts and the koan modifications are also still to go. Code in item_system.py is due for cleanup, especially in from_datastruct, where it tries to load the older configurations implicitly.
* Further work on interchangeable backends. Rather than keeping the config fileroot2007-09-051-0/+2
| | | | | | | | | | | | | | 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.
* Added "cobbler repo auto-add" feature which can discover all the reposMichael DeHaan2007-08-311-0/+3
| | | | | the cobbler server has configured in yum and set them up to be mirrored automagically.
* Some code to fix a reference issue that allowed for hash value propogation ↵Michael DeHaan2007-08-231-0/+4
| | | | | | | up the graph, in ksmeta and possibly kopts. Also added some code to check to make sure an object of the wrong type never gets added to the wrong collection.
* Adding zeroconf to changelogMichael DeHaan2007-08-201-0/+2
|
* Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-10/+64
| | | | | | of find (mpd) to add some error checking, list returns, and other semi-useful stuff. Plus tests and an optomization to allow name=foo as the only parameter to be just as fast as before.
* Remove stray debugMichael DeHaan2007-06-131-1/+0
|
* Lots of work towards profile inheritance. This works in the UI now, withMichael DeHaan2007-06-131-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* Add code for generation of object downlinks during config parsing.Michael DeHaan2007-06-121-8/+14
| | | | | | Reasonably efficient, and allows for faster display/searching, with the ability to do arbitrary nesting for config display when we have inheritable profiles implemented.
* This is Adam Rosenwald's patch for seperating triggers into pre and postMichael DeHaan2007-06-061-4/+20
| | | | triggers, plus my modifications to make them deal with return codes.
* Fix bug when a report on a specific object is requested using the wrongMichael DeHaan2007-05-301-1/+1
| | | | case.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-5/+6
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.