Re: [L3sm] RFC 8049 on YANG Data Model for L3VPN Service Delivery

Benoit Claise <bclaise@cisco.com> Thu, 09 March 2017 09:09 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: l3sm@ietfa.amsl.com
Delivered-To: l3sm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0F2E129438 for <l3sm@ietfa.amsl.com>; Thu, 9 Mar 2017 01:09:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, 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
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 lne9WDwvpciN for <l3sm@ietfa.amsl.com>; Thu, 9 Mar 2017 01:09:48 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A09951293EE for <l3sm@ietf.org>; Thu, 9 Mar 2017 01:09:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5737; q=dns/txt; s=iport; t=1489050587; x=1490260187; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=a2D9iNWkuJrQhpmpozI/8Eo7S/HR+LHiqeUfQ/+k+zU=; b=WvB3pduRwI4G5QkfBYZMrkICH01U77aVPiMkj5j/J75/n03DfSL9Ew5d cWoimX8Q7ZsMg94f2inhQpb2+JFTae5Y+qSEx6oe0UAjCiz4hTket2zdg dWrFgl2kVlvzOenVXA/g9ianyXzFzLXDs0THitEGhuLMDbR8UZZuMMhEg 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CqAQARG8FY/xbLJq1dGQEBAQEBAQEBAQEBBwEBAQEBhDIqYI1sc5A7H5U4gg0fC4V4AoMIGAECAQEBAQEBAWsohRUBAQEBAwEBNhYgCwwECxEDAQEBAQwbBycKFQkIBgEMBgIBARAHAgSJRgMVDrIrim0BAQEBAQEBAQEBAQEBAQEBAQEBAQEdhk6CBQiBWYEJgTyBFYFfBYYEBZw2hnaDIgyIFIF7U4RQgzGGUYhEgm+ICx84gQMiFQgXFRgnhFkIEIFkPzWHVg8XghcBAQE
X-IronPort-AV: E=Sophos;i="5.36,268,1486425600"; d="scan'208";a="653132394"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2017 09:09:42 +0000
Received: from [10.60.67.87] (ams-bclaise-8916.cisco.com [10.60.67.87]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v2999f2j024299; Thu, 9 Mar 2017 09:09:42 GMT
To: Jan Lindblad <janl@tail-f.com>, adrian@olddog.co.uk
References: <066b01d28dbd$d30e22a0$792a67e0$@olddog.co.uk> <D6747A53-4855-43CF-97DA-46B5C7F4A551@tail-f.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <af3c4ff8-41e3-3077-e3af-636fc631738a@cisco.com>
Date: Thu, 09 Mar 2017 10:09:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <D6747A53-4855-43CF-97DA-46B5C7F4A551@tail-f.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/l3sm/4lCG9mih1p05v5tjokxvV59NXzQ>
Cc: l3sm@ietf.org
Subject: Re: [L3sm] RFC 8049 on YANG Data Model for L3VPN Service Delivery
X-BeenThere: l3sm@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: L3VPN Service YANG Model discussion group <l3sm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l3sm>, <mailto:l3sm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/l3sm/>
List-Post: <mailto:l3sm@ietf.org>
List-Help: <mailto:l3sm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l3sm>, <mailto:l3sm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Mar 2017 09:09:51 -0000

Dear all,

It seems like Jan discovered a bug.
Can the authors confirm?

Regards, Benoit
> A great achievement that I have long awaited, for sure!
>
> I have some concerns with the resulting model, however, and I now (obviously) regret not looking at this earlier and taking part in the review process.
>
> At ietf-l3vpn-svc.yang:2053 I find:
>
> grouping site-devices {
>    container devices {
>     must "/l3vpn-svc/sites/site/management/type = "+
>      "'provider-managed' or "+
>      "/l3vpn-svc/sites/site/management/type = "+
>      "'co-managed'" {
>       description
>        "Applicable only for provider-managed or co-managed device.";
>      }
>
> To me, it appears that the author intended to say that the "container device" configuration is only applicable when the current site management type is 'provider-managed' or 'co-managed'. That would make sense.
>
> The use of "must" and the use of the absolute paths above changes the meaning in YANG to "as soon as any l3vpn is configured, there must be at least one l3vpn (not necessarily the current one) that is 'provider-managed' or 'co-managed'." One implication would be that it would not be legal to have a collection of only 'customer-managed' vpns. What would be legal, though, is to have one 'provider-managed' l3vpn with no device configuration and another 'customer-managed' with devices configured. I expect this was not the intention.
>
> This was something I noticed after spending a few minutes reading the model. Perhaps a YANG doctor review would be appropriate?
>
> Best Regards,
> /jan
>
>
>
>> On 23 Feb 2017, at 11:15, Adrian Farrel <adrian@olddog.co.uk> wrote:
>>
>> Thanks to all of you for helping to complete this work.
>> Special thanks (of course) to the authors and contributors.
>> And massive thanks to Stephane who was relentless in making the minor edits for
>> the many different phases of "final" review.
>>
>> Adrian
>>
>>> -----Original Message-----
>>> From: L3sm [mailto:l3sm-bounces@ietf.org] On Behalf Of rfc-editor@rfc-
>>> editor.org
>>> Sent: 23 February 2017 00:26
>>> To: ietf-announce@ietf.org; rfc-dist@rfc-editor.org
>>> Cc: l3sm@ietf.org; drafts-update-ref@iana.org; rfc-editor@rfc-editor.org
>>> Subject: [L3sm] RFC 8049 on YANG Data Model for L3VPN Service Delivery
>>>
>>> A new Request for Comments is now available in online RFC libraries.
>>>
>>>
>>>         RFC 8049
>>>
>>>         Title:      YANG Data Model for L3VPN
>>>                     Service Delivery
>>>         Author:     S. Litkowski, L. Tomotaki, K. Ogaki
>>>         Status:     Standards Track
>>>         Stream:     IETF
>>>         Date:       February 2017
>>>         Mailbox:    stephane.litkowski@orange.com,
>>>                     luis.tomotaki@verizon.com,
>>>                     ke-oogaki@kddi.com
>>>         Pages:      157
>>>         Characters: 272974
>>>         Updates/Obsoletes/SeeAlso:   None
>>>
>>>         I-D Tag:    draft-ietf-l3sm-l3vpn-service-model-19.txt
>>>
>>>         URL:        https://www.rfc-editor.org/info/rfc8049
>>>
>>>         DOI:        10.17487/RFC8049
>>>
>>> This document defines a YANG data model that can be used for
>>> communication between customers and network operators and to deliver
>>> a Layer 3 provider-provisioned VPN service.  This document is limited
>>> to BGP PE-based VPNs as described in RFCs 4026, 4110, and 4364.  This
>>> model is intended to be instantiated at the management system to
>>> deliver the overall service.  It is not a configuration model to be
>>> used directly on network elements.  This model provides an abstracted
>>> view of the Layer 3 IP VPN service configuration components.  It will
>>> be up to the management system to take this model as input and use
>>> specific configuration models to configure the different network
>>> elements to deliver the service.  How the configuration of network
>>> elements is done is out of scope for this document.
>>>
>>> This document is a product of the L3VPN Service Model Working Group of the
>>> IETF.
>>>
>>> This is now a Proposed Standard.
>>>
>>> STANDARDS TRACK: This document specifies an Internet Standards Track
>>> protocol for the Internet community, and requests discussion and suggestions
>>> for improvements.  Please refer to the current edition of the Official
>>> Internet Protocol Standards (https://www.rfc-editor.org/standards) for the
>>> standardization state and status of this protocol.  Distribution of this
>>> memo is unlimited.
>>>
>>> This announcement is sent to the IETF-Announce and rfc-dist lists.
>>> To subscribe or unsubscribe, see
>>>   https://www.ietf.org/mailman/listinfo/ietf-announce
>>>   https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist
>>>
>>> For searching the RFC series, see https://www.rfc-editor.org/search
>>> For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk
>>>
>>> Requests for special distribution should be addressed to either the
>>> author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
>>> specifically noted otherwise on the RFC itself, all RFCs are for
>>> unlimited distribution.
>>>
>>>
>>> The RFC Editor Team
>>> Association Management Solutions, LLC
>>>
>>>
>>> _______________________________________________
>>> L3sm mailing list
>>> L3sm@ietf.org
>>> https://www.ietf.org/mailman/listinfo/l3sm
>> _______________________________________________
>> L3sm mailing list
>> L3sm@ietf.org
>> https://www.ietf.org/mailman/listinfo/l3sm
>>
> _______________________________________________
> L3sm mailing list
> L3sm@ietf.org
> https://www.ietf.org/mailman/listinfo/l3sm
> .
>