tools: implement 'nfdc cs info' command
refs #4219
Change-Id: I4252878943c3f6c88f306f83f5023fffc82326b0
diff --git a/tools/nfd-status-http-server-files/nfd-status.xsl b/tools/nfd-status-http-server-files/nfd-status.xsl
index 843e4f2..d9b8885 100644
--- a/tools/nfd-status-http-server-files/nfd-status.xsl
+++ b/tools/nfd-status-http-server-files/nfd-status.xsl
@@ -336,6 +336,24 @@
</table>
</xsl:template>
+<xsl:template match="nfd:cs">
+ <h2>CS Information</h2>
+ <table class="item-list">
+ <thead>
+ <tr>
+ <th>Hits</th>
+ <th>Misses</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr class="center">
+ <td><xsl:value-of select="nfd:nHits"/></td>
+ <td><xsl:value-of select="nfd:nMisses"/></td>
+ </tr>
+ </tbody>
+ </table>
+</xsl:template>
+
<xsl:template match="nfd:strategyChoices">
<h2>Strategy Choices</h2>
<table class="item-list">