Project

General

Profile

CsMgmt » History » Revision 2

Revision 1 (Junxiao Shi, 10/01/2017 09:43 PM) → Revision 2/20 (Junxiao Shi, 10/13/2017 04:55 AM)

# Content Store Management 

 **Content Store Management** is a module of [[Management|NFD Management protocol]]. 
 It provides commands and datasets about the Content Store and its usage in forwarding. 

 Content Store Management commands and datasets are available under namespace `ndn:/localhost/nfd/cs`. 

 ## Control Commands 

 [[ControlCommand]] **management-module**: `cs` `fib` 

 ### Update config 

 **command-verb**: `config` 

 (to be defined in #4050) 

 ### Erase entry 

 **command-verb**: `erase` 

 (to be defined in #4318) 

 ## CS Information Dataset 

 CS config and runtime performance are published as a [[StatusDataset|Status Dataset]] at `ndn:/localhost/nfd/cs/info`. 

     CsStatus ::= CS-STATUS-TYPE TLV-LENGTH 
                    NHits 
                    
                  NMisses 

     (TLVs (other TLVs have nonNegativeInteger as value) 

 (additional fields to be defined in #4050) 

 ## CS Enumeration 

 A subset of CS entries can be queried into a [[StatusDataset|Status Dataset]] under `ndn:/localhost/nfd/cs/query`. 

 (to be defined in #4317) 


 ## TLV-TYPE assignments 

 Type                                          | Assigned number     | Assigned number (hex) 
 ------------------------------------------- | ----------------- | --------------------- 
 CsStatus                                      | 128                 | 0x80 
 NHits                                         | 129                 | 0x81 
 NMisses                                       | 130                 | 0x82