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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 22 September 2020 11:56 UTC

Return-Path: <rwilton@cisco.com>
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 D981F3A1654; Tue, 22 Sep 2020 04:56:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.62
X-Spam-Level:
X-Spam-Status: No, score=-9.62 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=TYkOQ8u2; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=RV7i9K7z
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 VhfOuQ5zfKSp; Tue, 22 Sep 2020 04:56:36 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C09663A1653; Tue, 22 Sep 2020 04:56:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5724; q=dns/txt; s=iport; t=1600775795; x=1601985395; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LC3Iqwt02axlnvoeNescTpwMZ3/WOlea9tZ6zAuqzL8=; b=TYkOQ8u2iaG6BWBh/HR3gEDMIQKLIS1kVdhHthWZOjQ7Fymv8CqufRPQ EqsjRRiSXn8pJfTZwOCpmGy8LScR5KgD2kimJ2DsjmA1asiR1iETeiX9i DwyKiDYJPj5jUJac7uew7qiGR78N609wuG8BJdhm7Lzrxxpa8AyGtGpcF w=;
IronPort-PHdr: 9a23:m7JO2hKpz5sUu+/sm9mcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeGvKs/h1/ORZ3ArfVehLmev6PhXDkG5pCM+DAHfYdXXhAIwcMRg0Q7AcGDBEG6SZyibyEzEMlYElMw+Xa9PBteGMHmf0aUpWe9vnYeHxzlPl9zIeL4UofZk8Ww0bW0/JveKwVFjTawe/V8NhKz+A7QrcIRx4BlL/U8
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AvCAAv5Wlf/4ENJK1fHQEBAQEJARIBBQUBQIFPgVJRB3BZLywKhDCDRgONeph1glMDVQsBAQENAQEYCwoCBAEBhEsCF4IOAiQ4EwIDAQELAQEFAQEBAgEGBG2FXAyFcgEBAQEDAQEQEREMAQEsCwELBAIBCA4DBAEBAQICFQEBDwICAiULFQgIAgQBDQUIEweDBYJLAy4BAwuqCgKBOYhhdoEygwEBAQWFLhiCEAMGgQ4qgnGDaYJBhBEbgUE/gRFDgU9+PoJcAQGBYQUzIQSCODOCCyKTNaQACoJnlUqFJoMMiXmTfpJ+n3wCBAIEBQIOAQEFgWsjgVdwFTuCaVAXAg2OHwwXFIM6hRSFQnQ3AgYBCQEBAwl8jFIBgRABAQ
X-IronPort-AV: E=Sophos;i="5.77,290,1596499200"; d="scan'208";a="830316616"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Sep 2020 11:56:34 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 08MBuYak010523 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 22 Sep 2020 11:56:34 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Sep 2020 06:56:34 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Sep 2020 06:56:33 -0500
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 22 Sep 2020 06:56:33 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZbwOmkMHCchmqJWE1PbBf8B2hrZvjA3za6kYvBMKZksPaS6ccpZFHa5ikcZw9QLU5+Wg5HQrglm16oGDET/d7YFUb7TbqAuhX3vjes/zDuc1oo2w+lim28Y0DXGCiAE8rdec0jpPJ0dMki3bksQt/1LwCsLfKZhlTvweMzhjt/aMKiakHP+be8j9vFxeyarxSIgEtjVjzeiEUTZNqQJCf4sxophChlYTze+pcRjcaWq5/iq9fn8TGJwyvfDwcMGM3Z0LCWS5pOPu9CAQCYFDv/3M6352ibmZv16LPVNQXeqxytKSJWA9cpqbkBAAVKfxEyAuKt7OSMab0ITUDo26Lg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LC3Iqwt02axlnvoeNescTpwMZ3/WOlea9tZ6zAuqzL8=; b=nBw4ZkG1Stbz7ulNJFtWyVITs4cWaRCJRSP4KCJEzIZGwLn5o44e3fYn5Fk+ODyhXSIBb4PPz+WlFj+dt2IVbUTcdL08MFaMmR/WjuJHN545ZuwTedty1yW0E+oFfJAWmxuZN7ReUd8NcG41+xgBCOrGFwBG+VaP3qmkiTqkU+xBq1lnJlLyrySM3wwL0P5oZ3sqE2czyPSfvTl8qQ1cDUs1yLHHYspRjMGPKHhK8bN5B7JcIz7mRBQZMqLaQDmaoIiKsRU4Ttal29MBtnSWIR8i2pYAFt18Uc4uwF8rmM8dvprv7uySGkkcOtH03lVHYlMX8AzxlGhLkqpJHqeq6g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LC3Iqwt02axlnvoeNescTpwMZ3/WOlea9tZ6zAuqzL8=; b=RV7i9K7zDQe9CLBXtNhP10Sa+fb0QgMFgv51Ph9KzMjFa7CTeGtgFjwWcuUeR8O8Wgcp+aDUvRajEaD1MP4GmpbKdRVp4W7geZStovQEHBPQDlBSHSJwtJZBEESeLFu+HjRbpP9LRwUEFk4lhr1Ei8dqd2bIKtI6EVlFKyG1Ky4=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by MN2PR11MB4221.namprd11.prod.outlook.com (2603:10b6:208:18d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Tue, 22 Sep 2020 11:56:32 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::d84a:115:9ce0:8241]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::d84a:115:9ce0:8241%4]) with mapi id 15.20.3391.026; Tue, 22 Sep 2020 11:56:32 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Christian Hopps <chopps@chopps.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>
CC: "i2nsf@ietf.org" <i2nsf@ietf.org>, "ipsec@ietf.org" <ipsec@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, Martin Björklund <mbj+ietf@4668.se>
Thread-Topic: [yang-doctors] Yangdoctors last call review of draft-ietf-i2nsf-sdn-ipsec-flow-protection-08
Thread-Index: AQHWeiQ1OzamIxEUgUCW76UP8U3vNKlHffqAgC01gyA=
Date: Tue, 22 Sep 2020 11:56:32 +0000
Message-ID: <MN2PR11MB43668FA513A764EA0514790BB53B0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <159827985531.30993.17722282912726281276@ietfa.amsl.com> <D25A15B0-B714-407C-B119-F83B634099D4@chopps.org>
In-Reply-To: <D25A15B0-B714-407C-B119-F83B634099D4@chopps.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: chopps.org; dkim=none (message not signed) header.d=none;chopps.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [82.12.233.180]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e57dc6cc-58fc-413f-5727-08d85eee8c7e
x-ms-traffictypediagnostic: MN2PR11MB4221:
x-microsoft-antispam-prvs: <MN2PR11MB4221C97A0633207D29BFF52DB53B0@MN2PR11MB4221.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Gl5hjkGdkmLz6hywrNrBd44uVcP/c96x0GtEB8tF2HAtUisYHhCB59qkQJ4KgEmJNsS1UnMcKFF50NTnAbtUyAqQWbl521w6bsuIF+rd2mXE7K78Smq+focxuhuR/fQVtcxFXBLwdmlQsCxMZd0bZS0l0bK83Yst4ztjdHSVuZwicIQIVG+OU4tL4OWdfxJYfj0S0x0evwulmnswyTLtgI6vbIH9lg7Fu0AF1nvcl0HuejFWhGZEOQXB1QF5vCoTFoPWExRZ8wsEOet/bD4Ta8Iw0igAUYLzcIFdcYMq3It/ni3guwlf0+j4oldgQJYiyHuuEpzvAu5T3Kq5ikz68dJLCa6tymV9maWuHJb/Y5jLs8172z1chYgMpsFq00VDfOEXie6TEstpYDAISf+7pA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(136003)(39860400002)(396003)(376002)(346002)(86362001)(7696005)(53546011)(8936002)(76116006)(6506007)(33656002)(66574015)(5660300002)(478600001)(2906002)(83380400001)(110136005)(54906003)(26005)(8676002)(4326008)(66446008)(9686003)(52536014)(316002)(186003)(966005)(71200400001)(66946007)(66476007)(55016002)(64756008)(66556008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: j5XD2EqYV+nMzgN7E20LrXu/1Tban0sZf+M1X8h/9WRsC3EpGpqwik4WJynbpdR9YThjmRu4yuQJn1e9JFAdDWJebKh3E6o/nmk0F1kYRKnfwU0NNQxjPrGA8i+9ya3qaUjUd8IFdOp9hrcjvaoBHbmJhuiPVv0zo+70RnKorDJU0GaQvu+VIzaZJxYqblOKeJgfN5mo3cUToMC9qoYD4vGAytAO45AlPWhi0SkzeZX4Loz1hsOdsHsjhQvVC5oWe41Tmm4zbK7OkEZw1Aq0PqZH4wbxb367VRl28zPhCNrWDZsfbGYFSnaUD73HmQJ2JQ46i8uUCnB4qyM9bGN9LfEdJ640rbdUkuNHJ9mSg0DTmWEpipO2zKXsZv8a6kOBZsMrGzp3MxjkJtpcln0Lpcd6AeYTLak0yv50d/iFuvMta7lzcZKWmr9/QsZ4Lu9KVEI58JhKYFZbE6YmGCzHjsQZ4a5kMaZBpcOWkwIj9nCh9OZhFhtdah3h6EnGbWeI+oCY0tjmwwkyv3U+YChmU4MSreBMploP7SEhtkjCgaD8pBDiPtVEtgVyzXx7NIsWaXZ2Sqt0bJw1tnbgjfCE3xzz9lHEsJPuXR3s70hp5XcXoPVOOaB7vqb5vdJnaUiWwPKozPGT8auZnNLeeAhhiA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4366.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e57dc6cc-58fc-413f-5727-08d85eee8c7e
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2020 11:56:32.2274 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Jsaz9IxpvPAtQusd0hU9AB9scCFQwhsRw9OWF19SxI5e30Ync6vAmqGaiBq585CAWcUwYxr3H/1eDi05QsJlMA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4221
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/cwz4q8YZRtFjYSf7UNkRoHh-hoI>
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: Tue, 22 Sep 2020 11:56:38 -0000

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> On Behalf Of Christian
> Hopps
> Sent: 24 August 2020 18:08
> To: Martin Björklund <mbj+ietf@4668.se>
> Cc: i2nsf@ietf.org; draft-ietf-i2nsf-sdn-ipsec-flow-
> protection.all@ietf.org; ipsec@ietf.org; last-call@ietf.org; yang-
> 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> 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
> > https://www.ietf.org/mailman/listinfo/yang-doctors