Project

General

Profile

NLSR Routing Status Page » History » Version 4

Muktadir Chowdhury, 07/10/2015 11:45 AM

1 1 Muktadir Chowdhury
NLSR Routing Status Page
2
========================
3
### System Overview
4
The system is consisted of the following components:
5
6
- Consumer (Browser)
7
- Producer (Websocket Proxy, NFD, NLSR)
8
9
### Interaction among components
10 4 Muktadir Chowdhury
Client's browser will send interest for NLSR status of a remote node over WebSocket connection to the WS Proxy that is running on remote node. Remote node's Websocket Proxy will receive the request on port 9696 and forward the decapsulated NDN packet to local NFD over TCP/UDP connection. NFD will, then, send the interest to local NLSR requesting status data. Upon receiving status data from NFD, WebSocket Proxy encodes the packet into WebSocket frame before forwarding it the to the Client (browser). The WebSocket proxy also takes care of NDN packet fragmentation and reassembly. This [**diagram**](http://redmine.named-data.net/attachments/download/390/NLSR%20Status%20diagram) shows the interaction among different components of the system:
11 1 Muktadir Chowdhury
12
### Data that will be displayed on Webpage
13
The current NLSR status page displays Name LSA and Adjacency LSA of [**LSDB Dataset**](http://redmine.named-data.net/projects/nlsr/wiki/LSDB_DataSet). In addition to that, Coordinate LSA information will also be displayed in the Webpage.
14
User will be able to request any of the Name LSA, Adjacent LSA, Coordinate LSA, and all LSAs in the LSDB of a particular node.
15 3 Muktadir Chowdhury
16
### Operations
17
All LSAs, Name, Adjacency and Coordinate, are published as [**LSDB Dataset**](http://redmine.named-data.net/projects/nlsr/wiki/LSDB_DataSet). LSDB datasets are published under the namespace ```ndn:/<router-name>/lsdb/```.
18
19
#### Consumer
20
1. If consumer wants to request Name LSA status dataset then it will send an Interest ```ndn:/<router-name>/lsdb/names```. 
21
2. Wait for a Data; if no Data arrives, fail.
22
23
#### Producer
24
1. Listen on prefix ```ndn:/<router-name>/lsdb/```
25
2. Upon receiving an Interest, send the data.