Re: [manet-dlep-rg] Peer termination

"Stan Ratliff (sratliff)" <sratliff@cisco.com> Tue, 12 November 2013 15:41 UTC

Return-Path: <sratliff@cisco.com>
X-Original-To: manet-dlep-rg@ietfa.amsl.com
Delivered-To: manet-dlep-rg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0B8F21E8207 for <manet-dlep-rg@ietfa.amsl.com>; Tue, 12 Nov 2013 07:41:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.568
X-Spam-Level:
X-Spam-Status: No, score=-10.568 tagged_above=-999 required=5 tests=[AWL=0.031, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kbao+ihMAmaS for <manet-dlep-rg@ietfa.amsl.com>; Tue, 12 Nov 2013 07:41:54 -0800 (PST)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by ietfa.amsl.com (Postfix) with ESMTP id 9F8DB11E8246 for <manet-dlep-rg@ietf.org>; Tue, 12 Nov 2013 07:40:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4123; q=dns/txt; s=iport; t=1384270858; x=1385480458; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=zWZ4zdSdL9Xu6NAEfUU2D1EzqIg0RpstJ3kq6jS/xAA=; b=KpuJGzmmgkfTPub0KUOwECw60GZcWTTau1q/UkR/AxBs+ywXB/9707wV 44AGBUtSXgY+6iNr0TUUer1CGxkvw9g5iPwzKm/cpfdf120uf+FYwG+UQ UtKXxeiJyvCDzaqF2mDEXI9dDoaw+gbdlMO80QfzI9WVM4IgAol+Ya5ex o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFAOBLglKtJXG//2dsb2JhbABZgwc4U78dgScWdIIlAQEBAwEBAQFSGQsMBAIBCBEEAQEBJwcnCxQJCAIEDgWHewYNvnaOIAaBBggrBwIEgxqBEQOYD5IKgyaBaAkXIg
X-IronPort-AV: E=Sophos;i="4.93,685,1378857600"; d="scan'208";a="283818463"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by rcdn-iport-4.cisco.com with ESMTP; 12 Nov 2013 15:40:42 +0000
Received: from xhc-aln-x04.cisco.com (xhc-aln-x04.cisco.com [173.36.12.78]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id rACFegbL016622 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 12 Nov 2013 15:40:42 GMT
Received: from xmb-aln-x03.cisco.com ([169.254.6.200]) by xhc-aln-x04.cisco.com ([173.36.12.78]) with mapi id 14.03.0123.003; Tue, 12 Nov 2013 09:40:41 -0600
From: "Stan Ratliff (sratliff)" <sratliff@cisco.com>
To: "Taylor, Rick" <Rick.Taylor@cassidian.com>
Thread-Topic: [manet-dlep-rg] Peer termination
Thread-Index: AQHO3wnKkS8ysrh74U2F4THE8De/NJohje9ggACTqIA=
Date: Tue, 12 Nov 2013 15:40:41 +0000
Message-ID: <169C0FCA-4747-443E-ACBA-ACDC206C1F26@cisco.com>
References: <72FB622921C13746AD6349E70A8D9F307D9192F7@EXC-MBX03.tsn.tno.nl> <CAK=bVC85XAXR3Zkwq+JwELF-dvgrKwbowWCvwvnjeVn7VStnbw@mail.gmail.com> <72FB622921C13746AD6349E70A8D9F307D9193CD@EXC-MBX03.tsn.tno.nl> <5A8A5085482DA84995F4E70F5093AB50268E6C@XCH-BLV-503.nw.nos.boeing.com> <B2BA430A-F4E6-4DED-A7BB-7282A22802B7@inf-net.nl> <D02397F1-9D1B-4B36-81D0-4585ACDBA34A@gmail.com> <5D184300-2D97-4EC1-8D91-76D4A79B2BDA@inf-net.nl> <DDAE98C5-520E-4F8F-9F9B-2AB9A15A70EF@cisco.com> <B257DBD2-B950-47F3-A589-853FC5BA4BC4@inf-net.nl> <CC7560A0-387E-4EDD-A3D7-40FB7132C300@cisco.com> <1a6425cc-2ba7-47f0-95f1-e581800b8d4a@SUCNPTEXC01.COM.AD.UK.DS.CORP> <B177F831FB91F242972D0C35F6A0733106FB0452@SUCNPTEXM01.com.ad.uk.ds.corp>
In-Reply-To: <B177F831FB91F242972D0C35F6A0733106FB0452@SUCNPTEXM01.com.ad.uk.ds.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [64.102.41.107]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <278F488C4958BE49A6933C005A2FD81D@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "DLEP Research Group (manet-dlep-rg@ietf.org)" <manet-dlep-rg@ietf.org>
Subject: Re: [manet-dlep-rg] Peer termination
X-BeenThere: manet-dlep-rg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DLEP Radio Group <manet-dlep-rg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/manet-dlep-rg>
List-Post: <mailto:manet-dlep-rg@ietf.org>
List-Help: <mailto:manet-dlep-rg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Nov 2013 15:41:59 -0000

On Nov 12, 2013, at 7:57 AM, "Taylor, Rick" <Rick.Taylor@cassidian.com> wrote:

> +1
> 
> Keep the Peer Terminate message.  Include a status value to differentiate between a normal and abnormal termination.
> 
> Status 0 = Ok - Normal shutdown, e.g. user turned off device
> 1 = Missing heartbeats
> 2 = Incompatible configuration
> 
> I'm guessing at status codes here, but it's an idea.
> 
> Obviously a terminate can come from either modem or router, and MUST be the last message.
> 
> I am not sure it is clear that the termination of a DLEP session implies that all destinations are no longer reachable.  No more DLEP metrics about those destinations, sure, but unreachable?

At least in the current Cisco implementation, Peer Termination means that all information learned from the Peer is no longer valid. So the router removes information about all destinations learned via the modem. To do otherwise would put you a weird state if/when the radio comes back online. You'd have an "information base" for an instantiation of DLEP in the peer that wasn't built by said instantiation… 

Also, in the Cisco implementation, removing the known destinations for a modem fires an indicator to routing protocols to drive "Dead Timer" for those destinations. So, the routing protocols will remove any existing adjacency, and re-converge. So yes, the current implementation pretty much equates DLEP termination to "destination unreachable".

Regards,
Stan


> 
> Rick Taylor
> 
>> -----Original Message-----
>> From: manet-dlep-rg-bounces@ietf.org [mailto:manet-dlep-rg-
>> bounces@ietf.org] On Behalf Of Teco Boot
>> Sent: 11 November 2013 18:14
>> To: Stan Ratliff
>> Cc: DLEP Research Group (manet-dlep-rg@ietf.org)
>> Subject: Re: [manet-dlep-rg] Peer termination
>> 
>> 
>> Op 11 nov. 2013, om 18:34 heeft Stan Ratliff (sratliff)
>> <sratliff@cisco.com> het volgende geschreven:
>> 
>>> 
>>> On Nov 11, 2013, at 11:19 AM, Teco Boot <teco@inf-net.nl>
>>> wrote:
>>> 
>>>> 
>>>> Op 11 nov. 2013, om 01:55 heeft Stan Ratliff (sratliff)
>> <sratliff@cisco.com> het volgende geschreven:
>>>> 
>>>>> Oh, and on termination:  I'm not removing the "Peer Terminate". Yes, a
>> session can be brought down via TCP FIN. But, you can also announce it
>> with a Peer Terminate. Gives a more orderly way to clean everything up,
>> IMO.
>>>> 
>>>> It doesn't add anything, other than more messages, more state, more
>> code and more bugs.
>>>> What am I missing?
>>> 
>>> The ability for one side of the DLEP connection to tell the other *why*
>> things are going down.
>> 
>> I think a "Peer Down" message makes sense. This is very different than
>> terminating a DLEP session, in that the latter would not indicate peers
>> are no longer accessible. A "Peer Down" has an implicit meaning that all
>> Destinations are down. Closure of DLEP TCP connection would not indicate
>> such.
>> 
>> Maybe use a generic Peer Error message, as notification. Could be send
>> before TCP connection teardown.
>> 
>> Teco
>> 
>> 
>> _______________________________________________
>> manet-dlep-rg mailing list
>> manet-dlep-rg@ietf.org
>> https://www.ietf.org/mailman/listinfo/manet-dlep-rg
> The information contained within this e-mail and any files attached to this e-mail is private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure. If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system. Cassidian Limited, Registered Office : Quadrant House, Celtic Springs, Coedkernew, Newport, NP10 8FZ Company No: 04191036 http://www.cassidian.com