On Tue, Nov 17, 2009 at 10:45:07AM +0800, Lin Ma wrote: > Hi Renee, > > Renee Danson Sommerfeld wrote: > >Hi Lin, > > > >On Mon, Nov 16, 2009 at 02:52:51PM +0800, Lin Ma wrote: > >>Hi Alan, > >> > >>Since you give the comment for *12146* > >><http://defect.opensolaris.org/bz/show_bug.cgi?id=12146> - [rc2] > >>interface goes offline after moving it to "always enable these > >>connections" that Gui need to enable NCUs after change their > >>activation mode from 'manual disable' to 'manual enable'. This issue > >>looks similar to that one. Though I haven't reproduced, do I need > >>handle this issue by enable NCUs? > > > >This does sound like it could be the same issue. > > > >The NCUs have an activation-mode property; one possible value for > >that property is "manual." But changing the value of that property > >has no impact on whether or not the NCU is enabled. If you want it > >to be manually activated, and enabled, you need to set the activation- > >mode property, *and* enable the location using nwam_loc_enable(). > Thanks for your quick reply. But I'm confused. :-[ > In 12146, I think Alan has suggested to use nwam_ncu_enable(). But > in this case 12608, you have suggested nwam_loc_enable. Do they have > the same result -- enable those NCUs have activation mode changed? > Does nwam_loc_enable will cost much to enable NCUs, I mean > reevaluate NCP and all included NCUs no matter if their activation > modes are changed from GUI?
Sorry for the confusion. You need to use the appropriate nwam_*_enable() function for whatever object you're trying to manually enable; in this case, we were talking about NCUs, so it should be nwam_ncu_enable(). -renee
