Darryl Pierce wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bryan Kearney wrote:
> This patch exposes adding images into cobbler via the ruby bindings.
> It seems like the "new", iterates over attributes, "save" model
is
> standard across the various elements. Any reason we can not push the
> save method up?
The main reason for not being able to push save functionality up to
Cobbler::Base is due to the differences in field names when saving and
retrieving. For example, when retrieving a NetworkInterface, the MAC
address is delivered with "mac_address" but is called "macaddress" on
save.
Why is that? Is it an xmlrpc feature, or a cobbler feature?
-- bk