Re: [Roll] Some confusions in RFC 6719 (MRHOF)

Duong Ngoc Nguyen <nduong@purdue.edu> Thu, 29 November 2012 13:45 UTC

Return-Path: <nduong@purdue.edu>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6932021F89F3 for <roll@ietfa.amsl.com>; Thu, 29 Nov 2012 05:45:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3h0CmH9Gcr8v for <roll@ietfa.amsl.com>; Thu, 29 Nov 2012 05:45:23 -0800 (PST)
Received: from mailhub130.itcs.purdue.edu (mailhub130.itcs.purdue.edu [128.210.5.130]) by ietfa.amsl.com (Postfix) with ESMTP id AEA2F21F89F4 for <roll@ietf.org>; Thu, 29 Nov 2012 05:45:19 -0800 (PST)
Received: from mailhub022.itcs.purdue.edu (mailhub022.itcs.purdue.edu [128.210.5.22]) by mailhub130.itcs.purdue.edu (8.14.4/8.14.4/mta-nopmx.smtp.purdue.edu) with ESMTP id qATDjE6b019938; Thu, 29 Nov 2012 08:45:14 -0500
Date: Thu, 29 Nov 2012 08:45:14 -0500
From: Duong Ngoc Nguyen <nduong@purdue.edu>
To: Philip Levis <pal@cs.stanford.edu>
Message-ID: <1302650519.102474.1354196714342.JavaMail.root@mailhub022.itcs.purdue.edu>
In-Reply-To: <75DCAA86-EF9A-4401-B125-0FFC5E743667@cs.stanford.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [128.210.5.221]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - SAF3 (Linux)/6.0.10_GA_2692)
X-PMX-Version: 5.5.9.388399
X-PerlMx-Virus-Scanned: Yes
Cc: roll@ietf.org
Subject: Re: [Roll] Some confusions in RFC 6719 (MRHOF)
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/roll>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Nov 2012 13:45:24 -0000

Thanks.

Sincerely,
Duong Nguyen

----- Original Message -----
> From: "Philip Levis" <pal@cs.stanford.edu>
> To: "Duong Ngoc Nguyen" <nduong@purdue.edu>
> Cc: roll@ietf.org
> Sent: Wednesday, November 28, 2012 4:27:25 PM
> Subject: Re: [Roll] Some confusions in RFC 6719 (MRHOF)
> Phil
> 
> On Nov 7, 2012, at 11:55 AM, Duong Ngoc Nguyen wrote:
> 
> > As I work with MRHOF, I find some statements are not consistent that
> > I cannot resolve by myself. I'm very grateful if someone can help me
> > overcome this confusion.
> >
> > 1. Which path cost is carried in Metric Container?
> >
> > Section 3.2.2 states:
> >
> >   Once the preferred parent is selected, the node sets its
> >   cur_min_path_cost variable to the path cost corresponding to the
> >   preferred parent. The value of the cur_min_path_cost is carried in
> >   the Metric Container corresponding to the selected metric when DIO
> >   messages are sent.
> >
> > ==> it suggests Metric Container carries the cost through the best
> > (i.e. preferred) parent.
> >
> > While section 3.4 states:
> >
> >   Once the preferred parent is selected, the node sets its
> >   cur_min_path_cost variable to the path cost corresponding to its
> >   preferred parent. It then calculates the metric it will advertise
> >   in
> >   its metric container. This value is the path cost of the member of
> >   the parent set with the highest path cost. Thus, while
> >   cur_min_path_cost is the cost through the preferred parent, a node
> >   advertises the highest cost path from the node to the root through
> >   a
> >   member of the parent set. The value of the highest cost path is
> >   carried in the metric container corresponding to the selected
> >   metric
> >   when DIO messages are sent.
> >
> > ==> it suggests Metric Container carries the cost through the worst
> > parent.
> 
> 3.4 is correct.
> 
> > 2. Which value is written to Rank field of DIO messsage's base
> > object in case ETX is used?
> >
> > When ETX is the metric, node must not include Metric container, thus
> > the rank field in DIO's base object is the only information to
> > advertise to neighbors.
> >
> > Section 3.4 states:
> >
> >   If ETX is the selected metric, a node MUST NOT advertise it in a
> >   metric container. Instead, a node MUST advertise an approximation
> >   of
> >   its ETX in its advertised Rank value, following the rules
> >   described
> >   in Section 3.3...
> >
> > ==> The phrase "in its advertised Rank value, following the rules
> > described in Section 3.3." means we would write the value of node
> > rank (computed by rules in section 3.3) into the rank field of DIO
> > message.
> >
> > On the other hand, section 3.5 states:
> >
> >   ... Once parent selection and rank computation is performed
> >   using the ETX metric, the node advertises the Rank and MUST NOT
> >   include a metric container in its DIO messages. While assigning
> >   Rank
> >   in this case, use the representation of ETX described in
> >   [RFC6551],
> >   i.e., assign Rank equal to ETX * 128.
> >
> > ==> The phrase "assign Rank equal to ETX * 128" suggests that we
> > should write value of ETX of path cost to the rank field of DIO
> > message.
> >
> 
> 3.4 is correct. The term "assign" is meant to describe the
> transformation between ETX and rank values, not the Rank in the DIO.
> 
> Phil