Because only link ncus can be activated/deactivated, the walk only covers the link ncus. Changing the flag to NWAM_FLAG_NCU_TYPE_ALL lists both link and ip ncus, (with both listed as TYPE=ncu).
Anurag Michael Hunter wrote: > nwamadm seems to only list a status for the link ncu (see > list_ncp_callback()). I thought it might just be a missing > nwam_ncp_walk_ncus(,,,NWAM_FLAG_NCU_TYPE_IF,) near the end of the > function but adding that alone didn't seem to change the output. > > mph > > Script started on Mon Mar 30 01:19:42 2009 > # nwamcfg list ncp User > NCUs: > ip e1000g0 > phys e1000g0 > # nwamadm list > TYPE PROFILE STATE > ncp User online > ncu e1000g0 online > ncp Automatic offline > loc Automatic online > loc NoNet offline > loc Legacy offline > # exit > > script done on Mon Mar 30 01:20:03 2009 > _______________________________________________ > nwam-dev mailing list > nwam-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/nwam-dev >
