[Nfd-dev] network_region in nfd.conf file

Dehart, John jdd at wustl.edu
Tue Apr 18 16:23:30 PDT 2017


So, Consumers have to know the names of the routers in the network?
That seems odd. Does each person who runs an application need to
know all the names of the routers? Or is there a discovery process that the
applications are supposed to use?

Thanks,
John

On Apr 18, 2017, at 5:55 PM, Junxiao Shi <shijunxiao at email.arizona.edu<mailto:shijunxiao at email.arizona.edu>> wrote:

Hi John

You may configure the specific router name as network_region:

  *   UCLA node: /ndn/edu/ucla/irl/spurs
  *   REMAP node: /ndn/edu/ucla/remap/aleph
  *   ARIZONA node: /ndn/edu/arizona/nrl/hobo
  *   MEMPHIS node: /ndn/edu/memphis/netlab/titan

Consumers are advised to put the following into their forwarding hints:

  *   producer at UCLA: /ndn/edu/ucla/irl
  *   producer at REMAP: /ndn/edu/ucla/remap
  *   producer at ARIZONA: /ndn/edu/arizona/nrl
  *   producer at MEMPHIS: /ndn/edu/memphis/netlab

It's important that /ndn/edu/ucla/irl is used to reach a producer who registers at UCLA (spurs). If only using /ndn/edu/ucla, when the Interest reaches REMAP (aleph), the router sees the forwarding hint is a prefix of a network region, so it assumes the Interest has reached the producer region, and thus queries FIB using the Interest name.
The last "nrl" for ARIZONA and "netlab" for MEMPHIS may be omitted, but it's better to keep them so as to avoid any issues if a second node is added on that campus.

Yours, Junxiao

On Tue, Apr 18, 2017 at 9:24 AM, Dehart, John <jdd at wustl.edu<mailto:jdd at wustl.edu>> wrote:

All:

i am trying to understand how the network_region is used.
Here is the text from nfd.conf.sample:

  ; Declare network region names
  ; These are used for mobility support.  An Interest carrying a Link object is
  ; assumed to have reached the producer region if any delegation name in the
  ; Link object is a prefix of any region name.
  network_region
  {
    ; /example/region1
    ; /example/region2
  }


As a specific example, lets take the two nodes on the campus of UCLA: REMAP and UCLA.
The current default prefix for UCLA is:     /ndn/edu/ucla
The current default prefix for REMAP is: /ndn/edu/ucla/remap

Should they both declare a network region of /ndn/edu/ucla
or should REMAP be more specific and declare /ndn/edu/ucla/remap?

If they both declare a network region of /ndn/edu/ucla does that imply that
there MUST be a link between the two nodes?

Thanks,
John


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170418/984ff80f/attachment.html>


More information about the Nfd-dev mailing list