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

           Summary: manual location should go into disabled after 'nwamadm
                    disable -p loc ...'
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-07-22
          Severity: major
          Priority: P3
         Component: CLI
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: lizhong.li at sun.com
         QAContact: nwam-dev at opensolaris.org


I created a manual location, enable it, and then disable it, it goes into
'offline' instead of 'disabled' mentioned in manpage:
    disabled: A manually-activated profile which has not been activated.

earthscience:nwam# nwamcfg
nwamcfg> create -t Automatic loc myloc1
Created loc 'myloc1'.  Walking properties ...
activation-mode (manual) [manual|conditional-any|conditional-all]>
nameservices (nis) [dns|files|nis|ldap]>
nameservices-config-file ("/etc/nsswitch.nis")>
nis-nameservice-configsrc (dhcp) [manual|dhcp]>
nfsv4-domain>
ipfilter-config-file>
ipfilter-v6-config-file>
ipnat-config-file>
ippool-config-file>
ike-config-file>
ipsecpolicy-config-file>
svcs-enable>
svcs-disable>
nwamcfg:loc:myloc1> 
nwamcfg:loc:myloc1> 
nwamcfg:loc:myloc1> 
nwamcfg:loc:myloc1> end
Committed changes
nwamcfg> end

earthscience:nwam# /usr/sbin/nwamadm list 
TYPE         PROFILE        STATE          
ncp          Automatic      online         
 ncu:phys    nge1           online         
 ncu:ip      nge1           offline*       
 ncu:phys    e1000g0        online         
 ncu:ip      e1000g0        offline*       
 ncu:phys    e1000g1        online         
 ncu:ip      e1000g1        offline*       
 ncu:phys    nge0           online         
 ncu:ip      nge0           online         
loc          NoNet          offline        
loc          Automatic      online         
loc          Legacy         offline        
loc          myloc1         disabled   

earthscience:nwam# /usr/sbin/nwamadm enable  myloc1
Enabling loc 'myloc1'
earthscience:nwam# /usr/sbin/nwamadm list 
TYPE         PROFILE        STATE          
ncp          Automatic      online         
 ncu:phys    nge1           online         
 ncu:ip      nge1           offline*       
 ncu:phys    e1000g0        online         
 ncu:ip      e1000g0        offline*       
 ncu:phys    e1000g1        online         
 ncu:ip      e1000g1        offline*       
 ncu:phys    nge0           online         
 ncu:ip      nge0           online         
loc          NoNet          offline        
loc          Automatic      offline        
loc          Legacy         offline        
loc          myloc1         online         

earthscience:nwam# /usr/sbin/nwamadm disable -p loc myloc1
Disabling loc 'myloc1'

earthscience:nwam# /usr/sbin/nwamadm list 
TYPE         PROFILE        STATE          
ncp          Automatic      online         
 ncu:phys    nge1           online         
 ncu:ip      nge1           offline*       
 ncu:phys    e1000g0        online         
 ncu:ip      e1000g0        offline*       
 ncu:phys    e1000g1        online         
 ncu:ip      e1000g1        offline*       
 ncu:phys    nge0           online         
 ncu:ip      nge0           online         
loc          NoNet          offline        
loc          Automatic      online         
loc          Legacy         offline        
loc          myloc1         offline

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