summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat/vat.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-02-19 09:06:23 -0500
committerDave Barach <dave@barachs.net>2016-02-19 09:06:46 -0500
commitb44e9bc90b634b07d5f93a731a95028adc73bcbc (patch)
treeba6477830970b8cb663ad2c393cdca778418fb13 /vpp-api-test/vat/vat.h
parentc07bf5d5032e2b3ed4a651c8e6b8ff2131bc79c6 (diff)
Serialize and upload the data plane node graph
Include node names and graph arcs. Prep work for uploading node runtime data, so the latter can be reported in a comprehensible manner. Change-Id: I215b1f8cff244200c37c7e088f1f22229dc97eb6 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp-api-test/vat/vat.h')
-rw-r--r--vpp-api-test/vat/vat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp-api-test/vat/vat.h b/vpp-api-test/vat/vat.h
index 0d012cf2d32..b32d9ffc754 100644
--- a/vpp-api-test/vat/vat.h
+++ b/vpp-api-test/vat/vat.h
@@ -94,6 +94,10 @@ typedef struct {
/* subinterface table */
sw_interface_subif_t * sw_if_subif_table;
+ /* Graph node table */
+ uword * graph_node_index_by_name;
+ vlib_node_t ** graph_nodes;
+
/* ip tables */
ip_details_t * ip_details_by_sw_if_index[2];
@@ -115,6 +119,7 @@ typedef struct {
/* Errors by number */
uword * error_string_by_error_number;
+
/* Main thread can spin (w/ timeout) here if needed */
u32 async_mode;
u32 async_errors;