On Mon, 30 Mar 2009 09:24:32 -0400
"Anurag S. Maskey" <Anurag.Maskey at Sun.COM> wrote:
> 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).
This seems possible confusing to me. Is the intent of 'nwamadm list'
just to show objects you can act on or to show you the state of the
system? What happens when we add ipmp?
mph
>
> 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
> >