Project

General

Profile

Task #1664

Updated by Syed Amin almost 10 years ago

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

  
 The new syntax would be: 

 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: 
 <pre> 
 register [-I] [-C] [-c cost] [-e expiration time] [-o origin] name <faceId | faceUri> 
            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) 
 </pre>

Back