Re: [PATCH v3 0/2] net: add device groups
flat view
From: Vlad Dogaru <hidden>
Date: 2011-01-15 16:48:03
On Fri, Jan 14, 2011 at 08:08:10AM -0800, Stephen Hemminger wrote:
On Fri, 14 Jan 2011 11:38:29 +0200 Vlad Dogaru [off-list ref] wrote:quoted
This patchset implements network device grouping and simple manipulation of groups. Netlink has been updated to provide group information and means of applying changes to members of a specific group via a single message. The patchset has a corresponding one for iproute2, which implements the new functionality in userspace.What about a read/write sysfs interface as well? /sys/class/net/eth0/devgroup
Oops, I overlooked that, probably because I've been testing in a virtual machine where the kernel has sysfs turned off -- less waiting for simple tests.
Not sure if numeric devgroup is best choice. Since this is more of a human interface parameter maybe it should be a string? Or have a translation in the utilities /etc/iproute2/devgroup?
I didn't know about /etc/iproute2. I could add the devgroup file as you mention, seems like a good choice for userspace. I'll update the patches with these, but it will probably take a few days, I have a few exams next week :) Thanks for the suggestions, Vlad