http://defect.opensolaris.org/bz/show_bug.cgi?id=5667
Summary: nwamcfg can "clear" read-only properties
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: OpenSolaris
Status: ACCEPTED
Severity: normal
Priority: P4
Component: CLI
AssignedTo: Anurag.Maskey at Sun.COM
ReportedBy: Anurag.Maskey at Sun.COM
QAContact: nwam-dev at opensolaris.org
Read-only properties like type and class of NCU's can't be updated via "set" or
"walkprop". They can, however, be removed with "clear". Read-only properties
should be allowed to be cleared.
nwamcfg:ncp:test:ncu:test> list
NCU:test
type ip
class ip
parent "test"
activation-mode manual
enabled false
ip-version all
ipv4-addrsrc dhcp
ipv6-addrsrc dhcpv6
nwamcfg:ncp:test:ncu:test> set class = no-class
property 'class' is read-only
nwamcfg:ncp:test:ncu:test> clear class
nwamcfg:ncp:test:ncu:test> list
NCU:test
type ip
parent "test"
activation-mode manual
enabled false
ip-version all
ipv4-addrsrc dhcp
ipv6-addrsrc dhcpv6
nwamcfg:ncp:test:ncu:test>
--
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.