summaryrefslogtreecommitdiffstats
path: root/cobbler/item_profile.py
Commit message (Collapse)AuthorAgeFilesLines
* Make cobbler commands be more tolerant of casing and synonyms (delete vs ↵Michael DeHaan2007-11-291-6/+4
| | | | remove). Also update docs on set_virt_size to indicate behavior in newer koan.
* Allow xenfv as a virt type, also make --interface=N work for system editsMichael DeHaan2007-11-281-1/+1
|
* Small fix to make WebUI editing of new fields work. Verification of whether ↵Michael DeHaan2007-11-011-1/+1
| | | | all the sync'd data is correct with the overrides still needs to occur.
* Added a --server-override parameter, which will be used to specify a ↵Michael DeHaan2007-11-011-2/+11
| | | | | | | | | | 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.
* Lots of changes to make subprofile creation and editing work in the WebUI.Michael DeHaan2007-10-111-4/+33
|
* Support for setting virt-cpu number in cobbler + tests.Michael DeHaan2007-10-101-4/+26
|
* Working on making --virt-bridge a profile setting also, manpage cleanup.Michael DeHaan2007-10-101-15/+27
|
* Checking in the read-write API with demo examples at the bottom of remote.pyMichael DeHaan2007-09-111-0/+17
|
* Added --dhcp-tag for multi-subnet configurationMichael DeHaan2007-09-071-1/+9
|
* Fix typing bug.root2007-09-051-1/+1
|
* changelog + docsroot2007-09-041-0/+11
|
* Fix bug in repo evaluation with inherited subprofiles.root2007-08-271-9/+19
|
* Fix bug with upward/downward propogation of array content when using ↵Michael DeHaan2007-08-271-1/+4
| | | | inheritance.
* Some code to fix a reference issue that allowed for hash value propogation ↵Michael DeHaan2007-08-231-1/+2
| | | | | | | 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-5/+5
| | | | | | 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-8/+32
|
* Optional override of --kickstart on a per-system basis.Michael DeHaan2007-06-151-1/+1
|
* Keep track of depth of cobbler objects such that a pseudo-topological sortMichael DeHaan2007-06-131-3/+9
| | | | | | | | | | | | | 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-16/+56
| | | | | | | | | | | | | | | | | | | 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.
* release bumpMichael DeHaan2007-06-121-2/+0
|
* Generalizes tree listing to allow for inheritance and arbitrary nestingMichael DeHaan2007-06-121-0/+2
|
* Add code for generation of object downlinks during config parsing.Michael DeHaan2007-06-121-0/+2
| | | | | | 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.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-50/+18
| | | | | | | 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
|
* This commit overhauls the main cobbler CLI module and adds support forMichael DeHaan2007-04-201-7/+12
| | | | | | | | | | | | 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.
* Store repo information as a list. This unbreaks --repos on "profile add"Michael DeHaan2007-03-281-1/+1
|
* This is 0.4.5Michael DeHaan2007-03-231-22/+0
|
* Tabs are evil.Michael DeHaan2007-03-021-1/+1
|
* Fixes to import tree URL's and repo parameter splitting, thanks to ↵Michael DeHaan2007-03-021-2/+5
| | | | et-mgmt-tools list folks for pointing these out.
* More work on PXE menus. Getting there, just need timeout logic to work.Michael DeHaan2007-02-151-8/+1
|
* Working on adding pxemenu support.Michael DeHaan2007-02-141-2/+11
|
* Converting storage for template parameters, kernel options, and repo lists ↵Michael DeHaan2007-02-141-3/+17
| | | | | | | (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-7/+7
|
* Don't clobber the repo setting.mdehaan@mdehaan.rdu.redhat.com2006-12-201-1/+1
|
* Keep repo representation as strings.mdehaan@mdehaan.rdu.redhat.com2006-12-201-2/+2
| | | | | Also, add trailing / to rsync URL's to always to prevent user mistakes, which allows us to know where the repomd data files are.
* Fix problem where settings of xen_ variables if not present clobber virt_ ↵Michael DeHaan2006-12-201-9/+2
| | | | variables (backwards compatibility code problem).
* Fix print code.Michael DeHaan2006-12-121-1/+1
|
* Preliminary support for repo mirroring.Michael DeHaan2006-12-121-2/+18
|
* Merge 243:1f764e5dd1ccDavid Lutterkort2006-10-251-54/+64
|
* More pychecker.Michael DeHaan2006-10-161-2/+2
|
* Added a basic locking system to avoid multiple "sync" operations happening ↵Michael DeHaan2006-10-121-9/+9
| | | | at the same time -- not a huge risk -- but it ought to be guarded against.
* Cobbler was missing the set_xen_ram function so the CLI wasn'tMichael DeHaan2006-09-201-0/+19
| | | | usable for editing the YAML for that parameter. Fixing.
* Remove the xen_mac parameter on profile in favor of using the MAC asssigned ↵Michael DeHaan2006-09-191-22/+0
| | | | | | to the system and using koan on a per system basis.
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-121-5/+9
| | | | --kopts. The parameter is a space delimited list of key=value pairs, which allows the variables entered to be evaluated through Cheetah. Thus kickstarts are now Cheetah templates. All templating errors are ignored so usage of a $ in a template is still legal where it doesn't reference a variable. Error ignoring should be finer grained and this does need some tests. Currently this only works for kickstarts on filesystems, and I'm not sure what the behavior for http and nfs should be. Anyhow, fairly useful stuff.
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-2/+9
| | | | test where I changed a command line syntax.
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-9/+8
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-11/+11
| | | | 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-5/+3
| | | | | | | 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.