Re: [Netconf] netconf call home connection type

Kent Watsen <kwatsen@juniper.net> Tue, 21 August 2018 20:24 UTC

Return-Path: <kwatsen@juniper.net>
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 4108F130E52 for <netconf@ietfa.amsl.com>; Tue, 21 Aug 2018 13:24:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level:
X-Spam-Status: No, score=-2.711 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 gXQbOHxsJ0pG for <netconf@ietfa.amsl.com>; Tue, 21 Aug 2018 13:24:13 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 1D54712785F for <netconf@ietf.org>; Tue, 21 Aug 2018 13:24:13 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7LKOCrJ008211; Tue, 21 Aug 2018 13:24:12 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=rOm24WddUxk86pHgJkjseBXIkJPdMfcWCS68aANDTaQ=; b=BpJrnO8SNglZjlsEFGMKM79PZMjOnyxMil0N4MBGroMSX4fxO6EMrokCvwo2IugN1MhE BWCvXhqKh+YbDHwcUtlF3MRS3adZ9g3OUdXXPHv9J8LfWhONnmaJoTJZW44VCHGRngI1 y4BJgY99bL4u1XgaxiqtCKmT4rCX6MHk2u1nNOdQeH2jqhKf8iKcpb8g3W0zvLDHXQbX EnDTWLnBcQwTtkmSF70Kdz5Ob9JKhK1q2qQR1Pd3aRoCTMZMtf62U7GbciG+rv003rrD K1CLxTpKiZEQRGiK402IphTtZIwu/XPElz4MmVQ6CulHOBv6WqIJavLjaq3tAi9ZjAzi Fw==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0176.outbound.protection.outlook.com [216.32.181.176]) by mx0a-00273201.pphosted.com with ESMTP id 2m0r3y855d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 21 Aug 2018 13:24:12 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4457.namprd05.prod.outlook.com (20.176.79.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.11; Tue, 21 Aug 2018 20:24:10 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::14ab:9da7:be4a:fbaf]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::14ab:9da7:be4a:fbaf%4]) with mapi id 15.20.1080.010; Tue, 21 Aug 2018 20:24:10 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] netconf call home connection type
Thread-Index: AQHUOUk8IdLBwLq95EWszUO4eDF4yKTKZDSA
Date: Tue, 21 Aug 2018 20:24:10 +0000
Message-ID: <4EAB4AE6-9957-46C5-A811-D0187C605AF2@juniper.net>
References: <20180821.141923.1666876004159297021.mbj@tail-f.com>
In-Reply-To: <20180821.141923.1666876004159297021.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.12]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4457; 6:ds4BposMfKUdjk9UVdgjmfm3kSRHA6aofoQm6P6/q7S6voLmF09q2hfKOxpZhnCTYO1M1vvypVR9HoLsv/4O6ddXSZcLIiW++kbFcYgi9MR6fY9PIiNyeEE44rfSojMBWlinC7xr4GDoPY8IdwOip6liMgbW+CUEGcA0mn543lFzzmeK59SowsY8U86OwB2zcC+qY1BNksS1INkpmsL/7fBFRf4sY2lZvLch8DHoUaQnCj2/wPrhyBSOYENpGZS6fNYummVk4C6PgVMYss3UWjMg40MX64yCKRXsmWvzky9r+xuS/1I44ackuYzF2JcC1BheM8Q7p5UdOgIkpQl+ELVQvWDDvYFd9MLpwOTlISpCOUCOoImc8f7nq3f/B8GBu/csmUBP0qarZG325LTbT30uhIKKk87xUG9WsMeL9+a1EaqnHCb2w5myehNPWh+mPG7dCRYiAyxL9zx6ePmm2w==; 5:bAlTpJq1EQ72DI/Ricgm5JTQAa0TNgFBdA/lTsDnmLg8FDEI58ZM56qGdvKsNMOyWisa9Ev348JIEP5xPqzwPky8sTN/SNMhrOXchwaEA/u8zgXPd4zFvwZRc/4/AG+nQyb4PO/nfX6WZGszhZTWBZePB+CuzMT1iE+MImqY8Jc=; 7:kcKxuxodGcD5526c1e3KjgRByUizmBCV4ldpMWfSV1/SkOqUktlpwyoikcplWSKJyArmisvE/WilWkuQMrTPV9eazX45pZr6iDUTL3rV+HzwAfQRtWTjyN93gI6f1d9Lft7Dw+pJfrFCtE/RlDagnjcfY8eeAQgitPrlzVh4RJXVxouLUBBmMn3tZNlvtmkTE4ysUuMD9S9gEkS7M6OgPF9bteX8uFTbpwW7ndZJo5hsVgs+IUlCJH9i5vpVvSRk
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: c572b70a-81d8-4956-3ac5-08d607a40df0
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(49563074)(7193020); SRVR:DM6PR05MB4457;
x-ms-traffictypediagnostic: DM6PR05MB4457:
x-microsoft-antispam-prvs: <DM6PR05MB4457AC799F90A1D30D3C427CA5310@DM6PR05MB4457.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:DM6PR05MB4457; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4457;
x-forefront-prvs: 0771670921
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(83716003)(486006)(11346002)(5660300001)(5250100002)(316002)(97736004)(6246003)(256004)(53936002)(6512007)(2501003)(6486002)(6436002)(82746002)(446003)(86362001)(229853002)(2900100001)(36756003)(478600001)(8676002)(33656002)(7736002)(81156014)(186003)(81166006)(14454004)(106356001)(305945005)(102836004)(58126008)(476003)(5024004)(14444005)(99936001)(66066001)(6506007)(110136005)(25786009)(6116002)(3846002)(2906002)(68736007)(99286004)(8936002)(105586002)(26005)(76176011)(2616005); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4457; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: hNHblcSCK5jTJ8xmBPMJvIjxjfouuKP3GqcWQTzVS/yISPh6/ISJJMG5D+Zk+2aT5XLfEXlInWLNkaTUHnBJLhvDVnM6RN0zd3JPHM/RUgipu3t8lXkSbe/1DEx5OadkcvUNae9CIwm3YIF+WaJ7ltSGPekhexsHqZWqMv+bGi6WRzzPFBtCTlZbFd2gI4Lh8FE8qBibx2v1CXGWCidOUuI0/TRQdRfLTLiYdD/VO2CkWvSB0EcMb2S/wYDOuG8WbDxtSowCAsHB17v2iUXwEDTmWiMwhmcOPniL1lGfLpc48/jzDjRTm9OiwjoGZHeqGO6dETo62+gvcAM8hsFyHMTOPLQGCH/gXCxXEEknhVk=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/mixed; boundary="_002_4EAB4AE6995746C5A811D0187C605AF2junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: c572b70a-81d8-4956-3ac5-08d607a40df0
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Aug 2018 20:24:10.8288 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4457
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-08-21_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808210207
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/E8DsMUoZG22wbFJrGZjXGPY4Qnw>
Subject: Re: [Netconf] netconf call home connection type
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: Tue, 21 Aug 2018 20:24:16 -0000


> Hi,
>
> In draft-ietf-netconf-netconf-client-server-06, each "netconf-client"
> in the "call-home" list has a list of endpoints and a
> "connection-type".  The connection type defaults to "persistent".

> I suggest we add a new connection type case "on-demand" or something
> similar, which can be used e.g. when there is something external to
> trigger the call home.  

"periodic" is meant to cover on-demand also.   Very early slides on all
this used to call it "periodic + on-demand".  The "reconnect-timeout" 
description statement says: 
 
  In ietf-netconf-client:
    The NETCONF client may initiate a
    connection before this time if desired
    (e.g., to set configuration).";

  In ietf-netconf-server:
    The NETCONF server may initiate a connection before
    this time if desired (e.g., to deliver an event
    notification message).";


> An example would be a periodic yang push subscription.

Right, "to deliver an event notification message".


> I also suggest that the default connection strategy either is 
> dropped, or changed to "on-demand".

This was discussed at the IETF 102 meeting (see attached slide and
lines 329-335 in the minutes).  Essentially, folks want to add a
"periodic" feature enabling the initiating peer to optionally
support periodic connections.  As such, I don't think it should
be the default.


> Also, looking at the "periodic" case, when have in ietf-netconf-server:
>
>           |        +--rw periodic!
>           |           +--rw idle-timeout?        uint16
>           |           +--rw reconnect-timeout?   uint16
>
> In YANG Push, we have:
>
>           |  +--rw yp:periodic!
>           |     +--rw yp:period         yang:timeticks
>           |     +--rw yp:anchor-time?   yang:date-and-time
>
>
> does it make sense to use similar parameters in these two cases?

The YANG Push parameters have no equivalent to "idle-timeout".  This
is what is sometimes called a "linger-timeout".  The connection stays
open a little while longer in case the remote peer has a follow-up,
as they often do.  There would be no need for YANG-push to have this
concept, being primarily a one-way flow.

The client-server drafts have no equivalent to "anchor-time", some
point in the future after which connections begin.  This looks
complex with questionable value, worth keeping?


Kent // contributor