http://defect.opensolaris.org/bz/show_bug.cgi?id=11920


Darren Kenny <dkenny at opensolaris.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dkenny at opensolaris.org
         Resolution|                            |FIXINSOURCE
         AssignedTo|nwam-dev at opensolaris.org    |dkenny at opensolaris.org


--- Comment #1 from Darren Kenny <dkenny at opensolaris.org> 2009-10-14 
15:14:07 UTC ---
The issue here is that we are calculating the state based off object state
events, so when we get something like:

ncu bge0 offline
loc NoNet online

The first, correctly sets the status icon to be a warning, but the loc
activation, sets it to be all-ok, since it correctly sees that the NoNet is
indeed online and working.

The fix is to have a set of flags for each possible state changing element -
daemon, ncp/ncu, loc and enm - and when one of these cause the state to go from
green, we set the flag. This way, if something else want's to change state to
all-ok (like location above) then it won't go green since the ncus are offline
(and hence the ncp has a warning state).

This has been commited to SVN.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to