On Fri, 10 Apr 2009, Peter Memishian wrote:
>
> > > along with some related linkprop fixes, but when I looked into
> > > dladm.c, was surprised to find that "dladm_parse_props()" is called
> > > from do_create_aggr and do_create_vlan in addition to the
> > > expected (by me, at least) do_create_vnic *linkprop functions.
> > >
> > > What happened here? Why do we pass in property lists for aggr and
> > > vlan creation?
> >
> > We support bandwidth/cpu etc. properties for vlans (via dladm create-vlan -
> > just like a vlan created by dladm create-vnic -v) and aggrs.
>
> Is there an inherent neeed to support this rather than just having the
> admin do a set-linkprop afterwards?
I suppose from an admin's point, it does provide a way to create a link
with certain props directly, rather than following dladm create- with a
dladm set-linkprop. Also, this keeps it consistent with dladm create-vnic.
-venu
>
> --
> meem
>