Re: [Netconf] Comments on draft-ietf-netconf-netconf-client-server

Kent Watsen <kwatsen@juniper.net> Thu, 15 November 2018 22:32 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 A7A27130E71 for <netconf@ietfa.amsl.com>; Thu, 15 Nov 2018 14:32:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.171
X-Spam-Level:
X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, KHOP_DYNAMIC=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no 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 ETTwK1VtLpT2 for <netconf@ietfa.amsl.com>; Thu, 15 Nov 2018 14:32:07 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 831AF124BAA for <netconf@ietf.org>; Thu, 15 Nov 2018 14:32:07 -0800 (PST)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id wAFMKI13030462; Thu, 15 Nov 2018 14:32:06 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=6UpyejM8TADhRg3Osmyusj73cgPvNjyKGbuSKEX+9UQ=; b=Rtxgskv7P808nRZq6/DyGOkEgFJ9Zu09fyMokGlliVZF2quzrYFUopTw0hUP5rnGqAY2 Fi1JwEVk4YJZ1pNXHIbRyeS3BcCkgI8trgJdFO8MGv/Y2OU6ay4iQzUvUC01xOa+ubaL iSDwq2tdBDeLstfdZRTjslraQDDsygbjtMTBDC4qUnG2sfo+m/jIxmjW99bPv00JI673 lYva6kBMJlPiiAZHbd8Pzf7tfFX1NUoBpDkfsT1XUdJWxUNsLxUt0hDozJmALiMH9Hr7 Hig3hWzDEERLSgak4WF2rTQ852h/699Bm9hd2MQ0ZqYtdh8ZBiTrhqkL4K/oSGV/pEgj 5g==
Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp0182.outbound.protection.outlook.com [216.32.180.182]) by mx0b-00273201.pphosted.com with ESMTP id 2nscpe0h9m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 15 Nov 2018 14:32:06 -0800
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4219.namprd05.prod.outlook.com (20.176.72.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.7; Thu, 15 Nov 2018 22:32:03 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a%5]) with mapi id 15.20.1339.021; Thu, 15 Nov 2018 22:32:03 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Dhanapal, Ramkumar (Nokia - IN/Chennai)" <ramkumar.dhanapal@nokia.com>, "netconf@ietf.org" <netconf@ietf.org>
CC: "Beauville, Yves (Nokia - BE/Antwerp)" <yves.beauville@nokia.com>, "Carey, Timothy (Nokia - US)" <timothy.carey@nokia.com>
Thread-Topic: Comments on draft-ietf-netconf-netconf-client-server
Thread-Index: AdR4HyFGnh375MLeQwOCRy8NnIuKdAE6gMoA
Date: Thu, 15 Nov 2018 22:32:03 +0000
Message-ID: <FD4480E1-F938-4146-ABEB-FBADBEA33D43@juniper.net>
References: <HE1PR07MB4329ED3FA2BA9D4E53BBE758F8C60@HE1PR07MB4329.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB4329ED3FA2BA9D4E53BBE758F8C60@HE1PR07MB4329.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.4.181110
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4219; 6:oFbYc0xnC9H19lC1npDSw0pcFHS38yRqMH/g33dsey4BG0An+WHOo3v451Borrya3U1qFLj/I+yBeROqmFTbI0FWLDsTrdL/PuRg7dpZh4RUHhKAd7I4n1sRWZLdVIwbRsUFAXP4aNz1Q8O4Xm7oQQajSvKv1F1dCcSDCTMZf56Lc9gUAFYvic82oPVy0lyiaMhq7ymzENf+PFPms2q7aBWg7qTG5Z4SWRka0sSzSHFWIqSiCH+nLhOlKvEiuSlRi3uXYJaUU8miWYvkXpFyiYlkITJro64WrnwtNu5996tGDB9vY17WwtLG8Fv60DkRMUaDV4BMRGzgrluYpF3dumXF60R4uu38Kdol/914H81jjy+cghEo0lkynipSV9Z2GGpWRdv1ezkTD2Cgg/7gT1hiSE+XvLva0htIrUCX31cjFJdzw6WBqWUcUKhAyRRKIYKn8zdAcY71SpaQ3WcSWw==; 5:JhyjgrFYvj1qLhNNOfEIeOEfRYf0ikrxgOwMImHD8Y45ButLJ7LnNTkn0Zwxc64gpALmE/g8kxAUeBjA7PeLydeHexm9n0YA2ukpx7hKEalqeKJjWXMJhrMWvCxuCdh72VphV5Dbj2h0Ma8xcFpcS7TsCpoHPCAStmF3Go+AwJw=; 7:1cu4RcJpBjOOgp7dBwo3y3Sf3JxzxXm/bR0WN1Od2R3GNHIuU7IVUpiOSGKbgbX5IEoCWslhCoL6EGdMiuQWmUfBzgxGyncf669bIZzCp+VEsurh1x+XgYKzG0t96yfbVfs1WDewfEPV50o8wWGGQA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 9737955a-9288-4194-f4c5-08d64b4a2ac9
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4219;
x-ms-traffictypediagnostic: DM6PR05MB4219:
x-microsoft-antispam-prvs: <DM6PR05MB4219403DFD2064EAEAB987C3A5DC0@DM6PR05MB4219.namprd05.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231415)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201703031522075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DM6PR05MB4219; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4219;
x-forefront-prvs: 08572BD77F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(136003)(346002)(396003)(376002)(199004)(189003)(316002)(14454004)(53936002)(33656002)(2501003)(8936002)(76176011)(8676002)(58126008)(4326008)(296002)(186003)(81156014)(81166006)(7736002)(97736004)(68736007)(25786009)(256004)(36756003)(5660300001)(54906003)(102836004)(110136005)(6436002)(26005)(476003)(486006)(229853002)(2900100001)(11346002)(2616005)(446003)(6246003)(99286004)(2906002)(6512007)(6486002)(71200400001)(6116002)(86362001)(71190400001)(6306002)(54896002)(82746002)(478600001)(3846002)(66066001)(105586002)(6506007)(106356001)(83716004); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4219; 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: njAvzGDpJt+lm0J7eTBc/iAP4SO6bJA95woKupmoyUKV7u2An5/gCJGw4Chkx+kpM0AN5oM3E5TQWL6fiSGuGp365NysWb3LSWSstAg9zIKRWo1qOH9VVZiWw48ob2wXUtDtZQ6yYUOo4OLRdwXcezW4RaoxN93j95VQZGLVbYPXfTNBFLZwm2C2laUPinm1fuD1SgvBVY5zhEKgCeAF7EwZRFpRSD2i1kbS6db5/0H0WcHf6/MoyPEYV0dBbiRFn3PkD9rvC56FbBl8C9kQJm0Fcx/wcfIZY4MGI+yIcLJvwGtkNCYNISvcvOHUe7ZUGGd3ToBGDvJIVM5H7ejIuU85AZ+T8v6lflqLEHj6RKE=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_FD4480E1F9384146ABEBFBADBEA33D43junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 9737955a-9288-4194-f4c5-08d64b4a2ac9
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2018 22:32:03.5524 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4219
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-11-15_16:, , 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811150195
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/eMSFoxEGVj4wbR7bUbztHWEVOxM>
Subject: Re: [Netconf] Comments on draft-ietf-netconf-netconf-client-server
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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, 15 Nov 2018 22:32:10 -0000

[just back from travels]

Hi Ramkumar,


> Comment 1:
> We are using the ‘ietf-netconf-server’ module for configuration of call home parameters
> like netconf client endpoint IP/port, keys/certificates etc..  For static configuration from
> northbound, this works fine.
>
> Our use case is that the netconf client endpoint IP/port are learnt dynamically through
> DHCP process inline with BBF TR301_Issue2.  These dynamically learnt endpoints also
> need to be modelled in the yang.  These dynamic endpoints should also support the
> configuration of keys/certificates.

I just read TR301 Issue2, which is similar to work I do both in and out of the IETF.

What is your question specifically?  Is it how to configure the ietf-netconf-server
data model given the PMA Offer message described in Section 16.5.2.2?  or is
it how the PMA can configure these values after it establishes a NETCONF
connection (via NETCONF Call Home) to the DPU after the discovery process
completes?

[BTW, please notify the editor about the typo in R-191: s/Identified/Identifying/.]


> Comment 2: The server keys/certificates/ca-certs are configurable per endpoint per
> netconf-client. We understand pinned-ca-certs/ pinned-client-certs can be per endpoint.
> But for the device acting as the netconf server, we see only one set of keys/certificates
> is enough and need not be per endpoint.

As I understand TR301, the DPU will perform standard certificate path validation
of the PMA’s end-entity certificate to a per-configured trust-anchor certificate,
presumably one provided by a public CA such as Verisign or Comodo, such as
might be found in, e.g., /etc/ssl/certs.  Thusly, these certs are, in effect, the
“pinned-ca-certs” that would be used.  For absolute correctness, the DPU could
auto-populate /ietf-trust-anchors:pinned-certificates with these certs, or it could
do “backend magic” to achieve the same result.


> Comment 3: The description of ‘netconf-server/listen/endpoint/transport/ssh/address’
> is mentioned as “The NETCONF server will listen on all configured interfaces if no value is
> specified”.  When no value is specified, we are unable to configure ‘ss:ssh-server-grouping’
> parameters.

Good catch, the mandatory true requires a value.  This was discussed on the list a
while back with the result of wanting to instead have the address always specified,
using INADDR_ANY or INADDR6_ANY when needed.  The description statement is
wrong.  I have removed the 2nd sentence from the description statement in six
locations in the four modules ietf-[netconf|restconf]-[client|server] in my local
copy.

BTW, you mention “listen” and “ssh” but, for TR301, it should be “call-home” and
“tls”, right?


Regards,
Kent