Project

General

Profile

CsMgmt » History » Revision 3

Revision 2 (Junxiao Shi, 10/13/2017 04:55 AM) → Revision 3/20 (Junxiao Shi, 12/07/2017 10:03 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` 

 ### 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`. 

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

     (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) 
 ------------------------------------------- | ----------------- | --------------------- 
 CsInfo                                        CsStatus                                      | 128                 | 0x80 
 NHits                                         | 129                 | 0x81 
 NMisses                                       | 130                 | 0x82