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


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

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


--- Comment #1 from amaguire <alan.maguire at sun.com> 2009-08-21 10:50:27 UTC 
---
(In reply to comment #0)
> I found there's no 'activation-mode' property for ncu:ip, is it the same as
> ncu:phys ?
> 
> bash-3.2# nwamcfg
> nwamcfg> create -t Automatic ncp User
> nwamcfg:ncp:User> end
> 
> bash-3.2# nwamadm enable User
> Enabling ncp 'User'
> 
> bash-3.2# nwamadm list
> TYPE         PROFILE        STATE          
> ncp          User           online         
> ncu:ip       bge1           offline        
> ncu:phys     bge1           offline        
> ncu:ip       bge3           online         
> ncu:phys     bge3           online         
> ncu:ip       bge2           online         
> ncu:phys     bge2           online         
> ncu:ip       bge0           online         
> ncu:phys     bge0           online         
> ncp          Automatic      disabled       
> loc          Legacy         offline        
> loc          Automatic      offline        
> loc          NoNet          online         
> 
> bash-3.2# nwamadm disable -p ncu -c ip bge2
> nwamadm: Only profiles with manual activation-mode can be disabled
> 
> bash-3.2# cat /etc/nwam/ncp-User.conf 
> link:bge0   
> type=uint64,0;class=uint64,0;enabled=boolean,true;activation-mode=uint64,4;priority-group=uint64,0;priority-mode=uint64,1;parent=string,User;
> interface:bge0   
> type=uint64,1;class=uint64,1;enabled=boolean,true;ip-version=uint64,0,1;ipv4-addrsrc=uint64,0;ipv6-addrsrc=uint64,0,1;parent=string,User;
> link:bge2   
> type=uint64,0;class=uint64,0;enabled=boolean,true;activation-mode=uint64,4;priority-group=uint64,0;priority-mode=uint64,1;parent=string,User;
> interface:bge2   
> type=uint64,1;class=uint64,1;enabled=boolean,true;ip-version=uint64,0,1;ipv4-addrsrc=uint64,0;ipv6-addrsrc=uint64,0,1;parent=string,User;
> link:bge3   
> type=uint64,0;class=uint64,0;enabled=boolean,true;activation-mode=uint64,4;priority-group=uint64,0;priority-mode=uint64,1;parent=string,User;
> interface:bge3   
> type=uint64,1;class=uint64,1;enabled=boolean,true;ip-version=uint64,0,1;ipv4-addrsrc=uint64,0;ipv6-addrsrc=uint64,0,1;parent=string,User;
> link:bge1   
> type=uint64,0;class=uint64,0;enabled=boolean,true;activation-mode=uint64,4;priority-group=uint64,0;priority-mode=uint64,1;parent=string,User;
> interface:bge1   
> type=uint64,1;class=uint64,1;enabled=boolean,true;ip-version=uint64,0,1;ipv4-addrsrc=uint64,0;ipv6-addrsrc=uint64,0,1;parent=string,User;

hmm, I can't reproduce this one:

# nwamadm disable -p ncu -c ip iwk0
Disabling ncu 'iwk0'
#

It should always be possible to disable IP NCUs in the User NCP. I tried the
above action where the underlying link NCU was both prioritized and manual. Not
sure why you're seeing this...

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