Re: CFV: ifAlias support

2010-09-17 Thread Wes Hardaker
On Thu, 16 Sep 2010 12:54:04 -0400, Robert Story rst...@freesnmp.com said: RS Any vendor which supports aliases probably supports it via all RS management interfaces... be it netconf, http or cli. To do anything RS else invites confusion from the user... IMHO, of course... I think we're in

Re: CFV: ifAlias support

2010-09-16 Thread Robert Story
On Wed, 15 Sep 2010 12:39:25 -0700 Wes wrote: WH On Mon, 13 Sep 2010 10:28:31 -0400, Robert Story rst...@freesnmp.com said: WH WH WH 1) the last value set for that interface WH WH 2) the super-cool string created from kernel info (from the patch) if possible WH WH 3) an empty string WH WH RS

Re: CFV: ifAlias support

2010-09-15 Thread Wes Hardaker
On Mon, 13 Sep 2010 10:28:31 -0400, Robert Story rst...@freesnmp.com said: WH 1) the last value set for that interface WH 2) the super-cool string created from kernel info (from the patch) if possible WH 3) an empty string RS I'm not a big fan of this idea. If we pull data from the kernel,

Re: CFV: ifAlias support

2010-09-13 Thread Robert Story
On Tue, 07 Sep 2010 15:08:26 -0700 Wes wrote: WH On Tue, 7 Sep 2010 11:22:08 -0700, Stephen Hemminger shemmin...@vyatta.com said: WH WH SH I have fix to make it keep overrides. But I did not implement WH SH setting kernel ifalias because on most systems snmpd runs as WH SH non-root (no

Re: CFV: ifAlias support

2010-09-09 Thread Wes Hardaker
On Tue, 7 Sep 2010 15:17:01 -0700, Stephen Hemminger shemmin...@vyatta.com said: SH It is a zero-length string unless admin has set it through SH ip link set dev eth0 alias 'my network interface' SH or via sysfs SH echo 'some string' /sys/class/net/eth0/ifalias SH The point is the OS doesn't

Re: CFV: ifAlias support

2010-09-09 Thread Stephen Hemminger
On Thu, 09 Sep 2010 10:19:27 -0700 Wes Hardaker harda...@users.sourceforge.net wrote: On Tue, 7 Sep 2010 15:17:01 -0700, Stephen Hemminger shemmin...@vyatta.com said: SH It is a zero-length string unless admin has set it through SH ip link set dev eth0 alias 'my network interface' SH or

Re: CFV: ifAlias support

2010-09-07 Thread Stephen Hemminger
On Fri, 3 Sep 2010 14:27:02 -0400 Robert Story rst...@freesnmp.com wrote: On Fri, 3 Sep 2010 10:35:05 -0700 Stephen wrote: SH This is the correct patch. SH SH Subject: if-mib: add support for ifAlias SH SH Linux has a way of recording an ifAlias value for each interface. SH The value is

Re: CFV: ifAlias support

2010-09-07 Thread Wes Hardaker
On Tue, 7 Sep 2010 11:22:08 -0700, Stephen Hemminger shemmin...@vyatta.com said: SH I have fix to make it keep overrides. But I did not implement SH setting kernel ifalias because on most systems snmpd runs as SH non-root (no cap_netadmin) and is therefore not allowed to set the SH value in

Re: CFV: ifAlias support

2010-09-07 Thread Stephen Hemminger
On Tue, 07 Sep 2010 15:08:26 -0700 Wes Hardaker harda...@users.sourceforge.net wrote: On Tue, 7 Sep 2010 11:22:08 -0700, Stephen Hemminger shemmin...@vyatta.com said: SH I have fix to make it keep overrides. But I did not implement SH setting kernel ifalias because on most systems snmpd

CFV: ifAlias support

2010-09-03 Thread Wes Hardaker
ID: 3057092 Last Update: Attachment added ( shemminger ) Details: Linux has a way of recording an ifAlias value for each interface. The value is configurable with iproute utilities or sysfs. Like the previous, I look forward to applying this post-5.6 but think it shouldn't go into

Re: CFV: ifAlias support

2010-09-03 Thread Robert Story
On Fri, 03 Sep 2010 09:21:50 -0700 Wes wrote: WH ID: 3057092 WH Last Update: Attachment added ( shemminger ) WH Details: WH WH Linux has a way of recording an ifAlias value for each interface. WH The value is configurable with iproute utilities or sysfs. This patch looks like a speed

Re: CFV: ifAlias support

2010-09-03 Thread Wes Hardaker
On Fri, 3 Sep 2010 12:52:32 -0400, Robert Story rst...@freesnmp.com said: RS This patch looks like a speed patch, not alias... did you attache the right RS thing? Hmm... I agree and I think the patch attached to the patch DB is actually wrong. I just didn't notice. -- Wes Hardaker Please

Re: CFV: ifAlias support

2010-09-03 Thread Stephen Hemminger
This is the correct patch. Subject: if-mib: add support for ifAlias Linux has a way of recording an ifAlias value for each interface. The value is configurable with iproute utilities or sysfs. --- agent/mibgroup/if-mib/data_access/interface.c |6

Re: CFV: ifAlias support

2010-09-03 Thread Robert Story
On Fri, 3 Sep 2010 10:35:05 -0700 Stephen wrote: SH This is the correct patch. SH SH Subject: if-mib: add support for ifAlias SH SH Linux has a way of recording an ifAlias value for each interface. SH The value is configurable with iproute utilities or sysfs. -1 because it doesn't integrate