Task #1664
closednfdc should be able to specify expiration time and origin field.
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)
Updated by Syed Amin over 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)
Updated by Alex Afanasyev over 10 years ago
I would have this functionality in general, not just for debugging purposes.
Updated by Syed Amin over 10 years ago
- Assignee set to Syed Amin
- % Done changed from 0 to 90
Updated by Syed Amin over 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
Updated by Junxiao Shi over 10 years ago
- Related to Task #1688: nfdc: specify Origin in unregister command added