diff options
author | Keith Burns (alagalah) <alagalah@gmail.com> | 2016-07-19 14:47:43 -0700 |
---|---|---|
committer | Keith Burns (alagalah) <alagalah@gmail.com> | 2016-07-19 14:47:43 -0700 |
commit | c61080e76c9771de6f2beaba23fabe3aa4764a9b (patch) | |
tree | 254a447737a2c2797252629fc56e7f1a9a5c9b0e /vpp/vpp-api/vpe.api | |
parent | 3b2944d5f1bc7b42b31293d0d19f36b237490cd6 (diff) |
VPP-203 Find the relative next node index by node names
vat# get_next_index node-name vxlan4-input next-node-name l2-input
next node index 1
Change-Id: Ib71be8a408d08d59b0ed7dfb6ada9711cf29bd69
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Diffstat (limited to 'vpp/vpp-api/vpe.api')
-rw-r--r-- | vpp/vpp-api/vpe.api | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vpp/vpp-api/vpe.api b/vpp/vpp-api/vpe.api index dd50d840..25e6ebaa 100644 --- a/vpp/vpp-api/vpe.api +++ b/vpp/vpp-api/vpe.api @@ -4087,3 +4087,27 @@ manual_java define ipfix_details { u32 path_mtu; u32 template_interval; }; + +/** \brief Query relative index via node names + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param node_name - name of node to find relative index from + @param next_name - next node from node_name to find relative index of +*/ +define get_next_index { + u32 client_index; + u32 context; + u8 node_name[64]; + u8 next_name[64]; +}; + +/** \brief Reply for get next node index + @param context - sender context which was passed in the request + @param retval - return value + @param next_index - index of the next_node +*/ +define get_next_index_reply { + u32 context; + i32 retval; + u32 next_index; +}; |