Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-02.txt

"Jan Lindblad (jlindbla)" <jlindbla@cisco.com> Fri, 25 August 2017 11:17 UTC

Return-Path: <jlindbla@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 41228132713 for <l3sm@ietfa.amsl.com>; Fri, 25 Aug 2017 04:17:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.519
X-Spam-Level:
X-Spam-Status: No, score=-14.519 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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
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 ymunhu7BTv2q for <l3sm@ietfa.amsl.com>; Fri, 25 Aug 2017 04:17:41 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C733132B9F for <l3sm@ietf.org>; Fri, 25 Aug 2017 04:17:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=30786; q=dns/txt; s=iport; t=1503659859; x=1504869459; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=YOhLS5Pnzsi/1OKfzMDcx+TGGr0QMNZZNIdXOCpzwx4=; b=bwp2PKG0jQtSRyGfO1vtgpNFcLnlQ9B4+sYBfIoS05v+vLK/J2nPuxDM lRNdU5WkKLcBZouc2fbyX4p4LfWaa042nXC98j7S3Ty+1lhS2vNQ/liRx n9fSFag6tlTnTgqJOQD0g/pHFgQRxDiqnw7mitAaeKGKVgA4H34Hy+k/X c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DWAABDBqBZ/5RdJa1cGQEBAQEBAQEBAQEBBwEBAQEBgm9rZIECEweODZAYgU4iliWCEiyFGwIag0Y/GAECAQEBAQEBAWsohRgBAQEBAyNIDAIMBAIBBgIRBAEBIQcDAgICMBQJCAIEDgWJTWQQj3OdZoIni2ABAQEBAQEBAQEBAQEBAQEBAQEBAQEYBYMqggKBTYFiLAuCcYRVAQE1D4JtMIIxBZgniDcClESSZpY2AR84gQ13FUkSAYUFBReBZ3YBh1qBI4EPAQEB
X-IronPort-AV: E=Sophos;i="5.41,425,1498521600"; d="scan'208,217";a="476747310"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Aug 2017 11:17:38 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id v7PBHcod030381 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 25 Aug 2017 11:17:38 GMT
Received: from xch-aln-004.cisco.com (173.36.7.14) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 25 Aug 2017 06:17:37 -0500
Received: from xch-aln-004.cisco.com ([173.36.7.14]) by XCH-ALN-004.cisco.com ([173.36.7.14]) with mapi id 15.00.1210.000; Fri, 25 Aug 2017 06:17:37 -0500
From: "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>
To: "David Ball -X (daviball - ENSOFT LIMITED at Cisco)" <daviball@cisco.com>
CC: Qin Wu <bill.wu@huawei.com>, "Ogaki, Kenichi" <ke-oogaki@kddi.com>, "l3sm@ietf.org" <l3sm@ietf.org>, Stephane Litkowski <stephane.litkowski@orange.com>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>
Thread-Topic: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-02.txt
Thread-Index: AQHTHZHYOQmR2vEHAkiEx8sT+MgYk6KVQB8A
Date: Fri, 25 Aug 2017 11:17:37 +0000
Message-ID: <42D2478F-5F73-4539-B25B-128AEB6864DF@cisco.com>
References: <B8F9A780D330094D99AF023C5877DABA9AA5D7A2@nkgeml513-mbx.china.huawei.com> <c76328ad-b71e-b2a3-92a4-b02beac2be7d@cisco.com> <B8F9A780D330094D99AF023C5877DABA9AABA8A4@nkgeml513-mbx.china.huawei.com> <00f001d31b2f$541e6f90$fc5b4eb0$@kddi.com> <7e9655f5-3ae8-11a1-6904-2ab75eb0b1a2@cisco.com> <B8F9A780D330094D99AF023C5877DABA9AACC84F@nkgeml513-mbx.china.huawei.com> <10a6c195-8959-2d51-ae14-3d93d89f973b@cisco.com>
In-Reply-To: <10a6c195-8959-2d51-ae14-3d93d89f973b@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.147.40.88]
Content-Type: multipart/alternative; boundary="_000_42D2478F5F734539B25B128AEB6864DFciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/l3sm/nawsrYHhCpJrnMZ9EEDcXy3ucxE>
Subject: Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-02.txt
X-BeenThere: l3sm@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 25 Aug 2017 11:17:44 -0000

Looking back at Jan's comments, I think his point was not that the leaves should all be mandatory, but that they should either be mandatory, or they should have descriptions that explain the meaning if they are not present.  So I think we are basically in agreement (I said: "Also this use case needs to be mentioned in the description for those leaves.") - but I've copied Jan in case I have mis-interpretted what he said.

That is exactly right. For a standard to be useful/interoperable, the system behavior needs to be predictable. Undefined behavior needs to become defined or outlawed. I don't have any particular sentiment about what is the right behavior, you are the experts there. From a YANG perspective, too many mandatory leaves might make a model a little clumsy+rigid.

/jan


I disagree that the connection subnet is always requested by the customer - a very common scenario where this is not the case is for residential internet access.  In that case, the addresses used behind the CE are typically from private address space, so the customer can be confident that they won't conflict with whatever the provider has chosen to use (and allocate with DHCP) on the PE/CE link.  Another common case is where it is a provider-managed CE, so the connection addressing applies to the downstream link from the CE to the customer, not to the PE/CE link.  In this case the customer may not have any of their own subnets (i.e. everything is directly connected (at L3) to the CE), so there is no chance of a conflict.

Thanks,


    David


On 24/08/2017 12:11, Qin Wu wrote:
-----邮件原件-----
发件人: David Ball [mailto:daviball@cisco.com]
发送时间: 2017年8月23日 19:48
收件人: Ogaki, Kenichi; Qin Wu; l3sm@ietf.org<mailto:l3sm@ietf.org>
抄送: 'Stephane Litkowski'; adrian@olddog.co.uk<mailto:adrian@olddog.co.uk>
主题: Re: [L3sm] New Version Notification for draft-wu-l3sm-rfc8049bis-02.txt

On 22/08/2017 11:13, Ogaki, Kenichi wrote:

Hi Qin,

      2. For the connection addresses, the provider's IP address/mask:
As for dhcp related provider-addresses and the masks, these are not what SP provides, but the subnet which the customer requests to specify the leased address subnet. Then, these must be configurable.
So you're saying even when DHCP is used, the customer can request that addresses will be allocated from a specific subnet?  That's not something I've heard of, but ok. :)  These leaves should definitely be optional in that case, as the more normal case is that the customer does not request a specific subnet.  Also this use case needs to be mentioned in the description for those leaves.

[Qin]: Early on in the YANG Doctor review from Jan, one suggestion was to make provider-address and customer-address mandatory parameter.
https://www.ietf.org/mail-archive/web/l3sm/current/msg00677.html
We think his point is valid and have implemented his comment.
Talking with L3SM design team members recently, it has been agreed that all these parameters (irrespective of DHCP case or static case )are basically specified/requested by a customer.
Otherwise, address conflict occurs between provider-allocated subnets (PE-CE links) and customer-allocated subnets (under CE).
So for consistency, I think we should make all these parameters as mandatory parameters.

     David

Thanks,
Kenichi

-----Original Message-----
From: L3sm [mailto:l3sm-bounces@ietf.org] On Behalf Of Qin Wu
Sent: Monday, August 21, 2017 5:39 PM
To: David Ball; l3sm@ietf.org
Cc: Stephane Litkowski; Kenichi Ogaki; adrian@olddog.co.uk
Subject: Re: [L3sm] New Version Notification for
draft-wu-l3sm-rfc8049bis-02.txt

11. In accordance with the clarified scope, parts of the model that correspond
       with information provided by the SP need to be marked with "config false".
       I've identified the following, but there might be more.
      1. The list of profiles of various types (i.e. l3vpn-service/vpn-profiles)
      2. For the connection addresses, the provider's IP address/mask:
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/provider-dhcp/provider-address
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/provider-dhcp/mask
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/dhcp-relay/provider-address
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/dhcp-relay/mask
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/addresses/provider-address
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv4/addresses/mask
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv6/provider-dhcp/provider-address
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv6/provider-dhcp/mask
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv6/dhcp-relay/provider-address
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv6/dhcp-relay/mask
     • l3vpn-service/sites/site/site-network-accesses/site-network-access/ip-connection/ipv6/addresses/provider-address
     •
l3vpn-service/sites/site/site-network-accesses/site-network-access/ip
-connection/ipv6/addresses/mask

That sounds reasonable.

[Qin]: One more comment, we can not put ‘config false’ for
l3vpn-service/vpn-profiles, since Config true leafrefs MUST NOT refer
to config false data

This issue was discussed before, see discussion available at:

https://www.ietf.org/mail-archive/web/l3sm/current/msg00683.html



--
David Ball
<daviball@cisco.com>


--
David Ball
<daviball@cisco.com<mailto:daviball@cisco.com>>