Looking at the last copy of the design doc posted, ifconfig shows
IPMP groups as follows:

ce0: ...
   groupname a
ce1: ....
   groupname a
ipmp0: ....
   groupname a

My problem is if I want to see what interfaces are in group ipmp0,
I need to do "ifconfig -a" (or similar) and it is hard to get the
summary picture of IPMP

What I would like to see for the ipmp0 output is:

ipmp0: ...
   groupname a
   interfaces ce0 ce1


or similar.  Maybe this is starting to edge into what ipmpstat is
meant to be used for, but that is a whole other command and running
"ifconfig ipmp0" should provide a summary (of sorts) of how the
group is configured.  If I want details of how those interfaces are
using within ipmp then I run ipmpstat.

When doing "ifconfig -a", we can "filter" that output to only IPv4
or IPv6.  Have you considered being able to filter on an interface
name or type, so that it is possible to do:

ifconfig -a ipmp

and see all of the IPMP interfaces?
Maybe this could even support "ifconfig -a ce"?
Or even "ifconfig -a group a"?
Or can I do "ifconfig `ipmpstat --group-interfaces group a`"?
Is there an output mode for ipmpstat that makes its output
easily used with other commands in Solaris?

Really what this is trying to make up for is the inability to
easily use grep with ifconfig in a meaningful way, so whether
or not this functionality belongs in ifconfig or not, I'm not
100% sure of.

Another other issue with how ifconfig is proposed to be used
in the design doc is in removing an interface from a group.
The document has: ifconfig ce0 group "". This seems at odds
with how all of the other ifconfig subcommands work and what
I'd expect is "ifconfig ce0 -group a".

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to