netdev
[Top] [All Lists]

Re: Patch: Idea for RFC2863 conform OperStatus

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: Patch: Idea for RFC2863 conform OperStatus
From: Stefan Rompf <srompf@xxxxxx>
Date: Mon, 14 Oct 2002 20:14:26 +0200
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, david-b@xxxxxxxxxxx
References: <Pine.GSO.4.30.0210140918170.26803-100000@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi Jamal,

> - NOTPRESENT makes sense more from a NMS pov where a hotplug device has
> been removed and SNMP finds that the device is no longer there. This
> can be done without any state from the kernel being exposed.

I want to forward this question mainly to the USB people. David, as you
are familiar with this thread, how does an USB  driver react when an
ethernet device is configured, running and then disconnected from the
USB port? From RFC2863, I'd expect the devicename ethx not to be removed
at least until it is ifconfigured down, but change from UP to NOTPRESENT
until reconnection. So it would be useful to have this state inside the
kernel.

> - UNKNOWN is when the NMS cant find the state of the device - maybe when
> they cant reach us. Again we dont need to expose this from the kernel and
> if it is not useful in the kernel perhaps should be deleted.

We have two different views here: For an external NMS, it makes perfect
sense to change devices of a host from whatever to UNKWOWN if the host
becomes unreachable. For the host itself, UNKNOWN can also be a driver
that does not know about link state detection.

I opt against removal of these states.

Cheers, Stefan


<Prev in Thread] Current Thread [Next in Thread>