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)