Project

General

Profile

Actions

Feature #3229

closed

nfdc register: implicitly create permanent face

Added by Junxiao Shi about 9 years ago. Updated over 7 years ago.

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

0%

Estimated time:

Description

In nfdc register command, accept -P command line option to implicitly create a permanent face.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #3232: Inaccurate log message when changing FacePersistencyClosedYanbiao Li09/30/2015

Actions
Actions #1

Updated by Junxiao Shi about 9 years ago

  • Subject changed from nfdc: allow to nfdc register: implicitly create permanent face
  • Description updated (diff)
  • Category set to Tools
  • Start date deleted (09/29/2015)

See #2993 note-16 for motivation.

I have a concern: if a face with same FaceUri but different persistency setting already exists, does nfdc register -P change the persistency setting?

Currently, nfdc register on an existing on-demand face would keep the face as on-demand, rather than changing it to persistent.

Actions #2

Updated by Davide Pesavento about 9 years ago

Yes, I think it should be changed to permanent. Is there a problem doing so, other than the small inconsistency you pointed out?

Actions #3

Updated by Alex Afanasyev about 9 years ago

I think the register command (only when face is specified as faceURI) should change status to at least persistent.

Actions #4

Updated by Junxiao Shi about 9 years ago

  • Related to Bug #3232: Inaccurate log message when changing FacePersistency added
Actions #5

Updated by Davide Pesavento over 7 years ago

Is this still relevant after #3866?

Actions #6

Updated by Junxiao Shi over 7 years ago

  • Status changed from New to Rejected

In #3866 it was decided that implicit face creation during prefix registration is harmful. Instead, nfdc face create should be the only command that can create faces, while prefix registration command face route add can only use an exiting face.

Actions

Also available in: Atom PDF