Clay Baenziger wrote:
> Hi again all,
> Well the addition of a thousand lines of code and 50+ pages of 
> comments I think I've got this re-spun for everyone's enjoyment, 
> please see:
>
> http://cr.opensolaris.org/~clayb/delete_service/webrev2.diff/
> (Unfortunately I can't get webrev to track that delete-service.py 
> became delete_service.py (so that it can be imported by delete_client))
>
> Or full webrev:
> http://cr.opensolaris.org/~clayb/delete_service/webrev2/
>
> The bug list has grown to include:
> 4526 delete-service is not deleting service as described in section 4.3.2
> ai_design_doc
> 6587 delete-service shouldn't remove the source image if there's other
> services actives 'linked' to the same source image
> 8666 create-service: prints out SMF messages no matter what's going on
> 8773 create-service followed quickly by delete-service hangs
> 10740 Need way to interact with SMF from Python for installadm components
> in Python
> 11292 delete-client: should remove SPARC clients too
> 11486 delete-service/delete-client: should check inetd.conf for tftp root
>
>
> To Drew:
> --------
> To address the ps(1) pain, I consolidated the function down and filed 
> 11524 - Should look to using PSI (Python System
> Information) for Python process management
>
> I looked into Bill's bootadm work but I don't fit an "alternate root" 
> environment and I'd still need to provide a lot of parsing anyways.
>
> To Sundar:
> ----------
> I think our phone call Thursday cleared up your questions?
>
> For those in the code walk-through:
> -----------------------------------
> I chose to append our findings of being able to have both a SPARC and 
> X86 client to a bug on create-client rather than address finding all 
> possible nooks for a client and spewing lots of not found messages to 
> a user (or having to catch the messages in funky ways).
>
> Jack:
> -----
> Per the agreement between Drew's coding style suggestions, those of 
> PEP8's hanging indents and Google's Python style guide I've followed 
> PEP8/Google's Style guide, however, I hope next Tuesday we'll have 
> time to come to a consensus on Python style there as this should 
> expand past this one push, of course. Thank you for getting me to 
> think about this so much!
>
> Thank you,
> Clay
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
Clay,

*delete_service.py:*
542, 544: microroot --> boot archive
749: Why we need the python2.4 here? I don't like the hard-coded value here.

*installadm_common.py:*
53, 65, 109: Suggestion: change the name of the booleans to make it clearer.
comments ->skipComments, newlines->removeNewlines and 
blanklines->skipBlanklines
288, 302: What is the difference between __getitem__() and gte()?
641: enpty --> empty
740-791: function clients(net)
The output of pntadm -P <net> may have some entries missing some values. 
For example these four entries are from ins3525-svr. Check whether your 
code handles all the four entries.

# pntadm -p 10.6.35.0

Client ID Flags Client IP Server IP Lease Expiration Macro Comment

010003BA866375 03 10.6.35.180 10.6.35.8 Forever 010003BA866375 line2-280r

0100144F0057A8 03 10.6.35.103 10.6.35.8 Forever 0100144F0057A8       --> No 
comment field

00 05   10.6.35.247 10.6.35.8 Zero line2-x4100-sp --> No macro assigned

010007E923F7A6 05 10.6.35.179 10.6.35.8 06/28/2004       --> No macro or comment


*SUNWinstalladm-tools/prototype_com:*
46, 47: Why we need these definitions?

Thanks,
Sundar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090928/c960c926/attachment.html>

Reply via email to