Project

General

Profile

Actions

Bug #1378

closed

nfd-status: Incorrect processing of received Fib and Face entries

Added by Yi Huang about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Tools
Target version:
Start date:
03/20/2014
Due date:
% Done:

100%

Estimated time:

Description

FibEntry::wireEncode is missing Name field.


Steps to reproduce:

  1. run nfd (sudo env NFD_LOG=all nfd)
  2. create a tunnel using nfdc (NFD=1 nfdc create udp4://10.0.0.10)
  3. add nexthop record to the tunnel using ufdc (NFD=1 nfdc add-nexthop /example <faceid from previous step>)
  4. run nfd-status -b to show FIB status.

    ltr120@traffic-gen-vm1:~$ NFD=1 nfd-status -b
    FIB:
      /localhost/nfd nexthops={faceid=1 (cost=0)}
    ltr120@traffic-gen-vm1:~$ NFD=1 nfdc create udp4://10.0.0.10
    Face creation succeeded: ForwardingEntry(FaceID: 4, Uri: udp4://10.0.0.10)
    ltr120@traffic-gen-vm1:~$ NFD=1 nfdc add-nexthop /example 4
    Nexthop insertion succeeded: ForwardingEntry(Prefix: /example, FaceID: 4, Cost: 0, Strategy: /, )
    ltr120@traffic-gen-vm1:~$ NFD=1 nfd-status -b
    FIB:
    Expected NextHopRecords, but Block is of a different type: #128
    
Actions

Also available in: Atom PDF