Project

General

Profile

Actions

Task #1664

closed

nfdc should be able to specify expiration time and origin field.

Added by Syed Amin almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tools
Target version:
Start date:
06/14/2014
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

I think nfdc should be able to specify expiration time while registering a prefix.

For debugging purposes only or may be for management (i.e. deleting some unwanted entries from RIB/FIB) we could also allow setting "Origin" as well. Please let me know if others have any suggestion or objections about both options. I think we can discuss about the second one, but the first one seems to be a required feature.

Also we need to update the relevant docs of nfdc after these features.

The new syntax would be:

register [-I] [-C] [-c cost] [-e expiration time] [-o origin] name
register name to the given faceId or faceUri
-I: unset CHILD_INHERIT flag
-C: set CAPTURE flag
-c: specify cost
-e: expiration time in milliseconds (default: 3600000)
-o: origin (default: 0)


Related issues 1 (0 open1 closed)

Related to NFD - Task #1688: nfdc: specify Origin in unregister commandClosedSyed Amin

Actions
Actions

Also available in: Atom PDF