http://defect.opensolaris.org/bz/show_bug.cgi?id=8679
--- Comment #6 from Michael Hunter <michael.hunter at sun.com> 2009-06-26
05:41:59 ---
I take that back. It is really gross. The ncp container is really confused if
it is empty.
# nwamcfg
nwamcfg> list
NCPs:
Automatic
Locations:
Automatic
NoNet
Legacy
nwamcfg> create ncp User
nwamcfg:ncp:User> create ncu phys e1000g0
Created ncu 'e1000g0'. Walking properties ...
activation-mode (manual) [manual|prioritized]>
link-mac-addr>
link-autopush>
link-mtu>
nwamcfg:ncp:User:ncu:e1000g0> exit
Committed changes
# nwamadm list
TYPE PROFILE STATE
ncp User offline
ncp Automatic online
ncu:phys e1000g0 online
ncu:ip e1000g0 online
loc Automatic online
loc NoNet offline
loc Legacy offline
# nwamcfg
nwamcfg> select ncp User
nwamcfg:ncp:User> destroy ncu phys e1000g0
Destroyed ncu 'e1000g0'
nwamcfg:ncp:User> end
nwamcfg> list
NCPs:
User
Automatic
Locations:
Automatic
NoNet
Legacy
nwamcfg> exit
# nwamadm list
TYPE PROFILE STATE
ncp User uninitialized
ncp Automatic online
ncu:phys e1000g0 online
ncu:ip e1000g0 online
loc Automatic online
loc NoNet offline
loc Legacy offline
# nwamcfg
nwamcfg> select ncp User
Select error reading object: entity not found
nwamcfg> destroy ncp User
Destroy error: entity not found
nwamcfg> list
NCPs:
User
Automatic
Locations:
Automatic
NoNet
Legacy
nwamcfg> destroy 0a
usage: destroy {-a | <object-type> [<class>] <object-name>}
nwamcfg> destroy -a
All user-defined entities destroyed
nwamcfg> list
NCPs:
Automatic
Locations:
Automatic
NoNet
Legacy
nwamcfg> exit
# exit
--
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.