Re: [OPSAWG] Implementation report: ietf-l3vpn-ntw.yang Service Model

tom petch <ietfc@btconnect.com> Mon, 11 May 2020 09:41 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D2073A0964 for <opsawg@ietfa.amsl.com>; Mon, 11 May 2020 02:41:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 WdFHolFgPmdF for <opsawg@ietfa.amsl.com>; Mon, 11 May 2020 02:41:39 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70133.outbound.protection.outlook.com [40.107.7.133]) (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 C44743A0898 for <OPSAWG@ietf.org>; Mon, 11 May 2020 02:41:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XG+uf9EoiktW6sT0z6QTkqDN1W2/xCo8ptN6oZvlhJWCe0KbRIOmH3xBgLCZr4DsPpOnOfIE8qKufyNqyCn0h2jNq8z2UFHT/t3BVCEPFGfBq0DHvmKbOc15be5rX7Z8BqOlNnSe3bOMyd6FUUnDm14wZ0H7BBXaG9IDvsgXCh3NKTQ86jmoAK8CMJbLOouTmpv4tOV7NM1OqoZN2A6B9H2B6lWcmswgyC6PctgF5BjfYUzTqLQnPCVCebFpDl+XeiDi4wXLsa5VUt3pAPmo6Vybs5aFjBwcV0R/L3oVMLgegf3kCWl7kv9M0PYE2MeLtxD9pJNE7MhPG421yeO3DQ==
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=XyiK5Sw5lzN3d0SG3GLMy8Kr11J0bhRrQA1F9u1BOhU=; b=kqa9jaJUbxrz4Dn3XtVuIO5L2LMwF7AoRWHVoZoLpkgXe/NPRBngzWReb8QeaEngPAlv4KWPmhhdXTqOSFSkUaibzaPoclnM8UzlYVqZmc/4jrPwFieg2WlYMZ5bycEz7qIIthDexfmHAj0XKH0ek2mlbstTODLg2JjBJ21kJONqRVjB0lvp+X/ztgXSiysvEXLq3sEMKKZEcDVI/ILsCZyGzWDdcpBQRD1M8uZmrYSF3nU7zG3D4FzsKfMbqOG0YlHfjKW25ohiIXE42/094WIRmLz9l4qrjfSQQjqEx8hjvlYJsOi9VKhfBlPYg50l8V2ib05e9g24f2bU6amfOw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XyiK5Sw5lzN3d0SG3GLMy8Kr11J0bhRrQA1F9u1BOhU=; b=OMlKYMKK3q4gHvuLxty4rKahiddd9Ee4vQp+kLlXSbpl9jtBef5Ltb7Wt2+r+uvf0541DgVhG8CxTBIeVcic6gZdKsoDIB0y18le1dQZsNU3vT02OLE64HJdVsW4wdvEdwXIjS8Dhx/vSxc0KdnqYU9RruRixgZBmS03l7BNXzQ=
Received: from DB7PR07MB4522.eurprd07.prod.outlook.com (2603:10a6:5:34::23) by DB7PR07MB6172.eurprd07.prod.outlook.com (2603:10a6:10:69::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.15; Mon, 11 May 2020 09:41:36 +0000
Received: from DB7PR07MB4522.eurprd07.prod.outlook.com ([fe80::9c74:501c:13ea:bdae]) by DB7PR07MB4522.eurprd07.prod.outlook.com ([fe80::9c74:501c:13ea:bdae%4]) with mapi id 15.20.3000.016; Mon, 11 May 2020 09:41:36 +0000
From: tom petch <ietfc@btconnect.com>
To: "Roque Gagliano (rogaglia)" <rogaglia=40cisco.com@dmarc.ietf.org>, "OPSAWG@ietf.org" <OPSAWG@ietf.org>
Thread-Topic: Implementation report: ietf-l3vpn-ntw.yang Service Model
Thread-Index: AQHWJhO6MnE0fh9K50iakqX2k568EqiinKS4
Date: Mon, 11 May 2020 09:41:36 +0000
Message-ID: <DB7PR07MB45225A20C75B188FB781216AA0A10@DB7PR07MB4522.eurprd07.prod.outlook.com>
References: <93DB724E-C5A5-45A8-8D69-C6ACA1D34805@cisco.com>
In-Reply-To: <93DB724E-C5A5-45A8-8D69-C6ACA1D34805@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [81.131.229.19]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a6c56976-a8e0-40d2-57a6-08d7f58f7f5c
x-ms-traffictypediagnostic: DB7PR07MB6172:
x-microsoft-antispam-prvs: <DB7PR07MB6172E82A5DA0D3B876C46025A0A10@DB7PR07MB6172.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 04004D94E2
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: FR/7Itn46ld5p5xQCaSzEGrPfhOkA+w5G3qheZNRZK8YxQKKL+Q9sXUB7iV8tljPoyMKIMZoK2C8u/DSlStPaZ0ZMGPXEfMQlc7w71PJZmlnzBLFdDv3rIgyLcEhvFcU3582ycYIpVY+wiYIuJVD+nWqrGEY8KjMGd+5mPl9YJDAJ5IGlLeAbwkMFcV6wQ2lbnK8ZrlDDSUItmq9PZ6bxGGHcy4IfgEMqeKJGQrYSm/QcXeu55KWASnuwqAQjY6i7XcCbvcYG/xziBew9+vrRjs4j84PklxfEL28khGCjS731nPoK8eiN1u+D9V4h9q+2Kbg920epFiyAdHW8P/H62GMgmnGrkiHktZroXTLp56Q8PRltenuuhzt8WXUENKr1C6k4vWIE15DovkjcTJWSzwOqOElqLtdrhhaxCySg5H5STSgDNG8zaO/xPcf45wxepIa1iTndilMU+GlmRhMGRSXPhmKnyW1PoOIgnJ5sUWn3aD/R8nygMLXD7DCW7oXTv79Y4ARF4/B3cxPik5+9OVldnOVC8uQSIks5s8TR9+hO6jOtYjChE1GNcUgAxeNTr5EmH3BCAKX1ilyy+Uk+729+cccEZkWEhrV+L+9oEE=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB4522.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(396003)(366004)(376002)(39860400002)(346002)(136003)(33430700001)(110136005)(966005)(8936002)(8676002)(5660300002)(316002)(52536014)(9686003)(478600001)(86362001)(7696005)(55016002)(2906002)(6506007)(66446008)(66946007)(76116006)(91956017)(66476007)(64756008)(66556008)(71200400001)(33440700001)(33656002)(26005)(186003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: U/QJawIUz2XDNeG5oo3kKUCA8m9k5A6w6YWKDfT2jJ8Ici+QKIvHiNnrJ/Fjr8m+gE2NXHpgyScEjiwMC8o+cvNh8mrD9bbo4+9Cl80tVzmCP+TC3yXv2a64NMTZjg32rr3HgMarD4rprEe7pNHnnNZNpBhhHM9+FEPXb9/YzAXXF8ltuN5jegrNHk5S9rKWaOLY84V5atXHaGKfvebzKjFui7Qdl2YXcbwq3GwU7+fys1X0jUu+4qT3PNsDqpgdopgKXYBC59nygGYfEQOGxBEJpO5i3kE9T/zN+6gta7ad1Al92X22BsWMC9hBE9H/nZ6ejqaYbobkP/FAOlN05m6KWQiDQSG2Dotq/vHTKtbPSzAyv2q9nozpyQ/2aZSUAFz0Y1gNyeXhbuh/BKgX7dcRpHpgUO43VfF360mOzFmh/RKnJ4ql45Ok5BPjY5IhWYz5usRY1wJuYi9rSXMQ0OQpiq6RZKYCsdTjc7+BZ8s=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a6c56976-a8e0-40d2-57a6-08d7f58f7f5c
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 09:41:36.1311 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Rr61CN6ZHPOschWIDxRorZo/DYgsDfRrFBV0MmAFOOWsPXSQkpqtPhFA9eTLIujNmJ9wfp9kHYd+2Q7pcKZqWA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB6172
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/d6G1N3HghfNDt7rSTTjOgu2FqMk>
Subject: Re: [OPSAWG] Implementation report: ietf-l3vpn-ntw.yang Service Model
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 May 2020 09:41:42 -0000

From: OPSAWG <opsawg-bounces@ietf.org> on behalf of Roque Gagliano (rogaglia) <rogaglia=40cisco.com@dmarc.ietf.org>
Sent: 09 May 2020 16:08

Hello,

I implemented the “draft-ietf-opsawg-l3sm-l3nm-03” (Revision 2020-04-03) on Cisco NSO and Cisco Crosswork Network Controller. I am happy to fill any forms (sorry but new to the WG).

The good news is that I did not find any syntax problem and was able to compile and implement the full model.

I do have two on this new version for the WG:

1) Major: Why importing the "ietf-l3vpn-svc" module?

I think this is a major problem as it violates the architecture in Section 4 and the note in section 5 that states: "Note that the use of L3NM within a Service Provider does assume nor preclude exposing the VPN service via L3SM.".

If there is no dependencies with L3SM, we should not force the network controller to support it, neither its libraries. I noted that the SVC data model is mainly important to have a common library of types, identities and features. However, the correct implementation would be a separate YANG module for these libraries that both L3SM and L3NM import from.

<tp>
Well there are dependencies as you state, that a raft of feature and identity are referenced from the imported module; earlier versions of l3sm-l3nm did not do this.  It is typical  of the way the IETF works, of the nature of Working Groups,  that a better arrangement of the work is not considered until too late.  It is absurd, really, that a L3SM finds itself defining a list of topologies, a list of routing protocols and so on.  RFC8299 did not AFAIK come out of a Working Group; I knew of the I-D, draft-wu-... waited for a WG to adopt it and then the RFC just appeared; too late to change it.  To me it is dead obvious that it should not be a single monolithic module, it should have been divided up.  But even within a WG it is a struggle to get defined a set of building blocks which other work can build on, as has happened in a number of WG.  The definition of YANG types in CCAMP and TEAS comes to mind.

So, is it worth creating such building blocks in this case?  Trouble is, they cut across WG, there is no obvious home for them, nowhere to come to agreement on what they should be

Tom Petch

All in all, importing the SVC module breaks the separation between the two layers. If we would like to re-use types, identities, features definitions, a separate module for them should be defined.

2) Minor: RD Semantic:
        The document proposes:

            leaf rd {
                 type union {
                        type rt-types:route-distinguisher;
                        type empty;
                }
        }

        Leafs have an implicit empty state (unless you use the default statement) but the authors are trying to give a specific meaning to the empty state by using a union statement. I believe a much natural representation would be:

                    leaf rd {
                         type rt-types:route-distinguisher;
                         }

                 leaf auto-assign-rd {
                        when "not(../rd)";
                        type boolean;
                         }

Regards,
Roque
_______________________________________________
OPSAWG mailing list
OPSAWG@ietf.org
https://www.ietf.org/mailman/listinfo/opsawg