From b44e9bc90b634b07d5f93a731a95028adc73bcbc Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 19 Feb 2016 09:06:23 -0500 Subject: 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 --- vpp/api/vpe.api | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'vpp/api/vpe.api') diff --git a/vpp/api/vpe.api b/vpp/api/vpe.api index bc3e107f0c0..d76a5c8eb88 100644 --- a/vpp/api/vpe.api +++ b/vpp/api/vpe.api @@ -2809,3 +2809,28 @@ define cop_whitelist_enable_disable_reply { i32 retval; }; +/** \brief get_node_graph - get a copy of the vpp node graph + including the current set of graph arcs. + + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request +*/ + +define get_node_graph { + u32 client_index; + u32 context; +}; + +/** \brief get_node_graph_reply + @param context - returned sender context, to match reply w/ request + @param retval - return code + @param reply_in_shmem - result from vlib_node_serialize, in shared + memory. Process with vlib_node_unserialize, remember to switch + heaps and free the result. +*/ + +define get_node_graph_reply { + u32 context; + i32 retval; + u64 reply_in_shmem; +}; -- cgit 1.2.3-korg