http://defect.opensolaris.org/bz/show_bug.cgi?id=10160
Summary: nwamadm error for special conditional location
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: huawei.zhang at sun.com
QAContact: nwam-dev at opensolaris.org
bash-3.2# nwamcfg list loc loc1
LOC:loc1
activation-mode manual
enabled false
nameservices dns
dns-nameservice-configsrc dhcp
nameservices-config-file "/etc/nsswitch.dns"
bash-3.2# nwamcfg list loc loc2
LOC:loc2
enabled false
nameservices dns
dns-nameservice-configsrc dhcp
nameservices-config-file "/etc/nsswitch.dns"
activation-mode conditional-any
conditions "loc loc1 is-not active"
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:phys e1000g0 online
ncu:ip e1000g0 online
ncu:phys e1000g1 offline
ncu:ip e1000g1 offline
loc Automatic offline
loc NoNet offline
loc Legacy offline
loc loc1 disabled
loc loc2 online
bash-3.2# nwamadm disable loc2
nwamadm: Could not disable loc 'loc2': entity is in incorrect state
bash-3.2# echo $?
1
bash-3.2# uname -a
SunOS ironage 5.11 nwam1-build:2009-07-20 i86pc i386 i86pc
Also note: loc2 is online, however, its "enabled" status is "false"
--
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.