Re: [mif-arch-dt] Strawman solution proposals for DHCPv6 and RA support for multiple provisioning domains

Jouni Korhonen <jouni.nospam@gmail.com> Tue, 05 November 2013 23:28 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: mif-arch-dt@ietfa.amsl.com
Delivered-To: mif-arch-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C36311E8169 for <mif-arch-dt@ietfa.amsl.com>; Tue, 5 Nov 2013 15:28:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.98
X-Spam-Level:
X-Spam-Status: No, score=-1.98 tagged_above=-999 required=5 tests=[AWL=-0.620, BAYES_00=-2.599, NO_RELAYS=-0.001, SARE_LWSHORTT=1.24]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPqE1pTd63sh for <mif-arch-dt@ietfa.amsl.com>; Tue, 5 Nov 2013 15:28:14 -0800 (PST)
Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) by ietfa.amsl.com (Postfix) with ESMTP id BF17D11E80F7 for <mif-arch-dt@ietf.org>; Tue, 5 Nov 2013 15:28:13 -0800 (PST)
Received: by mail-pd0-f181.google.com with SMTP id x10so9390971pdj.12 for <mif-arch-dt@ietf.org>; Tue, 05 Nov 2013 15:28:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Qxe9Pbg+LfyQeZV8VeSevz0eqfpVTN1DC7aqKjnHfd0=; b=sd63ZNlBBMLflI5o7parKUZiJ0Wcs5ufZHF5YaQpgEEuWHDY6rg9OdZ6ZvGqnHwDA8 FpCCAJzBof9ZD5AXDv58mAuRISAkgUYEkivNm6EPO9QQMOYHU1RNuo+mjvJ5J+IT7NO1 aGzaU4ra5E2dE+JKYXirNnvDSDPFl8RuJGgOkgNFfzAflZJ4KZREkaPWrI1h+RxQolcS 4EvwmfIaeNu6J0HerJYyJeR9slrwDv2qds3YwH1kgVmjofO9U724wPvgJroWRpHbmfsN IK+bdFaRhqVJMZu8/8i6EyWAFyZEsJdntV+eLGLW3fXTQHV6QsRuFgGohetUx4xoCFEB DK2g==
X-Received: by 10.68.40.169 with SMTP id y9mr12700pbk.193.1383694093344; Tue, 05 Nov 2013 15:28:13 -0800 (PST)
Received: from wireless-a-v6.meeting.ietf.org ([2001:67c:370:176:e147:a0da:8eee:2f18]) by mx.google.com with ESMTPSA id fk4sm43180741pab.23.2013.11.05.15.28.11 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 15:28:12 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <41845B5F-8694-4368-B2F6-BA3BA0CFDD91@gmail.com>
Date: Wed, 06 Nov 2013 01:28:08 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5454F708-7135-4071-983C-770F2FC8EBD9@gmail.com>
References: <5267F29C.3010304@ericsson.com> <0010ca0ba1f44fe2a1b8fa5f110a00c0@SN2PR03MB077.namprd03.prod.outlook.com> <41845B5F-8694-4368-B2F6-BA3BA0CFDD91@gmail.com>
To: Dmitry Anipko <Dmitry.Anipko@microsoft.com>
X-Mailer: Apple Mail (2.1510)
Cc: "mif-arch-dt@ietf.org" <mif-arch-dt@ietf.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Subject: Re: [mif-arch-dt] Strawman solution proposals for DHCPv6 and RA support for multiple provisioning domains
X-BeenThere: mif-arch-dt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: MIF Architecture Design Team mailing list <mif-arch-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif-arch-dt>, <mailto:mif-arch-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif-arch-dt>
List-Post: <mailto:mif-arch-dt@ietf.org>
List-Help: <mailto:mif-arch-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif-arch-dt>, <mailto:mif-arch-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Nov 2013 23:28:14 -0000

Dmitry,

On Nov 4, 2013, at 8:06 PM, Jouni Korhonen <jouni.nospam@gmail.com> wrote:

[snip]


>> 11. The formatting of how variable number of sub options in the container is accommodated in ND vs DHCP, is different - in one cases, there is a field, explicitly indicating number of options, in addition to the length of the container and each option, in the other case it is based purely on lengths. Is there a reason for that?
> 
> Different alignment requirements with ND and DHCP. This obviously requires some more thinking how to make encodings more alike.
> 
> Regarding the options count in ND that comes from the way the current signature field is added into the container option. If the signature becomes a sub-option itself, there would be no need for the count field.
> 
>> 12. OPTION_PVD_ID in ND has ID-Length, in DHCP it doesn't. Similarly,  differences in the \0-padding language.
> 
> 
> That is mainly because in ND options length is multiple of 8 octets where are in DHCP options have no alignment requirements. The same principle was brought into sub-options. However, regarding sub-option in the container for ND, we could possible drop the alignment requirements if that becomes a sticking point.
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It seems my short term memory is failing or something.. for ND container we need to maintain 8 octet alignment, since we allow embedding existing ND options as sub-options. Existing ND options have strict alignment requirements and no way to indicate smaller length counts than 8 octets. I would love to use existing code to parse option (whether they are inside the PVD container or not).

- Jouni


> Regarding padding, I rather keep the it explicit how the padding is done when such is needed.
> 
> - JOuni
> 
>> 
>> 
>> 
>> ________________________________________
>> From: mif-arch-dt-bounces@ietf.org <mif-arch-dt-bounces@ietf.org> on behalf of Suresh Krishnan <suresh.krishnan@ericsson.com>
>> Sent: Wednesday, October 23, 2013 9:00 AM
>> To: mif-arch-dt@ietf.org
>> Subject: [mif-arch-dt] Strawman solution proposals for DHCPv6 and RA support for multiple provisioning domains
>> 
>> Hi all,
>> One of the action items from the meeting two weeks ago was to write up
>> a strawman solution proposal for DHCP and RA options to carry
>> information about multiple provisioning domains. Jouni, Shwetha and I
>> worked on it and came up with these initial drafts. We would love to
>> hear your comments.
>> 
>> The DHCP version is at
>> 
>> http://tools.ietf.org/html/draft-kkb-mpvd-dhcp-support-00
>> 
>> The RA version is at
>> 
>> http://tools.ietf.org/html/draft-kk-mpvd-ndp-support-00
>> 
>> Thanks
>> Suresh, Jouni and Shwetha
>> _______________________________________________
>> mif-arch-dt mailing list
>> mif-arch-dt@ietf.org
>> https://www.ietf.org/mailman/listinfo/mif-arch-dt
>> _______________________________________________
>> mif-arch-dt mailing list
>> mif-arch-dt@ietf.org
>> https://www.ietf.org/mailman/listinfo/mif-arch-dt
>