summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
Commit message (Collapse)AuthorAgeFilesLines
* If for some reason the user has defined a system where the first interface ↵Michael DeHaan2008-05-131-5/+6
| | | | record is blank and the second is not, still build the PXE tree based on the second record.
* Allows cobbler system kickstart to be reset by setting them to "", "delete", ↵Michael DeHaan2008-05-131-0/+3
| | | | or None (the last via the API). This allows the system to use the profile's kickstart setting as expected.
* Fixes for webapp new fieldsMichael DeHaan2008-05-091-1/+2
|
* Fixes for virt overrides on system objects.Michael DeHaan2008-05-091-10/+9
|
* Adding --virt overrides for many more additional fields that were foundMichael DeHaan2008-05-081-31/+59
| | | | | in the profiles objects but not in the system objects. This needs testing in both the webui and command line.
* Auto registration now tested and confirmed to work (if you have it enabled ↵Michael DeHaan2008-04-221-1/+1
| | | | in settings)
* 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.
* Allow underscores.Michael DeHaan2008-04-081-1/+1
|
* Merge branch 'master' into develMichael DeHaan2008-04-081-0/+9
|\ | | | | | | | | | | | | Conflicts: cobbler.spec cobbler/webui/master.py
| * Update name-check code to be more strict, bump versionMichael DeHaan2008-04-081-0/+9
| |
* | Fix default ownership on cobbler owned objects to come from the settingsMichael DeHaan2008-04-031-1/+2
| | | | | | | | | | file (who's default is "admin" through the CLI) ... the webui will prepopulate the field with the name of the logged in user.
* | Added some code to allow assignment of default ownership from settings for newMichael DeHaan2008-04-021-2/+2
| | | | | | | | objects. Also, ownership field for new objects in the WebUI is prepopulated with the username of the logged in user, to prevent accidental lockouts. All of this is untested at this point -- will be polished up soon.
* | Fix some more bugs with ownership editing/saving. Working well in the WebUI nowMichael DeHaan2008-03-281-2/+2
| | | | | | | | with respect to being able to change things, still need to work on better showing denials and what folks can edit.
* | Add a --owner to all the objects, plus associated API calls and backend ↵Michael DeHaan2008-03-261-1/+6
|/ | | | | | | | stuff, for use with the (pending real soon now) authz_ownership module. Also updated docs. Incidentally, self.settings.tftpboot is now utils.tftpboot_location() -- which is required because tftpboot moves around. Previously this was masked to still look like a settings variable but I decided to remove the hack. All code using that location has been updated appropriately.
* Add vmware as a legal virt type (implementation TBA soon).Michael DeHaan2008-01-311-1/+1
|
* Allow xenfv as a virt type, also make --interface=N work for system editsMichael DeHaan2007-11-281-1/+1
|
* Disable the blender cache as it's running afoul of the sync code, mixing up ↵Michael DeHaan2007-11-141-5/+8
| | | | | | profiles/systems data incorrectly when blending objects for cobbler/sync.
* Remove subobject logic from systems, which are not inheritable.Michael DeHaan2007-11-121-5/+5
|
* Added a --server-override parameter, which will be used to specify a ↵Michael DeHaan2007-11-011-14/+26
| | | | | | | | | | different server address for when the server may need to provision boxen on different subnets that therefore need different source URLs and so on. This means cobbler will now be able to represent more than one server address for the same cobbler machine. WUI parts and backend changes to utilize this TBA shortly.
* Teach the WebUI (and the backend for the WebUI) how to save multiple ↵Michael DeHaan2007-10-121-11/+34
| | | | interfaces. Also clean up the error page display and include a link to go back so users can correct any data entry errors.
* Remove some dead code and update a few FIXMEs that no longer apply.Michael DeHaan2007-10-101-4/+0
|
* Encountered some weird bug presumably related to optimization, so unrolling ↵Michael DeHaan2007-10-101-12/+14
| | | | the command line parser details for now. This can all be fixed should we move the command line parser to use optparse or equivalent in the future.
* The stringification problem appears to lie in the serializer, so explicitly ↵Michael DeHaan2007-10-091-22/+24
| | | | | | use strings in the YAML to pacify the XMLRPC bits. Plus, this is more readable.
* More work to ensure interfaces remain strings, even though they look a lot ↵Michael DeHaan2007-10-091-22/+21
| | | | like numbers presently...
* In XMLRPC, dicts must have string keys, so changing NIC storage to be ↵Michael DeHaan2007-10-091-0/+1
| | | | XMLRPC-friendly.
* Added tests + fixes to multiple NIC support.Michael DeHaan2007-10-091-2/+3
|
* Storing NICs in a hash for easier access + some refactoring + modifications ↵Michael DeHaan2007-10-091-138/+52
| | | | to the find function.
* Once again, all tests pass, however a lot more manual testing in regards to ↵Michael DeHaan2007-10-081-31/+59
| | | | | | | | 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.
* More work on the new multi-NIC code. Largely working at this point, sync hasMichael DeHaan2007-10-081-21/+21
| | | | | been updated, and backwards compatibility (upgrades) have been tested. Koan still has to be modified and tested, and templating still needs to be tested.
* In process of making NICs seperate data structures in cobbler, which ↵Michael DeHaan2007-10-081-57/+165
| | | | | | | requires seperate accessors and templating. This is all to allow multiple NICs in koan. Stil needs changes in sync code and possibly other places.
* Checking in the read-write API with demo examples at the bottom of remote.pyMichael DeHaan2007-09-111-0/+18
|
* Added --dhcp-tag for multi-subnet configurationMichael DeHaan2007-09-071-1/+9
|
* Some code to fix a reference issue that allowed for hash value propogation ↵Michael DeHaan2007-08-231-2/+3
| | | | | | | 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.
* Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-8/+8
| | | | | | 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.
* Also allow for "auto" as a valid --virt-type choiceMichael DeHaan2007-07-251-1/+1
|
* Adding plumbing in cobbler for --virt-path and --virt-type options.Michael DeHaan2007-07-121-2/+26
|
* Add netboot-enabled to CLIMichael DeHaan2007-07-121-1/+1
|
* default is still PXEableMichael DeHaan2007-06-211-0/+2
|
* Optional override of --kickstart on a per-system basis.Michael DeHaan2007-06-151-6/+30
|
* Keep track of depth of cobbler objects such that a pseudo-topological sortMichael DeHaan2007-06-131-5/+8
| | | | | | | | | | | | | can be done at deserialization time. The result of this is that full graph listing information can be reconstructed at time of config loading (up and down links), while only having to store the up links. This preserves the existing config file format while allowing for arbitrary inheritance and a reasonable measure of hand-editability. If changing profile relationships by hand, the cached depth info may be wrong, so some way to automatically resolve this could potentially be doable, but it's such a distinct corner case that I don't deem it neccessary at this point.
* Lots of work towards profile inheritance. This works in the UI now, withMichael DeHaan2007-06-131-11/+21
| | | | | | | | | | | | | | | | | | | 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.
* Fix error in name loading.Michael DeHaan2007-06-121-4/+4
|
* Generalizes tree listing to allow for inheritance and arbitrary nestingMichael DeHaan2007-06-121-0/+2
|
* Add conceptual_parent concept, to allow tree retrieval of objects that may haveMichael DeHaan2007-06-121-1/+1
| | | | | | | | | intermediate subobjects of the same type in the way. For instance, the conceptual parent of a subprofile is not the parent profile, but is the distro object. Also fixing a bug in is_pxe_supported()
* Add code for generation of object downlinks during config parsing.Michael DeHaan2007-06-121-1/+1
| | | | | | Reasonably efficient, and allows for faster display/searching, with the ability to do arbitrary nesting for config display when we have inheritable profiles implemented.
* Generalizes object blending and the concept of parentage to allow for later ↵Michael DeHaan2007-06-111-0/+6
| | | | | | | | | | | | | support of inheritance hierarchies, as well as making more data available to koan and the kickstart templating engine. With this change, any variable in the tree (anywhere), is now accessible via Cheetah -- and the same goes for koan XMLRPC. Unit tests pass and looks okay on the outside, though this still warrants extended testing to verify no unintended behaviors have changed.
* Serialize the value given for --mac.Michael DeHaan2007-05-301-2/+3
|
* Ongoing work on making system --names descriptive, plus manpage andMichael DeHaan2007-05-301-9/+10
| | | | CHANGELOG changes.
* WIP: Allow system names to be anything, and gather mac address and IP fromMichael DeHaan2007-05-301-25/+95
| | | | | | either the inferred sytem name or the values given to --ip-address (--ip) or --mac-address (--mac). Change the action code to use this, and not create PXE entries when such info is not available.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-13/+9
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.