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


amaguire <alan.maguire at sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alan.maguire at sun.com


--- Comment #2 from amaguire <alan.maguire at sun.com> 2009-10-21 14:02:17 UTC 
---
(In reply to comment #1)
> similarly, after completing above testcase, move nge0 into Always enable tese
> connections group
> - result both hme0 and nge0 are disabled.

Just did some non-GUI testing to check if nwamd is at fault here. Initial tests
seem to suggest that changing a prioritized NCU to a manual one via nwamcfg
works fine:

# nwamcfg       
nwamcfg> select ncp User
nwamcfg:ncp:User> select ncu phys ce0
nwamcfg:ncp:User:ncu:ce0> list
NCU:ce0
    type          link
    class         phys
    parent        "User"
    enabled       true
    activation-mode    prioritized
    priority-group    0
    priority-mode    shared
nwamcfg:ncp:User:ncu:ce0> set activation-mode = manual
nwamcfg:ncp:User:ncu:ce0> end
Committed changes
nwamcfg:ncp:User> end
nwamcfg> end

Checking later:

# nwamadm list -x
TYPE         PROFILE        STATE          AUXILIARY STATE
ncp          User           online         active
ncu:ip       ce1            online         interface/link is up
ncu:phys     ce0            online         interface/link is up
ncu:ip       ce0            online         interface/link is up
ncu:phys     ce1            online         interface/link is up
ncp          Automatic      disabled       disabled by administrator
loc          Legacy         offline        conditions for activation are unmet
loc          NoNet          offline        conditions for activation are unmet
loc          Automatic      online         active

So it may be a an issue with the property setting the GUI does via libnwam, not
sure. One thing to check - the GUI should always do an explicit enable after
setting the activation-mode to manual, since we have no guarantees what the
enabled prop is set to (for example we may have changed the NCU from manual/
disabled to prioritized, so enabled may be false but unused).

-- 
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