A tool to verify Named Data Network data planes
Each line describes certain aspects of the snapshot and its data plane state. All elements within a line are separated by tabs.
Look at the samples in the /examples
folder for more details.
Add node ID's and its face IDs
-node <n> <n1> <n2> <n3>
Add rule for node "n" that for incoming header from "f_in" matching pattern "m", header should leave from "f_out" (assuming no change in header)
-rule <n> <m> <f_in> <f_out>
Add bidirectional link between two faces "f1" and "f2" (assuming all faces are labeled uniquely)
-link <f1> <f2>
Add content provider "n"'s hosted prefix "p"
-provider <n> <p>
Add constraint on name "p" that should not be reached at node "n" from other zones
-prohibited <n> <p>
Inject header space "h" at face "f"
-inject <h> <f>
Inject header space "h" at all faces
-injectAll <h>
You can restrict the "injectAll" mode to selected faces only, listing them in a file (look at example /examples/faces.txt
).
You can group nodes into zones, for name leakage checks, in a file (look at example /examples/zones.txt
).