[dhcwg] Comments to DHCPv6 YANG-//RE: Call for adoption for draft-cui-dhc-dhcpv6-yang-04

"Liubing (Leo)" <leo.liubing@huawei.com> Tue, 29 September 2015 10:19 UTC

Return-Path: <leo.liubing@huawei.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 089101A872E for <dhcwg@ietfa.amsl.com>; Tue, 29 Sep 2015 03:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 LwOu_8jUN1zB for <dhcwg@ietfa.amsl.com>; Tue, 29 Sep 2015 03:19:28 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74D4F1A873C for <dhcwg@ietf.org>; Tue, 29 Sep 2015 03:19:27 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml405-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BYD77097; Tue, 29 Sep 2015 10:19:25 +0000 (GMT)
Received: from NKGEML406-HUB.china.huawei.com (10.98.56.37) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 29 Sep 2015 11:19:23 +0100
Received: from NKGEML506-MBX.china.huawei.com ([169.254.3.20]) by nkgeml406-hub.china.huawei.com ([10.98.56.37]) with mapi id 14.03.0235.001; Tue, 29 Sep 2015 18:19:16 +0800
From: "Liubing (Leo)" <leo.liubing@huawei.com>
To: Linhui Sun <lh.sunlinh@gmail.com>
Thread-Topic: Comments to DHCPv6 YANG-//RE: [dhcwg] Call for adoption for draft-cui-dhc-dhcpv6-yang-04
Thread-Index: AQHQ94+vTf4mPbmiu0ulmuGeESviIZ5Rqg+A//+jQACAAfuzcA==
Date: Tue, 29 Sep 2015 10:19:16 +0000
Message-ID: <8AE0F17B87264D4CAC7DE0AA6C406F45C22FE4EC@nkgeml506-mbx.china.huawei.com>
References: <56054134.6020003@gmail.com> <8AE0F17B87264D4CAC7DE0AA6C406F45C22F77A7@nkgeml506-mbx.china.huawei.com> <CAO_YprZNrhdGQmW8--kJjcSYv34rSYu_uHimrUTeC49RMdCdBg@mail.gmail.com>
In-Reply-To: <CAO_YprZNrhdGQmW8--kJjcSYv34rSYu_uHimrUTeC49RMdCdBg@mail.gmail.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.98.117]
Content-Type: multipart/alternative; boundary="_000_8AE0F17B87264D4CAC7DE0AA6C406F45C22FE4ECnkgeml506mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/eb8ztonjwL5smCH2jZp5Fg6SaJE>
Cc: dhcwg <dhcwg@ietf.org>, "draft-cui-dhc-dhcpv6-yang@tools.ietf.org" <draft-cui-dhc-dhcpv6-yang@tools.ietf.org>
Subject: [dhcwg] Comments to DHCPv6 YANG-//RE: Call for adoption for draft-cui-dhc-dhcpv6-yang-04
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Sep 2015 10:19:32 -0000

Hi Linhui,

Thanks for your quick response. I rename this thread to distinguish it from the adoption call.

Please see inline.

From: Linhui Sun [mailto:lh.sunlinh@gmail.com]
Sent: Monday, September 28, 2015 7:32 PM
To: Liubing (Leo)
Cc: Tomek Mrugalski; dhcwg; draft-cui-dhc-dhcpv6-yang@tools.ietf.org
Subject: Re: [dhcwg] Call for adoption for draft-cui-dhc-dhcpv6-yang-04

Hi Bing,

Thanks for your comments, please see inline with [LH].

Best regards,
Linhui

2015-09-28 18:31 GMT+08:00 Liubing (Leo) <leo.liubing@huawei.com<mailto:leo.liubing@huawei.com>>:
Hi, all

I think the DHCPv6 (and also DHCPv4) YANG model is necessary work, and DHC WG should be the most suitable place to work on it. So I support this adoption.

And we have some comments to the current draft:

General comments:
1. The Server, Relay, Client are defined as three containers in one DHCPv6 module in the draft. But considering the three roles are actually independent from each other, we thought maybe defining them as three separated YANG modules (still in one draft) is more proper. This might be more convenient to maintain and use them.

[LH]: Actually, they are not just three common containers, I would prefer to call it the "feature". Since we use the "feature" statement defined in RFC6020 which allows the device to flexible choose which feature it will support (only the supported feature is valid). This could make the model more flexible and allow the device to be free to change its role.
[Bing] If the roles are defined as “feature”, my understanding is that it implies the roles are different aspects of one function. When one device is configured with multiple dhcp roles simultaneously, actually those roles are more like different functions that have no direct relationship with each other.
I would probably still work if defined them as features, but my concern is that the logic seems a bit confusing.

Besides, do you also consider making address pool a separated module? Since the address pool could be considered as a common resource that might be utilized by functions other than DHCP.

[LH]: This model is only for DHCPv6 configuration, I'm not sure whether there is enough benefits to bring other functions to this model. And in the context of DHCPv6, the addr/prefix pools should be only considered in the server side, am I right?
[Bing] Actually I was talking about bringing the address pool out of the DHCP model, rather than bringing something in☺  Because I think not only DHCP would use address pool. If it is a separated model, then could be easily re-used by other functions.


(I think this comment also applies to the current DHCPv4 YANG model draft.)

2. (This is also a question to the WG) Do you consider this DHCPv6 YANG Model as a universal model focusing on the standard functions, or you consider it as a specific usage, e.g. HGW?
My personal opinion tends to agree with the former one.

[LH]: I also prefer the first one. The current model is mainly based on the HGW. But we will do check other implementations as Tomek suggested (we've already started to look at the Kea). The ultimate goal is to propose a model that could be applied to multiple implementations.
[Bing] It sounds great.



Specific comments:
1. In Client model, the "client-interfaces" container seems redundant? I think the "list client-if" could be directly under the "client" container.

[LH]: Thanks for pointing out, will modify it.
[Bing] Thanks.

2. In Server model, Do you consider to support a feature that multiple DHCPv6 servers could be grouped together? This is an important feature in carrier networks.

[LH]: This sounds like an interesting feature, but I don't know what are those groups for. Does it require us to add a new data node in the server portion to describe the group?
[Bing] Sorry, actually I meant “Relay Server”, not server. Several relays grouped together to present as a single one. This is mostly for carrier grade reliability consideration. You might refer to draft-liu-dhc-dhcp-yang-model for the group definition. And we welcome your comment if you find some flaws.

3. There are lot of stings defined without assigned length.

[LH]: I think most strings defined in the model are variable length, and is there any requirement that we have to define the string with a length? since I find previous RFCs are also defining strings without assigning length.
[Bing] I haven’t worked through all the string elements one by one. My understanding is that it might depend on the specific element. E.g., for the Name element, maybe it’s better to assign it a length?

Best regards,
Bing

4. There are some description still empty, need to be filled.

[LH]: Thanks, will complete them in the next version.


Best regards,
Bing

> -----Original Message-----
> From: dhcwg [mailto:dhcwg-bounces@ietf.org<mailto:dhcwg-bounces@ietf.org>] On Behalf Of Tomek
> Mrugalski
> Sent: Friday, September 25, 2015 8:42 PM
> To: dhcwg
> Subject: [dhcwg] Call for adoption for draft-cui-dhc-dhcpv6-yang-04
>
> Hi,
> Authors of draft-cui-dhc-dhcpv6-yang-04 requested adoption. This draft has
> been presented twice and received favourable comments. It defines a YANG
> data model for configuration and management of the DHCPv6 server, client
> and relay agent. This I-D is over 80 pages long, but most of the text is taken
> by formal YANG definition.
>
> This mail initiates a call for adoption of draft-cui-dhc-dhcpv6-yang-04 as a
> WG item. If you would like the working group to work on this document,
> please say so. If you would like the WG to not adopt, please state your
> technical objections.
>
> There are currently no IPR claimed against this draft.
>
> Bernie and I will determine the consensus after Oct. 9th.
>
> Bernie & Tomek
>
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org<mailto:dhcwg@ietf.org>
> https://www.ietf.org/mailman/listinfo/dhcwg

_______________________________________________
dhcwg mailing list
dhcwg@ietf.org<mailto:dhcwg@ietf.org>
https://www.ietf.org/mailman/listinfo/dhcwg