Project

General

Profile

Feature #4943

CsMgmt: retrieve and change cache policy

Added by Junxiao Shi over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Management
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
3.00 h

Description

In CsMgmt,

  • Allow retrieving cache replacement policy as part of info dataset.
  • Allow changing cache replacement policy as part of config command.

In nfdc:

  • Display cache replacement policy in nfdc cs info command output.
  • Display cache replacement policy on HTTP status page.
  • Allow changing cache replacement policy via nfdc cs config command.

Related issues

Blocked by NFD - Feature #4940: Runtime cache policy changeNew

Actions
#1

Updated by Junxiao Shi over 2 years ago

#2

Updated by Junxiao Shi over 2 years ago

One issue with this design is: if an operator changes CS policy via CsMgmt and then performs a configuration reload, the policy would be changed back.
NLSR resolves a similar problem by writing the config file when status is changed via command (#4303), but this could have permission issue on Ubuntu setups where NFD is running under an unprivileged user.

Also available in: Atom PDF