On Mon, 2009-03-23 at 15:43 -0400, Sebastien Roy wrote:
> On Mon, 2009-03-23 at 15:25 -0400, Girish Moodalbail wrote:
> > Right; in the show-prop output for the 'Proto' field we need to
> > specify ip4 for v4 specific property and ip6 for v6 specific property
> > and just 'ip' for both v4 and v6.
> 
> This still doesn't address my concern.  For a property that applies to
> both, how can I tell if a value applies to IPv4 or IPv6?  In your
> statement above, you say that properties that apply to both would be
> labeled "ip", which means that I'd see (for example):
> 
> # ipadm show-prop
>  INTF PROTO PROPERTY     PERMS VALUE DEFAULT POSSIBLE
>  bge0 ip    forwarding   rw    yes   yes     yes/no
> 
> Does the current value of "yes" apply to IPv4 or IPv6?  Or are you
> saying something different, for example that one property could have
> multiple rows of output, where "proto" doesn't actually refer to the
> "proto" specified with "-m"?
> 
> May I suggest that the values of the "proto" field in the output map 1-1
> with a value that can be passed in to the "proto" argument to the
> "set-prop" "-m" option?  This would then require that IPv4 and IPv6 be
> separate protocols, which to me seems perfectly natural.

Note that an alternative is to also display a FAMILY field.  This would
address my concern as well (as Girish and I discussed off-line).

-Seb



Reply via email to