Project

General

Profile

Actions

Task #1515

closed

nfdc allows FaceUri in place of FaceId

Added by Junxiao Shi almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tools
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

Extend destroy/add-nexthop/register subcommands to allow FaceUri in place of FaceId:

nfdc destroy FaceId-or-FaceUri
nfdc add-nexthop [-c cost] /prefix FaceId-or-FaceUri
nfdc register [-I] [-C] [-c cost] /prefix FaceId-or-FaceUri

Only FaceUris acceptable by faces/create command are allowed.

When FaceUri is specified in place of FaceId, faces/create command is called to retrieve the FaceId (or create a new face if it does not exist).

"add" subcommand is deleted because it becomes a duplicate of "add-nexthop" command.

"add-nexthop" syntax is slightly modified to make cost an optional named argument, instead of an optional positional argument.


Related issues 2 (0 open2 closed)

Related to NFD - Task #1722: FaceMgmt: query operationClosedJunxiao Shi

Actions
Blocked by NFD - Task #1416: nfdc register/unregister subcommandsClosedSyed Amin03/27/2014

Actions
Actions

Also available in: Atom PDF