aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2020-03-02 13:23:21 +0100
committerJakub Grajciar <jgrajcia@cisco.com>2020-03-17 07:51:40 +0000
commit933fcf489391f715339af685faefaf28701ecce2 (patch)
tree9aaa918239d63c5c73670d15a68fd425fbca2ca4 /src
parent6ca2ac3f80bc9c99d22e90e775a2e986cd0e6176 (diff)
api: API cleanup
Use consistent API types. Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: Ic108311e09c56cc2b3db63d5850598b6896a7897 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/vpe.api20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/vpp/api/vpe.api b/src/vpp/api/vpe.api
index 7846b8f34d7..3db34fec3d9 100644
--- a/src/vpp/api/vpe.api
+++ b/src/vpp/api/vpe.api
@@ -16,14 +16,14 @@
/** \file
This file defines vpe control-plane API messages which are generally
- called through a shared memory interface.
+ called through a shared memory interface.
*/
-option version = "1.6.0";
+option version = "1.6.1";
import "vpp/api/vpe_types.api";
-/*
+/*
* Note: API placement cleanup in progress
* If you're looking for interface APIs, please
* see .../src/vnet/{interface.api,interface_api.c}
@@ -121,7 +121,7 @@ define get_node_index
{
u32 client_index;
u32 context;
- u8 node_name[64];
+ string node_name[64];
};
/** \brief Get node index using name request
@@ -146,8 +146,8 @@ define add_node_next
{
u32 client_index;
u32 context;
- u8 node_name[64];
- u8 next_name[64];
+ string node_name[64];
+ string next_name[64];
};
/** \brief IP Set the next node for a given node response
@@ -215,8 +215,8 @@ define show_threads
typedef thread_data
{
u32 id;
- u8 name[64];
- u8 type[64];
+ string name[64];
+ string type[64];
u32 pid;
u32 cpu_id;
u32 core;
@@ -268,8 +268,8 @@ define get_next_index
{
u32 client_index;
u32 context;
- u8 node_name[64];
- u8 next_name[64];
+ string node_name[64];
+ string next_name[64];
};
/** \brief Reply for get next node index