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 #1

Updated by Syed Amin almost 10 years ago

  • Subject changed from nfdc should be able to specify expiration time and origin field (NOT RECOMMENDED but for debugging or management only) . to nfdc should be able to specify expiration time and origin field (for debugging or management only) .
  • Description updated (diff)
  • Assignee deleted (Syed Amin)
Actions #2

Updated by Alex Afanasyev almost 10 years ago

I would have this functionality in general, not just for debugging purposes.

Actions #3

Updated by Syed Amin almost 10 years ago

  • Assignee set to Syed Amin
  • % Done changed from 0 to 90
Actions #4

Updated by Syed Amin almost 10 years ago

  • Status changed from New to Code review
Actions #5

Updated by Syed Amin almost 10 years ago

  • Subject changed from nfdc should be able to specify expiration time and origin field (for debugging or management only) . to nfdc should be able to specify expiration time and origin field.
  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions #6

Updated by Junxiao Shi almost 10 years ago

  • Related to Task #1688: nfdc: specify Origin in unregister command added
Actions

Also available in: Atom PDF