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

Rafa Marin-Lopez <rafa@um.es> Wed, 23 September 2020 09:29 UTC

Return-Path: <rafa@um.es>
X-Original-To: i2nsf@ietfa.amsl.com
Delivered-To: i2nsf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AEDF3A0B98; Wed, 23 Sep 2020 02:29:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level:
X-Spam-Status: No, score=-2.118 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=um.es
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 fWMsTOFcaip2; Wed, 23 Sep 2020 02:29:29 -0700 (PDT)
Received: from mx02.puc.rediris.es (outbound4sev.lav.puc.rediris.es [130.206.19.178]) (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 05DA13A0ED5; Wed, 23 Sep 2020 02:29:27 -0700 (PDT)
Received: from xenon43.um.es (xenon43.um.es [155.54.212.170]) by mx02.puc.rediris.es with ESMTP id 08N9THWV010942-08N9THWW010942; Wed, 23 Sep 2020 11:29:17 +0200
Received: from localhost (localhost [127.0.0.1]) by xenon43.um.es (Postfix) with ESMTP id 3802D243CA; Wed, 23 Sep 2020 11:29:17 +0200 (CEST)
X-Virus-Scanned: by antispam in UMU at xenon43.um.es
Received: from xenon43.um.es ([127.0.0.1]) by localhost (xenon43.um.es [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9TNN55LsDQL9; Wed, 23 Sep 2020 11:29:17 +0200 (CEST)
Received: from [192.168.1.36] (198.red-2-138-84.dynamicip.rima-tde.net [2.138.84.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: rafa@um.es) by xenon43.um.es (Postfix) with ESMTPSA id 617BD243CD; Wed, 23 Sep 2020 11:29:07 +0200 (CEST)
From: Rafa Marin-Lopez <rafa@um.es>
Message-Id: <2B88888E-A264-4D81-A8DA-9C6225E83E0E@um.es>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B17EE439-6F9C-449D-A99C-54A86EAB9814"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
Date: Wed, 23 Sep 2020 11:29:06 +0200
In-Reply-To: <MN2PR11MB4366E30B3C372D13B391AE07B53B0@MN2PR11MB4366.namprd11.prod.outlook.com>
Cc: Rafa Marin-Lopez <rafa@um.es>, "i2nsf@ietf.org" <i2nsf@ietf.org>, Gabriel Lopez <gabilm@um.es>, "draft-ietf-i2nsf-sdn-ipsec-flow-protection.all@ietf.org" <draft-ietf-i2nsf-sdn-ipsec-flow-protection.all@ietf.org>, "ipsec@ietf.org" <ipsec@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, Martin Björklund <mbj+ietf@4668.se>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, Christian Hopps <chopps@chopps.org>
References: <159827985531.30993.17722282912726281276@ietfa.amsl.com> <D25A15B0-B714-407C-B119-F83B634099D4@chopps.org> <MN2PR11MB43668FA513A764EA0514790BB53B0@MN2PR11MB4366.namprd11.prod.outlook.com> <27C522C8-53E3-40EF-ADD7-5B2F84FFCF83@um.es> <MN2PR11MB4366E30B3C372D13B391AE07B53B0@MN2PR11MB4366.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.14)
X-FEAS-SPF: spf-result=pass, ip=155.54.212.170, helo=xenon43.um.es, mailFrom=rafa@um.es
Authentication-Results: mx02.puc.rediris.es; spf=pass (rediris.es: domain of rafa@um.es designates 155.54.212.170 as permitted sender) smtp.mailfrom=rafa@um.es
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=um.es; s=DKIM; c=relaxed/relaxed; h=from:message-id:content-type:mime-version:subject:date:cc:to:references; bh=Qa5N6b8rYgR8BBf/H0dN7Ka0NKl/vf9d9qqW6pXjm30=; b=EZLDL+rQSHa6O1+zmdkZA6hPe2dMV/J4cB2d0AhPcbYXO2emzUT+MZ8Qzi5u3GqUA46PRx7np7t2 tCYERf8YxKbEcpJtV0ZWUix/VYZAHC4qe1eW00eDdVBI3fXZ7DpveKD48lJhrNE6lZAXifCa8LoI 2gTu1GPvagUrwQ9pcP1Cs2JlPsubkBBaRoZeYuH8npXwC4EGynWxXVvOqa+wBRouFXPLg1Xl/t8e bGus/E6desyQnykAwR7BX9quB6eEvfJtCa7DmEOwFQFHNVAuzA5GMHVyf9ansWnIx2e0Uu62ebT1 +VIqfKmYqS66vti2P9lsNVy6Bqzt6oBmsEiOHA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/IZyRrrTZu7tVm5Kpqe2mw5-kZ1w>
Subject: Re: [I2nsf] [yang-doctors] Yangdoctors last call review of draft-ietf-i2nsf-sdn-ipsec-flow-protection-08
X-BeenThere: i2nsf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "*I2NSF: Interface to Network Security Functions mailing list*" <i2nsf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2nsf/>
List-Post: <mailto:i2nsf@ietf.org>
List-Help: <mailto:i2nsf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2020 09:29:32 -0000

Hi Rob, (Chris):

Thank you very much for your answers. Please see our comments inline. 

> El 22 sept 2020, a las 17:38, Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org> escribió:
> 
> Hi Rafa,
>  
> Thanks for getting back to me.
>  
> Yes, changing the name of the module is an okay, if not ideal, resolution.  But I appreciate that you also want to be done with this work.

Correct, especially at this point of time. We have been discussing this I-D for a long time. There was a consensus in the WG. I2NSF WG chairs can comment about this. In our opinion, the changes that need to be applied are major changes from what it was approved in the WG. However, this is coming in the “last minute” and we feel this is not merely moving a few lines from here to there. We need to understand the impact of this. Therefore, it is not so trivial as it may seem. See below. 

>  
> 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. 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. 

Therefore it is not only an implementation aspect.

As you may observe, our discussion is taking into account there is an I2NSF Controller and we have two cases IKE case and IKE-less case, that have been discussed in the WG. The YANG model in the I-D has tried to reflect this discussion. It was never the intention to provide a general YANG model for IPsec. 

Best Regards.


> Thanks,
> Rob
>  
>  
> From: Rafa Marin-Lopez <rafa@um.es> 
> Sent: 22 September 2020 14:05
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: Rafa Marin-Lopez <rafa@um.es>; Christian Hopps <chopps@chopps.org>; Gabriel Lopez <gabilm@um.es>; draft-ietf-i2nsf-sdn-ipsec-flow-protection.all@ietf.org; i2nsf@ietf.org; ipsec@ietf.org; last-call@ietf.org; yang-doctors@ietf.org; Martin Björklund <mbj+ietf@4668.se>
> Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-i2nsf-sdn-ipsec-flow-protection-08
>  
> Dear Rob:
>  
> Apologies for our delayed answer. We are now working in the revision to submit v09 by compiling all the comments.
>  
> As you mentioned, we want to avoid any further delay. As we mentioned to Chris in the past (i2nsf mailing list), we do not have any problem to include some additional text (e.g. “-sdn-" in the module names). Therefore, Rob, we agree with your point of view about this.
>  
> In summary, we are working in the next revision v09, and our idea to address Chris’ comments was to include -sdn- to the module names.
>  
> We hope this is fine.
>  
> Best regards.
> 
> 
> El 22 sept 2020, a las 13:56, Rob Wilton (rwilton) <rwilton@cisco.com <mailto:rwilton@cisco.com>> escribió:
>  
> Hi draft authors, Chris,
> 
> Can we also please try and close on this issue raised by Chris.
> 
> Chris, I don’t think that there is any great way to solve this issue using YANG features, but presumably the constraint could be enforced with a must statement, or groupings could be used to copy parts of the ipsec structure into an sdn specific ipsec tree structure.
> 
> I understand that there isn't any great desire to delay these drafts by trying to generalize the ipsec YANG model contained within it.  However, I think that means that the modules should have "-sdn-" in their names to indicate that they are intended specifically for the SDN use case, and should not be confused with the more generic ipsec YANG modules that have been proposed.
> 
> Regards,
> Rob
> 
> 
> 
> -----Original Message-----
> From: yang-doctors <yang-doctors-bounces@ietf.org <mailto:yang-doctors-bounces@ietf.org>> On Behalf Of Christian
> Hopps
> Sent: 24 August 2020 18:08
> To: Martin Björklund <mbj+ietf@4668.se <mailto:mbj+ietf@4668.se>>
> Cc: i2nsf@ietf.org <mailto:i2nsf@ietf.org>; draft-ietf-i2nsf-sdn-ipsec-flow-
> protection.all@ietf.org <mailto:protection.all@ietf.org>; ipsec@ietf.org <mailto:ipsec@ietf.org>; last-call@ietf.org <mailto:last-call@ietf.org>; yang-
> doctors@ietf.org <mailto:doctors@ietf.org>
> Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-
> i2nsf-sdn-ipsec-flow-protection-08
> 
> [adding in ipsec@]
> 
> Hi,
> 
> This draft was discussed in ipsecme at the last IETF, and there was a
> desire to look closer at a couple changes that would make these models
> usable by ipsec generally rather than only for SDNs. Otherwise we will end
> up with 2 models that look very similar and duplicate almost all the
> functionality. This was going to be done during the next yang doctor
> review, but it looks like that happened in the meantime (ships in the
> night).
> 
> At minimum the module names should include "-sdn-" if no other changes are
> made to indicate that they are only for sdn use; however, this is not the
> optimal solution.
> 
> A better solution would be to move the containers currently under ikeless
> (for SA and Policy databases) under ipsec-common.
> 
> The feedback I received from the authors was that the SDN controllers
> didn't care about the actual SAs and policies when using IKE so they
> didn't want to require someone implementing ike+common modules to have to
> support them.
> 
> The YANG question I suppose is, is there an easy way to move these
> containers from ipsec-ikeless to ipsec-common, but still allow for them to
> be empty and/or unimplemented for the SDN IKE use case? If they were made
> features, is there a proper YANG way to indicate that if the ikeless
> module is present then those features must also be supported thus matching
> the functionality as defined by the current draft?
> 
> Thanks,
> Chris.
> 
> 
> 
> 
> On Aug 24, 2020, at 10:37 AM, Martin Björklund via Datatracker
> <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
> 
> 
> Reviewer: Martin Björklund
> Review result: Ready with Nits
> 
> I did an early YANG Doctor's review of this draft.  Most of my
> comments then have been addressed in this version.
> 
> Comments:
> 
> o  As I wrote in my early review, the RFC editor enforces a common
>  format of YANG modules, so it is better to adhere to this format
>  before sending the draft to the RFC editor.  Use
> 
>    pyang -f yang --yang-line-length 69 <FILE>
> 
>  to get a consistent look-and-feel for your module.
> 
>  (You will have to manually re-flow description statements after
>  this.)
> 
> 
> o  There are some leafs that are optional in the model, but w/o a
>  default value and w/o an explanation of what happens if that leaf
>  is not set.  You should find those and either make them mandatory,
>  add a default value, or explain what it means when it isn't set.
>  As an example,
>  /ipsec-ike/pad/pad-entrypeer-authenticatin/pre-shared/secret
>  is optional.  I suspect that this leaf needs to be mandatory.
>  Another example is the leaf espencap.
> 
> 
> /martin
> 
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
> https://www.ietf.org/mailman/listinfo/yang-doctors <https://www.ietf.org/mailman/listinfo/yang-doctors>
>  
>  
> -------------------------------------------------------
> Rafa Marin-Lopez, PhD
> Dept. Information and Communications Engineering (DIIC)
> Faculty of Computer Science-University of Murcia
> 30100 Murcia - Spain
> Telf: +34868888501 Fax: +34868884151 e-mail: rafa@um.es <mailto:rafa@um.es>
> -------------------------------------------------------
>  
>  
>  
>  
> _______________________________________________
> I2nsf mailing list
> I2nsf@ietf.org <mailto:I2nsf@ietf.org>
> https://www.ietf.org/mailman/listinfo/i2nsf <https://www.ietf.org/mailman/listinfo/i2nsf>
-------------------------------------------------------
Rafa Marin-Lopez, PhD
Dept. Information and Communications Engineering (DIIC)
Faculty of Computer Science-University of Murcia
30100 Murcia - Spain
Telf: +34868888501 Fax: +34868884151 e-mail: rafa@um.es
-------------------------------------------------------