summaryrefslogtreecommitdiffstats
path: root/cobbler/item_system.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Starting to add i18n to cobbler using rhplMichael DeHaan2007-05-251-0/+2
|
* Add support for dnsmasq as an alternative to ISC dhcpd.Michael DeHaan2007-05-241-2/+14
| | | | | Also add --hostname option to "cobbler system add" for dnsmasq DNS control features.
* This commit overhauls the main cobbler CLI module and adds support forMichael DeHaan2007-04-201-3/+9
| | | | | | | | | | | | object renaming, copying, and editing -- previously only addition and removal were supported. This frees uses (hopefully) from the need to hack YAML and risk damaging their configurations by rendering the config unparseable. It also makes "cobbler list" print out a simple tree representation that shows the association between objects. This also relaxes the requirements for what constitutes a kernel and initrd filename, just in case they are named something different. They still have to exist.
* Adding disable_netboot option for cobbler, which can be programatically ↵Michael DeHaan2007-02-201-10/+38
| | | | | | | | exercised by API users to prevent install-loop scenarios by taking action as a result of some event in post. Also making syncless code modifications work with IA64 tftp locations.
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-2/+9
| | | | | | | (basically anything that's not really a string or a number) to a list or hash, as appropriate. This will allow the cobbler API to accept list/hash input as appropriate in addition to strings, allowing for more advanced use of the templating engine. This also extends more power to the user to add their own entries in /var/lib/cobbler files for ksmeta, as opposed to having to enter in --ksmeta options on the command line, which previously did not tolerate newlines. All of this is backwards compatible with the old format (both should load fine). Files will convert over to the new format once any add commands are run.
* Cobbler report commands are now sorted also.Michael DeHaan2006-12-211-2/+2
|
* Restriction code wrong. pxe-address is an IP or a hostname, not an IP or a MAC.Michael DeHaan2006-10-231-2/+0
|
* Trailing whitespace.Michael DeHaan2006-10-161-2/+2
|
* Import feature added (usable for things like /mnt/redhat)Michael DeHaan2006-10-131-20/+0
|
* Added a basic locking system to avoid multiple "sync" operations happening ↵Michael DeHaan2006-10-121-6/+6
| | | | at the same time -- not a huge risk -- but it ought to be guarded against.
* (1) initial work on a command to import build trees into cobbler inMichael DeHaan2006-10-111-4/+8
| | | | | a really fast, automated way (2) bundling 2.4's subprocess as sub_process (it's supposed to work) since subprocess isn't available on 2.3 and we want to support lots of 2.3 machines
* Fixes to dhcpd.conf and Itanium IA64 support as a result of lab tests.Michael DeHaan2006-10-061-0/+2
|
* --pxe-hostname should be "--pxe-address"Michael DeHaan2006-10-051-8/+7
|
* - Interim checkin while working on "enchant" featureMichael DeHaan2006-09-281-4/+4
| | | | - Fixed changelogs to include user/email
* dhcp templating for individual systemsMichael DeHaan2006-09-221-1/+11
|