Project

General

Profile

Actions

Feature #4544

closed

Add an option to nlsrc to query status from remote routers

Added by Ashlesh Gawande over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

nlsrc should be modified to optionally read the router name after the commands:
nlsrc status <routerName>
nlsrc lsdb <routerName>
nlsrc routing <routerName>

(status shows both lsdb and routing information)

Without router name it should maintain the current behavior of querying /localhost
Man page should be updated as part of this feature:
https://github.com/named-data/NLSR/blob/master/docs/manpages/nlsrc.rst

We can then easily test it in Mini-NDN without relying on manual testing with the browser (http://netlab.cs.memphis.edu/script/htm/ndn-status/status.htm).

Actions #1

Updated by Ashlesh Gawande about 6 years ago

  • Assignee set to Tianxing Ma
Actions #2

Updated by Ashlesh Gawande almost 6 years ago

  • Target version changed from v0.5.0 to v0.6.0
Actions #3

Updated by Saurab Dulal over 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 20
Actions #4

Updated by Saurab Dulal over 5 years ago

  • Target version changed from v0.6.0 to Minor release v0.5.1
Actions #5

Updated by Saurab Dulal over 5 years ago

  • Target version changed from Minor release v0.5.1 to v0.6.0
Actions #6

Updated by Tianxing Ma over 4 years ago

  • Status changed from In Progress to Closed
Actions #7

Updated by Ashlesh Gawande over 4 years ago

Why is this closed?
You could unset assignee if you want.

Actions #8

Updated by Ashlesh Gawande over 4 years ago

  • Status changed from Closed to Code review
  • Assignee deleted (Tianxing Ma)
  • Start date deleted (03/09/2018)
Actions #9

Updated by Ashlesh Gawande over 4 years ago

  • Description updated (diff)
  • Assignee set to Tianxing Ma
Actions #10

Updated by Saurab Dulal almost 4 years ago

  • Target version changed from v0.6.0 to Minor Release v0.6.1
Actions #12

Updated by Junxiao Shi almost 3 years ago

Testing report for https://gerrit.named-data.net/c/NLSR/+/6571 patchset3:

$ sudo cp /usr/local/etc/ndn/nlsr.conf.sample /usr/local/etc/ndn/nlsr.conf

$ curl -AX -fsLS https://named-data.net/ndnsec/ndn-testbed-root.ndncert.x3.base64 | sudo tee /usr/local/etc/ndn/root.cert >/dev/null

$ nlsrc -R /ndn/edu/memphis/%C1.Router/titan routing | head
Routing Table:
  Destination: /ndn/gr/edu/mmlab1/%C1.Router/mmlab1
    NextHop(Uri: udp4://195.251.234.11:6363, Cost: 0)
    NextHop(Uri: udp4://128.196.203.36:6363, Cost: 22.7922)
    NextHop(Uri: udp4://198.111.224.197:6363, Cost: 23.8492)
    NextHop(Uri: udp4://202.29.30.31:6363, Cost: 24.63)
    NextHop(Uri: udp4://148.224.92.99:6363, Cost: 25.8346)
    NextHop(Uri: udp4://129.10.224.42:6363, Cost: 32.3093)
    NextHop(Uri: udp4://128.252.153.194:6363, Cost: 32.5379)
    NextHop(Uri: udp4://200.128.51.61:6363, Cost: 40.5961)

$ nlsrc -R /yoursunny/_/%C1.Router/lax routing
Request timed out (code: 3, error: Segment validation failed: Cannot retrieve certificate (Cannot fetch certificate after all retries `/yoursunny/KEY/s%19%CD%8D%93%7B%5B%A6`))
Actions #13

Updated by Junxiao Shi almost 3 years ago

Please change Assignee to me and then close this issue.

Actions #14

Updated by Lan Wang almost 3 years ago

  • Assignee deleted (Tianxing Ma)
  • Target version deleted (Minor Release v0.6.1 )
Actions #15

Updated by Lan Wang almost 3 years ago

  • Assignee set to Junxiao Shi
Actions #16

Updated by Junxiao Shi over 2 years ago

  • Status changed from Code review to Closed
  • % Done changed from 20 to 100
Actions

Also available in: Atom PDF