Project

General

Profile

Feature #3229

nfdc register: implicitly create permanent face

Added by Junxiao Shi over 4 years ago. Updated almost 3 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

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

Actions

History

#1

Updated by Junxiao Shi over 4 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.

#2

Updated by Davide Pesavento over 4 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?

#3

Updated by Alex Afanasyev over 4 years ago

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

#4

Updated by Junxiao Shi over 4 years ago

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

Updated by Davide Pesavento about 3 years ago

Is this still relevant after #3866?

#6

Updated by Junxiao Shi almost 3 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.

Also available in: Atom PDF