Re: [Netconf] Reconnection strategy in ietf-netconf-server.yang

Qin Wu <bill.wu@huawei.com> Thu, 23 August 2018 09:50 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C40F130E92 for <netconf@ietfa.amsl.com>; Thu, 23 Aug 2018 02:50:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hcu5RFrFrp8T for <netconf@ietfa.amsl.com>; Thu, 23 Aug 2018 02:50:22 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A770E130DD3 for <netconf@ietf.org>; Thu, 23 Aug 2018 02:50:22 -0700 (PDT)
Received: from lhreml709-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 311A169A77EE8 for <netconf@ietf.org>; Thu, 23 Aug 2018 10:50:19 +0100 (IST)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 23 Aug 2018 10:50:20 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.79]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0399.000; Thu, 23 Aug 2018 17:50:14 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Beauville, Yves (Nokia - BE/Antwerp)" <yves.beauville@nokia.com>, Kent Watsen <kwatsen@juniper.net>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] Reconnection strategy in ietf-netconf-server.yang
Thread-Index: AQHUOWGDUsGNIaLDV02hUNFw8KrhiqTKxPaAgAJVZHA=
Date: Thu, 23 Aug 2018 09:50:14 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AFD3C07@nkgeml513-mbx.china.huawei.com>
References: <045f9ea9-7cbc-f92c-68d9-ff370cad66e6@nokia.com> <5B554075-06D3-4486-8EF8-51246B1FE1CE@juniper.net> <d9decf72-2e27-b937-c83e-2b5149909690@nokia.com> <B48B6511-895C-4417-9676-3E9B554F1547@juniper.net> <e8209696-6105-e4ca-b00d-099fcddc2643@nokia.com>
In-Reply-To: <e8209696-6105-e4ca-b00d-099fcddc2643@nokia.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.33.244]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/CUPjFBrTuDUYIwDGuZ3OUHe61nE>
Subject: Re: [Netconf] Reconnection strategy in ietf-netconf-server.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Aug 2018 09:50:24 -0000

+1, it is more flexible.

-Qin
-----邮件原件-----
发件人: Netconf [mailto:netconf-bounces@ietf.org] 代表 Beauville, Yves (Nokia - BE/Antwerp)
发送时间: 2018年8月22日 14:11
收件人: Kent Watsen; netconf@ietf.org
主题: Re: [Netconf] Reconnection strategy in ietf-netconf-server.yang

Hi Kent,

I definitely support this.

I find it a very useful addition.

Yves


On 21-08-18 17:05, Kent Watsen wrote:
> Hi Yves,
>
>> You are absolutely correct.
>> A random-selection would also work with my use-case.
>> Is this something we can consider to add in the netconf-server model?
>
> I think this is a good addition.  I've added, in my local copy, the following to the 4 modules ietf-[net|rest]conf-[client|server], for the reconnection-strategy's "starts-with" enum:
>
>      enum random-selection {
>        description
>          "Indicates that reconnections should start with
>           a random endpoint.";
>      }
>
> Everyone okay with this addition?
>
> Kent // contributor
>
>

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf