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

David Ball <daviball@cisco.com> Thu, 24 August 2017 10:30 UTC

Return-Path: <daviball@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 4692A1321A1 for <l3sm@ietfa.amsl.com>; Thu, 24 Aug 2017 03:30:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.49
X-Spam-Level:
X-Spam-Status: No, score=-14.49 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, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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 wIMfQxJe82VB for <l3sm@ietfa.amsl.com>; Thu, 24 Aug 2017 03:30:46 -0700 (PDT)
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 7AC24132742 for <l3sm@ietf.org>; Thu, 24 Aug 2017 03:30:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=46489; q=dns/txt; s=iport; t=1503570645; x=1504780245; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=ZaNuixVZIMrMaKHfJfpqpKqodUgtR8S63xRap3KoyG0=; b=mf08HD71sG4ozKIhrFa4FiJnaKjNORrmXezRESCo/tcoEEQvEBnyaOrV NAw7SqXSOXFfU0XovEPE2GmMRh4ajAAQAZhBeYLyEdMOiUkc0wrZns8Dm Nhp4+GglkzPIX11llkMKjtCt/HVFB6uWEgjuQlPVKXlok2N9ygYf7AWx8 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DeAQBRqp5Z/xbLJq1dGQEBAQEBAQEBAQEBBwEBAQEBgm+CZIN3ixGREpg3hUcChQwUAQIBAQEBAQEBayiFGQECAyMKSgIQCQIOCiABBgMCAkYRBgEMBgIBAYotkD+dZoInJ4s4AQEBAQEBAQEBAQEBAQEBAQEBAQEBHYMqg06CDoJ8hSmCXYJhBaBZlEWLTocWjUCIcDYhgQoyIQgcFUmFFwUXgWg/NocAAQEB
X-IronPort-AV: E=Sophos;i="5.41,421,1498521600"; d="scan'208,217";a="657002775"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Aug 2017 10:30:40 +0000
Received: from [10.63.23.84] (dhcp-ensft1-uk-vla370-10-63-23-84.cisco.com [10.63.23.84]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v7OAUedF006734; Thu, 24 Aug 2017 10:30:40 GMT
To: Qin Wu <bill.wu@huawei.com>, "l3sm@ietf.org" <l3sm@ietf.org>
Cc: Stephane Litkowski <stephane.litkowski@orange.com>, Kenichi Ogaki <ke-oogaki@kddi.com>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>
References: <B8F9A780D330094D99AF023C5877DABA9AA5D7A2@nkgeml513-mbx.china.huawei.com> <c76328ad-b71e-b2a3-92a4-b02beac2be7d@cisco.com> <B8F9A780D330094D99AF023C5877DABA9AABA8A4@nkgeml513-mbx.china.huawei.com> <1823e4d3-c6ff-f3ca-d140-74fc5edba188@cisco.com> <B8F9A780D330094D99AF023C5877DABA9AACC2FE@nkgeml513-mbx.china.huawei.com> <57523131-0016-069a-8663-63c3be1fac81@cisco.com> <B8F9A780D330094D99AF023C5877DABA9AACC7B0@nkgeml513-mbx.china.huawei.com>
From: David Ball <daviball@cisco.com>
Message-ID: <aca381d3-9dfa-bdf0-fac0-1be4e0ad6ce6@cisco.com>
Date: Thu, 24 Aug 2017 11:30:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA9AACC7B0@nkgeml513-mbx.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------DDB9CCB3351755A24746E2F9"
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/l3sm/3CIa1O0VYWMcaAdbVSZs3E6AeZY>
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: Thu, 24 Aug 2017 10:30:48 -0000


On 24/08/2017 11:11, Qin Wu wrote:
>
> *发件人:*David Ball [mailto:daviball@cisco.com]
> *发送时间:*2017年8月24日17:32
> *收件人:*Qin Wu; l3sm@ietf.org
> *抄送:*Stephane Litkowski; Kenichi Ogaki; adrian@olddog.co.uk
> *主题:*Re: [L3sm] New Version Notification for 
> draft-wu-l3sm-rfc8049bis-02.txt
>
> On 24/08/2017 01:50, Qin Wu wrote:
>
> [Qin]: Okay, the propose change will look like this:
>
> “
>
> import ietf-netconf-acm {
>
>   prefix nacm;
>
> }
>
> ……
>
> grouping vpn-profile-cfg {
>
>   container valid-provider-identifiers {
>
>    list cloud-identifier {
>
>     if-feature cloud-access;
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of cloud service.
>
>        Local administration meaning.";
>
>     }
>
> nacm:default-deny-write;
>
>     description
>
>     "List for Cloud Identifiers.";
>
>   }
>
>    list encryption-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the SP encryption profile
>
>        to be used. Local administration meaning.";
>
>     }
>
>  nacm:default-deny-write;
>
>     description
>
>     "List for encryption profile identifiers.";
>
>    }
>
>    list qos-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the QoS Profile to be used.
>
>        Local administration meaning.";
>
>    }
>
> nacm:default-deny-write;
>
>     description
>
>     "List for QoS Profile Identifiers.";
>
>    }
>
>    list bfd-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the SP BFD Profile to be used.
>
>        Local administration meaning.";
>
>     }
>
> nacm:default-deny-write;
>
>     description
>
>     "List for BFD profile Identifiers.";
>
>    }
>
>      description
>
>     "Container for Valid Provider Identifies.";
>
>   }
>
>    description
>
>    "Grouping for VPN Profile configuration.";
>
> }
>
> ”
>
> This will get in line with Jan’s proposal as well.
>
>
> If my understanding of RFC 6536 is correct, you need to put it on the 
> leaves as well as the lists (it doesn't cascade down the tree like 
> most other yang constructs).
>
> [Qin]: ahha, I find a example on how to use 
> “nacm:default-deny-write;”, see example in RFC7317,
>
> So we only need to put it on container level, the change will be like 
> this:
>

[DB] Like I said, my reading of RFC6536 is that it doesn't cascade down 
the tree, so it needs to be put on every node.  Just putting it on the 
container would mean that the client couldn't create the container, but 
if the container already existed, they would still be able to write to 
everything inside it.  See RFC6536 section 3.2.3 for example.  I think 
the example in RFC7317 is wrong, although it is the same authors as 
RFC6536, which is curious.  I'll check with Martin.

     David

> “
>
> import ietf-netconf-acm {
>
>   prefix nacm;
>
> }
>
> ……
>
> grouping vpn-profile-cfg {
>
>   container valid-provider-identifiers {
>
>    list cloud-identifier {
>
>     if-feature cloud-access;
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of cloud service.
>
>        Local administration meaning.";
>
>     }
>
>     description
>
>     "List for Cloud Identifiers.";
>
>    }
>
>    list encryption-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the SP encryption profile
>
>        to be used. Local administration meaning.";
>
>     }
>
>     description
>
>     "List for encryption profile identifiers.";
>
>    }
>
>    list qos-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the QoS Profile to be used.
>
>        Local administration meaning.";
>
>     }
>
>          nacm:default-deny-write;
>
>     description
>
>     "List for QoS Profile Identifiers.";
>
>    }
>
>    list bfd-profile-identifier {
>
>     key id;
>
>     leaf id {
>
>      type string;
>
>      description
>
>       "Identification of the SP BFD Profile to be used.
>
>        Local administration meaning.";
>
>     }
>
>     description
>
>     "List for BFD profile Identifiers.";
>
>    }
>
>      description
>
>     "Container for Valid Provider Identifies.";
>
>   }
>
>   nacm:default-deny-write;
>
>    description
>
>    "Grouping for VPN Profile configuration.";
>
> }
>
> ”
>
> Does this work for you?
>
>     David
>
>
> -- 
> David Ball
> <daviball@cisco.com> <mailto:daviball@cisco.com>

-- 
David Ball
<daviball@cisco.com>