Hi all,
I would like to ask you for a code review for:

7120099 - "installadm list -p" should show criteria

This fix contains also changes to the way how "installadm list -m"
works.

Webrev:

https://cr.opensolaris.org/action/browse/caiman/t.dzik/7120099/

Testing:
1) Sources are pep8 clean
2) Test suite in the gate pass
3) I created several services with different manifests (Default, Active, Inactive) with several sets of criteria and verified that these are printed as before 4) I also created profiles with different criteria and verified how they are printed. 5) I tried to change the version of installed service and verified that code correctly handles this exception.

I changed a little bit format how ignored criteria are printed (as suggested in one of the previous code reviews).

Instead:

# installadm list -m -n default-i386

Manifest      Status    Criteria
--------      ------    --------
orig_default  Default   (Ignored: ipv4 = 192.168.1.2)
                        (Ignored: mem  = 2048 MB - unbounded)

I now print:

# installadm list -m -n default-i386
Manifest      Status   Criteria
--------      ------   --------
orig_default  Default  (Ignored:
                       ipv4 = 192.168.1.2
                       mem  = 2048 MB - unbounded
                       )

Best regards,

Tomas D.
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to