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

           Summary: create -t Legacy loc Automatic works.
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-08-06
          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'm not sure if the action like 'create -t Legacy loc Automatic' should have
the same behavoir as 'create loc Automatic', so just file this bug.

bash-3.2# nwamcfg list
NCPs:
        Automatic
Locations:
        NoNet
        Automatic
        Legacy
        myloc

nwamcfg> create -t Legacy loc Automatic
Created loc 'Automatic'.  Walking properties ...
activation-mode (system) [manual|conditional-any|conditional-all]>
nameservices (dns,nis) [dns|files|nis|ldap]>
nameservices-config-file ("/etc/nwam/loc/Legacy/nsswitch.conf")>
dns-nameservice-configsrc (manual) [manual|dhcp]>
dns-nameservice-domain>
dns-nameservice-servers ("129.158.216.14")>
dns-nameservice-search>
nis-nameservice-configsrc (manual) [manual|dhcp]>
nis-nameservice-servers>
default-domain ("opg.PRC.Sun.COM")>
nfsv4-domain>
ipfilter-config-file>
ipfilter-v6-config-file>
ipnat-config-file>
ippool-config-file>
ike-config-file>
ipsecpolicy-config-file ("/etc/inet/ipsecinit.conf")>
svcs-enable>
svcs-disable>
nwamcfg:loc:Automatic> 
nwamcfg:loc:Automatic> end
Committed changes
nwamcfg> end
bash-3.2# 
bash-3.2# nwamcfg    
nwamcfg> list loc Automatic
LOC:Automatic
        activation-mode                 system
        nameservices                    dns,nis
        nameservices-config-file        "/etc/nwam/loc/Legacy/nsswitch.conf"
        dns-nameservice-configsrc       manual
        dns-nameservice-servers         "129.158.216.14"
        nis-nameservice-configsrc       manual
        default-domain                  "opg.PRC.Sun.COM"
        ipsecpolicy-config-file         "/etc/inet/ipsecinit.conf"
        enabled                         false
nwamcfg> create loc Automatic
Create loc error: entity exists

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