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

           Summary: User ncp shouldn't get the error: 'nwamadm: Only
                    profiles with manual activation-mode can be disabled'
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-08-20
          Severity: major
          Priority: P3
         Component: CLI
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: lizhong.li at sun.com
         QAContact: nwam-dev at opensolaris.org


--- Comment #0 from Lizhong Li <lizhong.li at sun.com> 2009-08-21 10:32:28 UTC 
---
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;

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