http://defect.opensolaris.org/bz/show_bug.cgi?id=11927
amaguire <alan.maguire at sun.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alan.maguire at sun.com
--- Comment #1 from amaguire <alan.maguire at sun.com> 2009-10-15 09:08:45 UTC
---
(In reply to comment #0)
> walkprop shows only those properties that are necessary, unneeded properties
> are skipped (but their values are not deleted (bug 11385)). If only IPv4 is
> configured, then IPv6 properties should not be displayed during the walkprop,
> and vice versa. That doesn't seem to be the case.
>
> nwamcfg> select ncp User
> nwamcfg:ncp:User> select ncu ip bge1
>
> nwamcfg:ncp:User:ncu:bge1> walkprop
> ip-version (ipv4,ipv6) [ipv4|ipv6]> ipv4
> ipv4-addrsrc (dhcp) [dhcp|static]> static
> ipv4-addr> 2.3.4.5/24
>
> nwamcfg:ncp:User:ncu:bge1> list
> NCU:bge1
> type interface
> class ip
> parent "User"
> enabled true
> ipv6-addrsrc dhcp,autoconf
> ip-version ipv4
> ipv4-addrsrc static
> ipv4-addr "2.3.4.5/24"
>
> nwamcfg:ncp:User:ncu:bge1> walkprop
> ip-version (ipv4) [ipv4|ipv6]> ipv6
> ipv4-addr ("2.3.4.5/24")>
> ipv6-addrsrc (dhcp,autoconf) [dhcp|autoconf|static]>
>
> nwamcfg:ncp:User:ncu:bge1> list
> NCU:bge1
> type interface
> class ip
> parent "User"
> enabled true
> ipv6-addrsrc dhcp,autoconf
> ipv4-addrsrc static
> ipv4-addr "2.3.4.5/24"
> ip-version ipv6
> nwamcfg:ncp:User:ncu:bge1>
While we're on this topic, I seem to recall meem pointed out that we don't
have a way of listing all (even unset) properties. Maybe a good RFE would be to
support a "-a/all" argument to listprop/walkprop that lists/walks all possible
properties. Otherwise there's no way to walk a v4-only NCU to add v6
properties. What do you think?
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.