Re: [IPsec] [Last-Call] [I2nsf] [yang-doctors] Yangdoctors last call review of draft-ietf-i2nsf-sdn-ipsec-flow-protection-08

Christian Hopps <chopps@chopps.org> Wed, 23 September 2020 11:20 UTC

Return-Path: <chopps@chopps.org>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEA163A0F9F; Wed, 23 Sep 2020 04:20:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 KOR8a3d4cAgs; Wed, 23 Sep 2020 04:20:44 -0700 (PDT)
Received: from smtp.chopps.org (smtp.chopps.org [54.88.81.56]) by ietfa.amsl.com (Postfix) with ESMTP id 266F03A0F9A; Wed, 23 Sep 2020 04:20:29 -0700 (PDT)
Received: from stubbs.int.chopps.org (047-050-069-038.biz.spectrum.com [47.50.69.38]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by smtp.chopps.org (Postfix) with ESMTPSA id 2BBED6020E; Wed, 23 Sep 2020 11:20:28 +0000 (UTC)
From: Christian Hopps <chopps@chopps.org>
Message-Id: <CBC552B2-6039-48E8-988D-4F2BA3FD6B2E@chopps.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_1FFA713F-07B4-47F8-9661-83118FBAA775"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Date: Wed, 23 Sep 2020 07:20:26 -0400
In-Reply-To: <20200923.125826.1562347052257995146.id@4668.se>
Cc: Christian Hopps <chopps@chopps.org>, Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, i2nsf@ietf.org, Gabriel Lopez <gabilm@um.es>, draft-ietf-i2nsf-sdn-ipsec-flow-protection.all@ietf.org, ipsec@ietf.org, last-call@ietf.org, Rafa Marin-Lopez <rafa@um.es>, yang-doctors@ietf.org
To: Martin Björklund <mbj+ietf@4668.se>
References: <MN2PR11MB4366E30B3C372D13B391AE07B53B0@MN2PR11MB4366.namprd11.prod.outlook.com> <2B88888E-A264-4D81-A8DA-9C6225E83E0E@um.es> <70A0A406-0742-4F28-A5A4-8D539B160E24@chopps.org> <20200923.125826.1562347052257995146.id@4668.se>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/Yn3vRzK4aKA6SriUH76FFzV3-KE>
Subject: Re: [IPsec] [Last-Call] [I2nsf] [yang-doctors] Yangdoctors last call review of draft-ietf-i2nsf-sdn-ipsec-flow-protection-08
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2020 11:20:46 -0000


> On Sep 23, 2020, at 6:58 AM, Martin Björklund <mbj+ietf@4668.se> wrote:
> 
> Hi,
> 
> Christian Hopps <chopps@chopps.org <mailto:chopps@chopps.org>> wrote:
>> 
>> 
>>> On Sep 23, 2020, at 5:29 AM, Rafa Marin-Lopez <rafa@um.es> wrote:
>>> 
>>>> 
>>>> 
>>>> But I would like to check: My understanding is that the changes that
>>>> Chris is proposing are pretty small.  I.e. move the SA structure under
>>>> ipsec-common, and put it under a YANG feature.  Are you sure that it
>>>> is impractical to accommodate this change which would allow a single
>>>> ipsec module to be shared and extended via YANG augmentations?
>>> 
>>> 
>>> In the context of our I-D, if we move SAD structure to ipsec-common,
>>> what we are meaning is that IPsec SA configuration data (setting
>>> values to the SAD structure) are common to the IKE case and the
>>> IKE-less cases, which are not. It is confusing.
>> 
>> Something defined in a common module but marked as a feature does not
>> imply that that feature has to be implemented by an importing
>> module. This is not confusing to YANG implementers or users I
>> think. If we are just talking about document flow here, then a
>> sentence saying "the SAD feature is not required to implement IKE
>> functionality" is quite enough to clear that up I think.
> 
> Another alternative could be to move these containers to another
> (new) module.

It may also be enough to mark the notifications in the ikeless module as a feature I suppose. That is the actual thing I think non-SDN implementations would want to omit. The module name "ikeless" is not great in this case, but perhaps workable.

This is a sub-optimal compromise b/c all IPsec have SA databases even ones running IKE -- i.e., SA databases are common whether exposed in YANG or not -- but if it can move it forward perhaps good enough.

I'm definitely concerned about IETF process and real world usability here. These modules are basically workable for ipsec I think, they could be used by operators today. If we restart the entire process to redo this work for the more generic IPsec case it will probably be years before they are finished and in the field. This new work can be started, but why not have something usable in the meantime?

Thanks,
Chris.

> 
> 
> /martin
> 
> 
> 
>> 
>> Thanks,
>> Chris.
>> 
>>> Moreover, the usage of feature means that, after all, this “common” is
>>> not “common” to both cases IKE case and IKE-less. Again, it seems
>>> confusing. In the IKE case, the SDN/I2NSF controller does not
>>> configure the SAD at all but the IKE implementation in the NSF. In our
>>> opinion, in order to properly add this IPsec SA operational state to
>>> the IKE case we should include operational data about the IPsec SAs
>>> (config false) to the ietf-ipsec-ike. Alternatively, we have certain
>>> operational data (ro) in the SAD structure in the IKE-less case. If
>>> only those are moved to the common part should be ok but we think it
>>> does not solve the problem.
>>> 
>> 
> --
> last-call mailing list
> last-call@ietf.org <mailto:last-call@ietf.org>
> https://www.ietf.org/mailman/listinfo/last-call <https://www.ietf.org/mailman/listinfo/last-call>