http://defect.opensolaris.org/bz/show_bug.cgi?id=10020
Summary: No events sent when non-active NCP was modified.
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-07-13
Severity: major
Priority: P2
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: dkenny at opensolaris.org
QAContact: nwam-dev at opensolaris.org
I was running nwamadm show-events in one window, and then went in using nwamcfg
to modify the User NCP (which wasn't active).
I did the following:
$ nwamcfg
nwamcfg> select ncp User
nwamcfg:ncp:User> list
NCUs:
ip myk0
phys myk0
ip ath0
phys ath0
nwamcfg:ncp:User> destroy ncu ip myk0
Destroyed ncu 'myk0'
nwamcfg:ncp:User> list
NCUs:
phys myk0
ip ath0
phys ath0
nwamcfg:ncp:User> destroy ncu phys myk0
Destroyed ncu 'myk0'
nwamcfg:ncp:User> end
nwamcfg> end
$ nwamcfg list ncp User
NCUs:
ip ath0
phys ath0
As you can see it did update the NCP and remove the NCUs, but all during this
time, the show-events showed nothing!
Surely it should have at least sent an event to say that the NCP was changed,
if not that each NCU was destroyed...
If you are to send events for each NCU, how can we tell from the object_name,
which NCP is changed, since thats all we really have in the object_action
event:
struct {
nwam_object_type_t object_type;
char name[NWAM_MAX_NAME_LEN];
nwam_action_t action;
} object_action;
--
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.