Project

General

Profile

Task #1407

Updated by Junxiao Shi about 10 years ago

Implement **add** subcommand as a composite These commands are the most useful and should be just wrappers on top of "create" and "add-nexthop". 

 Command syntax: 

     nfdc 'create'+'add-hexthop' (i.e., create face first, then use ID of the created face to add <Name> <FaceUri> [<Cost>] 

 This is equivalent to: 

     FACEID=`nfdc create <FaceUri>` 
     nfdc add-nexthop <Name> $FACEID <Cost> specified next hop). 

Back