Re: [dna] Pseudocode for Simple DNA (Providing text to resolve issue #10)

Suresh Krishnan <suresh.krishnan@ericsson.com> Tue, 07 October 2008 17:47 UTC

Return-Path: <dna-bounces@ietf.org>
X-Original-To: dna-archive@lists.ietf.org
Delivered-To: ietfarch-dna-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0AF9F3A6AAC; Tue, 7 Oct 2008 10:47:13 -0700 (PDT)
X-Original-To: dna@core3.amsl.com
Delivered-To: dna@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F63D3A6AAC for <dna@core3.amsl.com>; Tue, 7 Oct 2008 10:47:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.463
X-Spam-Level:
X-Spam-Status: No, score=-6.463 tagged_above=-999 required=5 tests=[AWL=0.136, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rvh2W2brKtcM for <dna@core3.amsl.com>; Tue, 7 Oct 2008 10:47:11 -0700 (PDT)
Received: from imr2.ericy.com (imr2.ericy.com [198.24.6.3]) by core3.amsl.com (Postfix) with ESMTP id 8EA603A6A62 for <dna@ietf.org>; Tue, 7 Oct 2008 10:47:11 -0700 (PDT)
Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m97HlnIg009572; Tue, 7 Oct 2008 12:47:49 -0500
Received: from eusrcmw751.eamcs.ericsson.se ([138.85.77.56]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 7 Oct 2008 12:47:49 -0500
Received: from [142.133.10.113] ([142.133.10.113]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 7 Oct 2008 12:47:49 -0500
Message-ID: <48EBA111.2000209@ericsson.com>
Date: Tue, 07 Oct 2008 13:49:05 -0400
From: Suresh Krishnan <suresh.krishnan@ericsson.com>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
MIME-Version: 1.0
To: JinHyeock Choi <jinchoe@gmail.com>
References: <48DAA2F7.1000502@ericsson.com> <92e919fb0810071016i544edf65i364339d03c09d3ef@mail.gmail.com>
In-Reply-To: <92e919fb0810071016i544edf65i364339d03c09d3ef@mail.gmail.com>
X-OriginalArrivalTime: 07 Oct 2008 17:47:49.0102 (UTC) FILETIME=[D049E0E0:01C928A4]
Cc: dna@ietf.org
Subject: Re: [dna] Pseudocode for Simple DNA (Providing text to resolve issue #10)
X-BeenThere: dna@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNA working group mailing list <dna.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dna>, <mailto:dna-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/dna>
List-Post: <mailto:dna@ietf.org>
List-Help: <mailto:dna-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dna>, <mailto:dna-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: dna-bounces@ietf.org
Errors-To: dna-bounces@ietf.org

Hi Jin,

JinHyeock Choi wrote:

> 
> When does DNA procedure stop?
> 
> What if NA arrives before RA?
> Upon an NA's arrival,
> does DNA procedure stop or keep waiting for an RA's arrival?

No. The simple DNA procedure does not stop, but it STARTS USING the 
address as described in the following pseudocode in the NA processing.

foreach SDAT_Entry in SDAT_Entry_List
{
   /* Address is operable. Configure on Interface */
}

If an RA arrives later from the SAME ROUTER, which has none of the 
prefixes, the simple DNA host unconfigures the addresses as described in 
the following pseudocode in the RA processing.

foreach SDAT_Entry in SDAT_Entry_List
{
   if (Exists_PIO(RECEIVED_MESSAGE,Get_Prefix(SDAT_Entry)))
   {
      /* Address is operable. Configure on Interface */
      /* Rejoin solicited-node multicast group for address */
   }
   else
   {
      /* If address is configured on interface, remove it */
      /* This could be because of a NA arriving before RA */
   }
}

Thanks
Suresh

_______________________________________________
dna mailing list
dna@ietf.org
https://www.ietf.org/mailman/listinfo/dna