-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've changed commands.py so cobbler {system,repo,profile,etc} report
will work using action_report.py.

I've also cleared up some of the code from the previous patches.

Here is the current functionality available:

[EMAIL PROTECTED] cobbler]# cobbler system report
{'name': None}
system           : local_re_redhat_com
profile          : RHEL-5-Server-U2-xen-x86_64
kernel options   : {}
kickstart        : <<inherit>>
ks metadata      : {}
netboot enabled? : True
owners           : ['admin']
server           : <<inherit>>
virt cpus        : <<inherit>>

...

The above only supports the standard output right now.




[EMAIL PROTECTED] cobbler]# cobbler report --what=profiles --type=trac
- --fields=name,parent
||name||parent||
||RHEL-4-AS-U7-i386||||
||RHEL-4-AS-U7-x86_64||||
||RHEL-4-AS-U7-x86_64-pobox||||
||RHEL-4-AS-U7-xen-i386||||
||RHEL-4-AS-U7-xen-x86_64||||
||RHEL-4-AS-latest-i386||RHEL-4-AS-U7-i386||
||RHEL-4-AS-latest-x86_64||RHEL-4-AS-U7-x86_64||
||RHEL-4-AS-latest-xen-i386||RHEL-4-AS-U7-xen-i386||
||RHEL-4-AS-latest-xen-x86_64||RHEL-4-AS-U7-xen-x86_64||



One, thing that I am finding a bit confusing, and I'd like some feedback
on is that:

The fact that you can do:

cobbler system report

and

cobbler report --what=systems

Note that plural/singular difference, makes it a bit hard to remember
(at least for me), even though it makes sense if you stop to think about
what you doing.

Do we want to make the code handle --what=system and systems
interchangebily (? spelling) or leave as is?

I hope to have a *new* working patch by the end of the week.

AS
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIxrh4ECmX3C4JWKgRAqQzAKCBWTZxMJnn1BNMiaUUbj4zg8iFqwCcC+/r
q+1wnqvsTqwiNy1vphjnAhk=
=257q
-----END PGP SIGNATURE-----
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to