Hi,

I’m having trouble getting a basic test working using the VPP C++ API with a 
plugin. I haven’t been able to find any examples of using the VPP C++ API with 
plugins. It seems like I’m missing something simple but it is not clear what 
that is.

I was able to get the VPP native C++ APIs working like “Show_version” but when 
I try to use an API from a plugin I get an "unexpected message id” exception on 
the reply message.

I have a simple test program which is based on the ACL plugin get_version, 
which is in full below.

I enabled the VAPI_DBG debug in my program and added a bit more in a few 
places. It also seems to be the reply messaging having a problem so I am 
suspecting I’m missing something in my client.

The suspicious part to me is the constructor for the request and reply Msg is 
not using the Acl_plugin_get_verision type, it is using control_ping_reply 
which is msg_id == 0:

DBG:vapi.c:395:vapi_connect():finished probing messages
Sending ACL get_version...
DBG:vapi.hpp:603:Msg():MYDEBUG get_msg_id() == 0
DBG:vapi.hpp:610:Msg():New Msg<control_ping_reply>@0x7ffc74c9cfe8 
shm_data@0x1300b9fa8
DBG:vapi.hpp:603:Msg():MYDEBUG get_msg_id() == 0
DBG:vapi.hpp:610:Msg():New Msg<control_ping_reply>@0x7ffc74c9cff8 shm_data@(nil)
Execute...
DBG:acl.api.vapi.h:587:vapi_msg_acl_plugin_get_version_hton():Swapping 
`vapi_msg_acl_plugin_get_version'@0x1300b9fa8 to big endian
DBG:vapi.c:462:vapi_send():send msg@0x1300b9fa8:630[acl_plugin_get_version]
DBG:vapi.c:484:vapi_send():vapi_send() rv = 0
DBG:vapi.hpp:373:send():Push 0x7ffc74c9cfb0
Wait...
DBG:vapi.c:553:vapi_recv():doing shm queue sub
DBG:vapi.c:176:vapi_add_to_be_freed():To be freed 0x130052f10
DBG:vapi.c:579:vapi_recv():recv 
msg@0x130052f10:631[acl_plugin_get_version_reply]
DBG:vapi.hpp:277:dispatch():MYDEBUG has context
DBG:vapi.hpp:284:dispatch():MYDEBUG context match id=80
terminate called after throwing an instance of 
'vapi::Unexpected_msg_id_exception'
  what():  unexpected message id
Aborted (core dumped)


Any chance anyone knows off hand what I am missing?

Thanks!


Test program:

#include <memory>
#include <stdio.h>
#include <unistd.h>
#include <assert.h>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <vapi/vapi.hpp>
#include <vapi/acl.api.vapi.hpp>
#pragma GCC diagnostic pop

DEFINE_VAPI_MSG_IDS_ACL_API_JSON;

#define WAIT_FOR_RESPONSE(param, ret)      \
  do                                       \
    {                                      \
      ret = con.wait_for_response (param); \
    }                                      \
  while (ret == VAPI_EAGAIN)

using namespace vapi;

int main (void)
{
    Connection con;
    const char *app_name = "test_app";
    char *api_prefix = NULL;
    int max_outstanding_requests = 32;
    int response_queue_size = 32;
    vapi_error_e rv;

    printf ("App name `%s Connecting...\n", app_name);

    /* connect to the VPP API */
    rv = con.connect (app_name,
                      api_prefix,
                      max_outstanding_requests,
                      response_queue_size);
    assert (VAPI_OK == rv);

    printf("Sending ACL get_version...\n");
    Acl_plugin_get_version acl (con);

    printf("Execute...\n");
    rv = acl.execute();

    printf("Wait...\n");
    WAIT_FOR_RESPONSE(acl, rv);
    assert(rv == VAPI_OK);

    printf("Get Response...\n");
    auto &response = acl.get_response();

    printf("Get Payload...\n");
    auto rp = response.get_payload();

    printf("Got major=%d minor=%d\n", rp.major, rp.minor);

    /* disconnect from the VPP API */
    con.disconnect ();
    return 0;
}


Full Debug Output:

DBG:vpe.api.vapi.h:222:__vapi_constructor_control_ping_reply():Assigned msg id 
0 to control_ping_reply
DBG:vpe.api.vapi.h:336:__vapi_constructor_control_ping():Assigned msg id 1 to 
control_ping
DBG:vpe.api.vapi.h:402:__vapi_constructor_cli_reply():Assigned msg id 2 to 
cli_reply
DBG:vpe.api.vapi.h:531:__vapi_constructor_cli():Assigned msg id 3 to cli
DBG:vpe.api.vapi.h:595:__vapi_constructor_cli_inband_reply():Assigned msg id 4 
to cli_inband_reply
DBG:vpe.api.vapi.h:724:__vapi_constructor_cli_inband():Assigned msg id 5 to 
cli_inband
DBG:vpe.api.vapi.h:790:__vapi_constructor_get_node_index_reply():Assigned msg 
id 6 to get_node_index_reply
DBG:vpe.api.vapi.h:919:__vapi_constructor_get_node_index():Assigned msg id 7 to 
get_node_index
DBG:vpe.api.vapi.h:985:__vapi_constructor_add_node_next_reply():Assigned msg id 
8 to add_node_next_reply
DBG:vpe.api.vapi.h:1115:__vapi_constructor_add_node_next():Assigned msg id 9 to 
add_node_next
DBG:vpe.api.vapi.h:1182:__vapi_constructor_show_version_reply():Assigned msg id 
10 to show_version_reply
DBG:vpe.api.vapi.h:1296:__vapi_constructor_show_version():Assigned msg id 11 to 
show_version
DBG:vpe.api.vapi.h:1365:__vapi_constructor_show_threads_reply():Assigned msg id 
12 to show_threads_reply
DBG:vpe.api.vapi.h:1479:__vapi_constructor_show_threads():Assigned msg id 13 to 
show_threads
DBG:vpe.api.vapi.h:1545:__vapi_constructor_get_node_graph_reply():Assigned msg 
id 14 to get_node_graph_reply
DBG:vpe.api.vapi.h:1659:__vapi_constructor_get_node_graph():Assigned msg id 15 
to get_node_graph
DBG:vpe.api.vapi.h:1725:__vapi_constructor_get_next_index_reply():Assigned msg 
id 16 to get_next_index_reply
DBG:vpe.api.vapi.h:1855:__vapi_constructor_get_next_index():Assigned msg id 17 
to get_next_index
DBG:vpe.api.vapi.h:1921:__vapi_constructor_log_details():Assigned msg id 18 to 
log_details
DBG:vpe.api.vapi.h:2050:__vapi_constructor_log_dump():Assigned msg id 19 to 
log_dump
DBG:vpe.api.vapi.h:2114:__vapi_constructor_show_vpe_system_time_reply():Assigned
 msg id 20 to show_vpe_system_time_reply
DBG:vpe.api.vapi.h:2228:__vapi_constructor_show_vpe_system_time():Assigned msg 
id 21 to show_vpe_system_time
DBG:vpe.api.vapi.h:2292:__vapi_constructor_get_f64_endian_value_reply():Assigned
 msg id 22 to get_f64_endian_value_reply
DBG:vpe.api.vapi.h:2421:__vapi_constructor_get_f64_endian_value():Assigned msg 
id 23 to get_f64_endian_value
DBG:vpe.api.vapi.h:2485:__vapi_constructor_get_f64_increment_by_one_reply():Assigned
 msg id 24 to get_f64_increment_by_one_reply
DBG:vpe.api.vapi.h:2614:__vapi_constructor_get_f64_increment_by_one():Assigned 
msg id 25 to get_f64_increment_by_one
DBG:memclnt.api.vapi.h:164:__vapi_constructor_memclnt_create_reply():Assigned 
msg id 26 to memclnt_create_reply
DBG:memclnt.api.vapi.h:299:__vapi_constructor_memclnt_create():Assigned msg id 
27 to memclnt_create
DBG:memclnt.api.vapi.h:368:__vapi_constructor_memclnt_delete_reply():Assigned 
msg id 28 to memclnt_delete_reply
DBG:memclnt.api.vapi.h:439:__vapi_constructor_rpc_call_reply():Assigned msg id 
29 to rpc_call_reply
DBG:memclnt.api.vapi.h:576:__vapi_constructor_rpc_call():Assigned msg id 30 to 
rpc_call
DBG:memclnt.api.vapi.h:642:__vapi_constructor_get_first_msg_id_reply():Assigned 
msg id 31 to get_first_msg_id_reply
DBG:memclnt.api.vapi.h:771:__vapi_constructor_get_first_msg_id():Assigned msg 
id 32 to get_first_msg_id
DBG:memclnt.api.vapi.h:840:__vapi_constructor_api_versions_reply():Assigned msg 
id 33 to api_versions_reply
DBG:memclnt.api.vapi.h:954:__vapi_constructor_api_versions():Assigned msg id 34 
to api_versions
DBG:memclnt.api.vapi.h:1026:__vapi_constructor_sockclnt_create_reply():Assigned 
msg id 35 to sockclnt_create_reply
DBG:memclnt.api.vapi.h:1154:__vapi_constructor_sockclnt_create():Assigned msg 
id 36 to sockclnt_create
DBG:memclnt.api.vapi.h:1217:__vapi_constructor_sockclnt_delete_reply():Assigned 
msg id 37 to sockclnt_delete_reply
DBG:memclnt.api.vapi.h:1346:__vapi_constructor_sockclnt_delete():Assigned msg 
id 38 to sockclnt_delete
DBG:memclnt.api.vapi.h:1409:__vapi_constructor_sock_init_shm_reply():Assigned 
msg id 39 to sock_init_shm_reply
DBG:memclnt.api.vapi.h:1543:__vapi_constructor_sock_init_shm():Assigned msg id 
40 to sock_init_shm
DBG:memclnt.api.vapi.h:1606:__vapi_constructor_memclnt_keepalive_reply():Assigned
 msg id 41 to memclnt_keepalive_reply
DBG:memclnt.api.vapi.h:1720:__vapi_constructor_memclnt_keepalive():Assigned msg 
id 42 to memclnt_keepalive
DBG:acl.api.vapi.h:4174:__vapi_constructor_acl_stats_intf_counters_enable():Assigned
 msg id 43 to acl_stats_intf_counters_enable
DBG:acl.api.vapi.h:4045:__vapi_constructor_acl_stats_intf_counters_enable_reply():Assigned
 msg id 44 to acl_stats_intf_counters_enable_reply
DBG:acl.api.vapi.h:3982:__vapi_constructor_acl_interface_etype_whitelist_dump():Assigned
 msg id 45 to acl_interface_etype_whitelist_dump
DBG:acl.api.vapi.h:3853:__vapi_constructor_acl_interface_etype_whitelist_details():Assigned
 msg id 46 to acl_interface_etype_whitelist_details
DBG:acl.api.vapi.h:3785:__vapi_constructor_acl_interface_set_etype_whitelist():Assigned
 msg id 47 to acl_interface_set_etype_whitelist
DBG:acl.api.vapi.h:3650:__vapi_constructor_acl_interface_set_etype_whitelist_reply():Assigned
 msg id 48 to acl_interface_set_etype_whitelist_reply
DBG:acl.api.vapi.h:3587:__vapi_constructor_macip_acl_interface_list_dump():Assigned
 msg id 49 to macip_acl_interface_list_dump
DBG:acl.api.vapi.h:3458:__vapi_constructor_macip_acl_interface_list_details():Assigned
 msg id 50 to macip_acl_interface_list_details
DBG:acl.api.vapi.h:3391:__vapi_constructor_macip_acl_interface_get():Assigned 
msg id 51 to macip_acl_interface_get
DBG:acl.api.vapi.h:3277:__vapi_constructor_macip_acl_interface_get_reply():Assigned
 msg id 52 to macip_acl_interface_get_reply
DBG:acl.api.vapi.h:3211:__vapi_constructor_macip_acl_dump():Assigned msg id 53 
to macip_acl_dump
DBG:acl.api.vapi.h:3082:__vapi_constructor_macip_acl_details():Assigned msg id 
54 to macip_acl_details
DBG:acl.api.vapi.h:3014:__vapi_constructor_macip_acl_interface_add_del():Assigned
 msg id 55 to macip_acl_interface_add_del
DBG:acl.api.vapi.h:2881:__vapi_constructor_macip_acl_interface_add_del_reply():Assigned
 msg id 56 to macip_acl_interface_add_del_reply
DBG:acl.api.vapi.h:2818:__vapi_constructor_macip_acl_del():Assigned msg id 57 
to macip_acl_del
DBG:acl.api.vapi.h:2689:__vapi_constructor_macip_acl_del_reply():Assigned msg 
id 58 to macip_acl_del_reply
DBG:acl.api.vapi.h:2626:__vapi_constructor_macip_acl_add_replace():Assigned msg 
id 59 to macip_acl_add_replace
DBG:acl.api.vapi.h:2491:__vapi_constructor_macip_acl_add_replace_reply():Assigned
 msg id 60 to macip_acl_add_replace_reply
DBG:acl.api.vapi.h:2425:__vapi_constructor_macip_acl_add():Assigned msg id 61 
to macip_acl_add
DBG:acl.api.vapi.h:2293:__vapi_constructor_macip_acl_add_reply():Assigned msg 
id 62 to macip_acl_add_reply
DBG:acl.api.vapi.h:2227:__vapi_constructor_acl_interface_list_dump():Assigned 
msg id 63 to acl_interface_list_dump
DBG:acl.api.vapi.h:2098:__vapi_constructor_acl_interface_list_details():Assigned
 msg id 64 to acl_interface_list_details
DBG:acl.api.vapi.h:2030:__vapi_constructor_acl_dump():Assigned msg id 65 to 
acl_dump
DBG:acl.api.vapi.h:1901:__vapi_constructor_acl_details():Assigned msg id 66 to 
acl_details
DBG:acl.api.vapi.h:1831:__vapi_constructor_acl_interface_set_acl_list():Assigned
 msg id 67 to acl_interface_set_acl_list
DBG:acl.api.vapi.h:1696:__vapi_constructor_acl_interface_set_acl_list_reply():Assigned
 msg id 68 to acl_interface_set_acl_list_reply
DBG:acl.api.vapi.h:1633:__vapi_constructor_acl_interface_add_del():Assigned msg 
id 69 to acl_interface_add_del
DBG:acl.api.vapi.h:1499:__vapi_constructor_acl_interface_add_del_reply():Assigned
 msg id 70 to acl_interface_add_del_reply
DBG:acl.api.vapi.h:1436:__vapi_constructor_acl_del():Assigned msg id 71 to 
acl_del
DBG:acl.api.vapi.h:1307:__vapi_constructor_acl_del_reply():Assigned msg id 72 
to acl_del_reply
DBG:acl.api.vapi.h:1244:__vapi_constructor_acl_add_replace():Assigned msg id 73 
to acl_add_replace
DBG:acl.api.vapi.h:1107:__vapi_constructor_acl_add_replace_reply():Assigned msg 
id 74 to acl_add_replace_reply
DBG:acl.api.vapi.h:1041:__vapi_constructor_acl_plugin_get_conn_table_max_entries():Assigned
 msg id 75 to acl_plugin_get_conn_table_max_entries
DBG:acl.api.vapi.h:927:__vapi_constructor_acl_plugin_get_conn_table_max_entries_reply():Assigned
 msg id 76 to acl_plugin_get_conn_table_max_entries_reply
DBG:acl.api.vapi.h:864:__vapi_constructor_acl_plugin_control_ping():Assigned 
msg id 77 to acl_plugin_control_ping
DBG:acl.api.vapi.h:750:__vapi_constructor_acl_plugin_control_ping_reply():Assigned
 msg id 78 to acl_plugin_control_ping_reply
DBG:acl.api.vapi.h:681:__vapi_constructor_acl_plugin_get_version():Assigned msg 
id 79 to acl_plugin_get_version
DBG:acl.api.vapi.h:567:__vapi_constructor_acl_plugin_get_version_reply():Assigned
 msg id 80 to acl_plugin_get_version_reply
DBG:vpe.api.vapi.h:2614:__vapi_constructor_get_f64_increment_by_one():Assigned 
msg id 25 to get_f64_increment_by_one
DBG:vpe.api.vapi.h:2485:__vapi_constructor_get_f64_increment_by_one_reply():Assigned
 msg id 24 to get_f64_increment_by_one_reply
DBG:vpe.api.vapi.h:2421:__vapi_constructor_get_f64_endian_value():Assigned msg 
id 23 to get_f64_endian_value
DBG:vpe.api.vapi.h:2292:__vapi_constructor_get_f64_endian_value_reply():Assigned
 msg id 22 to get_f64_endian_value_reply
DBG:vpe.api.vapi.h:2228:__vapi_constructor_show_vpe_system_time():Assigned msg 
id 21 to show_vpe_system_time
DBG:vpe.api.vapi.h:2114:__vapi_constructor_show_vpe_system_time_reply():Assigned
 msg id 20 to show_vpe_system_time_reply
DBG:vpe.api.vapi.h:2050:__vapi_constructor_log_dump():Assigned msg id 19 to 
log_dump
DBG:vpe.api.vapi.h:1921:__vapi_constructor_log_details():Assigned msg id 18 to 
log_details
DBG:vpe.api.vapi.h:1855:__vapi_constructor_get_next_index():Assigned msg id 17 
to get_next_index
DBG:vpe.api.vapi.h:1725:__vapi_constructor_get_next_index_reply():Assigned msg 
id 16 to get_next_index_reply
DBG:vpe.api.vapi.h:1659:__vapi_constructor_get_node_graph():Assigned msg id 15 
to get_node_graph
DBG:vpe.api.vapi.h:1545:__vapi_constructor_get_node_graph_reply():Assigned msg 
id 14 to get_node_graph_reply
DBG:vpe.api.vapi.h:1479:__vapi_constructor_show_threads():Assigned msg id 13 to 
show_threads
DBG:vpe.api.vapi.h:1365:__vapi_constructor_show_threads_reply():Assigned msg id 
12 to show_threads_reply
DBG:vpe.api.vapi.h:1296:__vapi_constructor_show_version():Assigned msg id 11 to 
show_version
DBG:vpe.api.vapi.h:1182:__vapi_constructor_show_version_reply():Assigned msg id 
10 to show_version_reply
DBG:vpe.api.vapi.h:1115:__vapi_constructor_add_node_next():Assigned msg id 9 to 
add_node_next
DBG:vpe.api.vapi.h:985:__vapi_constructor_add_node_next_reply():Assigned msg id 
8 to add_node_next_reply
DBG:vpe.api.vapi.h:919:__vapi_constructor_get_node_index():Assigned msg id 7 to 
get_node_index
DBG:vpe.api.vapi.h:790:__vapi_constructor_get_node_index_reply():Assigned msg 
id 6 to get_node_index_reply
DBG:vpe.api.vapi.h:724:__vapi_constructor_cli_inband():Assigned msg id 5 to 
cli_inband
DBG:vpe.api.vapi.h:595:__vapi_constructor_cli_inband_reply():Assigned msg id 4 
to cli_inband_reply
DBG:vpe.api.vapi.h:531:__vapi_constructor_cli():Assigned msg id 3 to cli
DBG:vpe.api.vapi.h:402:__vapi_constructor_cli_reply():Assigned msg id 2 to 
cli_reply
DBG:vpe.api.vapi.h:336:__vapi_constructor_control_ping():Assigned msg id 1 to 
control_ping
DBG:vpe.api.vapi.h:222:__vapi_constructor_control_ping_reply():Assigned msg id 
0 to control_ping_reply
App name `test_app Connecting...
DBG:vapi.c:336:vapi_connect():client api map `/vpe-api'
DBG:vapi.c:341:vapi_connect():connect client `test_app'
DBG:vapi.c:348:vapi_connect():start probing messages
DBG:vapi.c:384:vapi_connect():Message `control_ping_reply_f6b0b8ca' has 
vl_msg_id `572'
DBG:vapi.c:384:vapi_connect():Message `control_ping_51077d14' has vl_msg_id 
`571'
DBG:vapi.c:384:vapi_connect():Message `cli_reply_06d68297' has vl_msg_id `575'
DBG:vapi.c:384:vapi_connect():Message `cli_23bfbfff' has vl_msg_id `573'
DBG:vapi.c:384:vapi_connect():Message `cli_inband_reply_05879051' has vl_msg_id 
`576'
DBG:vapi.c:384:vapi_connect():Message `cli_inband_f8377302' has vl_msg_id `574'
DBG:vapi.c:384:vapi_connect():Message `get_node_index_reply_a8600b89' has 
vl_msg_id `578'
DBG:vapi.c:384:vapi_connect():Message `get_node_index_f1984c64' has vl_msg_id 
`577'
DBG:vapi.c:384:vapi_connect():Message `add_node_next_reply_2ed75f32' has 
vl_msg_id `580'
DBG:vapi.c:384:vapi_connect():Message `add_node_next_2457116d' has vl_msg_id 
`579'
DBG:vapi.c:384:vapi_connect():Message `show_version_reply_c919bde1' has 
vl_msg_id `582'
DBG:vapi.c:384:vapi_connect():Message `show_version_51077d14' has vl_msg_id 
`581'
DBG:vapi.c:384:vapi_connect():Message `show_threads_reply_efd78e83' has 
vl_msg_id `584'
DBG:vapi.c:384:vapi_connect():Message `show_threads_51077d14' has vl_msg_id 
`583'
DBG:vapi.c:384:vapi_connect():Message `get_node_graph_reply_06d68297' has 
vl_msg_id `586'
DBG:vapi.c:384:vapi_connect():Message `get_node_graph_51077d14' has vl_msg_id 
`585'
DBG:vapi.c:384:vapi_connect():Message `get_next_index_reply_2ed75f32' has 
vl_msg_id `588'
DBG:vapi.c:384:vapi_connect():Message `get_next_index_2457116d' has vl_msg_id 
`587'
DBG:vapi.c:384:vapi_connect():Message `log_details_255827a1' has vl_msg_id `590'
DBG:vapi.c:384:vapi_connect():Message `log_dump_6ab31753' has vl_msg_id `589'
DBG:vapi.c:384:vapi_connect():Message `show_vpe_system_time_reply_7ffd8193' has 
vl_msg_id `592'
DBG:vapi.c:384:vapi_connect():Message `show_vpe_system_time_51077d14' has 
vl_msg_id `591'
DBG:vapi.c:384:vapi_connect():Message `get_f64_endian_value_reply_7e02e404' has 
vl_msg_id `594'
DBG:vapi.c:384:vapi_connect():Message `get_f64_endian_value_809fcd44' has 
vl_msg_id `593'
DBG:vapi.c:384:vapi_connect():Message `get_f64_increment_by_one_reply_d25dbaa3' 
has vl_msg_id `596'
DBG:vapi.c:384:vapi_connect():Message `get_f64_increment_by_one_b64f027e' has 
vl_msg_id `595'
DBG:vapi.c:384:vapi_connect():Message `memclnt_create_reply_42ec4560' has 
vl_msg_id `2'
DBG:vapi.c:384:vapi_connect():Message `memclnt_create_9c5e1c2f' has vl_msg_id 
`1'
DBG:vapi.c:384:vapi_connect():Message `memclnt_delete_reply_3d3b6312' has 
vl_msg_id `4'
DBG:vapi.c:384:vapi_connect():Message `rpc_call_reply_e8d4e804' has vl_msg_id 
`9'
DBG:vapi.c:384:vapi_connect():Message `rpc_call_7e8a2c95' has vl_msg_id `8'
DBG:vapi.c:384:vapi_connect():Message `get_first_msg_id_reply_7d337472' has 
vl_msg_id `11'
DBG:vapi.c:384:vapi_connect():Message `get_first_msg_id_ebf79a66' has vl_msg_id 
`10'
DBG:vapi.c:384:vapi_connect():Message `api_versions_reply_5f0d99d6' has 
vl_msg_id `13'
DBG:vapi.c:384:vapi_connect():Message `api_versions_51077d14' has vl_msg_id `12'
DBG:vapi.c:384:vapi_connect():Message `sockclnt_create_reply_35166268' has 
vl_msg_id `16'
DBG:vapi.c:384:vapi_connect():Message `sockclnt_create_455fb9c4' has vl_msg_id 
`15'
DBG:vapi.c:384:vapi_connect():Message `sockclnt_delete_reply_8f38b1ee' has 
vl_msg_id `18'
DBG:vapi.c:384:vapi_connect():Message `sockclnt_delete_8ac76db6' has vl_msg_id 
`17'
DBG:vapi.c:384:vapi_connect():Message `sock_init_shm_reply_e8d4e804' has 
vl_msg_id `20'
DBG:vapi.c:384:vapi_connect():Message `sock_init_shm_51646d92' has vl_msg_id 
`19'
DBG:vapi.c:384:vapi_connect():Message `memclnt_keepalive_reply_e8d4e804' has 
vl_msg_id `22'
DBG:vapi.c:384:vapi_connect():Message `memclnt_keepalive_51077d14' has 
vl_msg_id `21'
DBG:vapi.c:384:vapi_connect():Message `acl_stats_intf_counters_enable_b3e225d2' 
has vl_msg_id `666'
DBG:vapi.c:384:vapi_connect():Message 
`acl_stats_intf_counters_enable_reply_e8d4e804' has vl_msg_id `667'
DBG:vapi.c:384:vapi_connect():Message 
`acl_interface_etype_whitelist_dump_f9e6675e' has vl_msg_id `664'
DBG:vapi.c:384:vapi_connect():Message 
`acl_interface_etype_whitelist_details_cc2bfded' has vl_msg_id `665'
DBG:vapi.c:384:vapi_connect():Message 
`acl_interface_set_etype_whitelist_3f5c2d2d' has vl_msg_id `662'
DBG:vapi.c:384:vapi_connect():Message 
`acl_interface_set_etype_whitelist_reply_e8d4e804' has vl_msg_id `663'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_interface_list_dump_f9e6675e' 
has vl_msg_id `660'
DBG:vapi.c:384:vapi_connect():Message 
`macip_acl_interface_list_details_a0c5d56d' has vl_msg_id `661'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_interface_get_51077d14' has 
vl_msg_id `658'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_interface_get_reply_accf9b05' 
has vl_msg_id `659'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_dump_ef34fea4' has vl_msg_id 
`656'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_details_57c7482f' has 
vl_msg_id `657'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_interface_add_del_4b8690b1' 
has vl_msg_id `654'
DBG:vapi.c:384:vapi_connect():Message 
`macip_acl_interface_add_del_reply_e8d4e804' has vl_msg_id `655'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_del_ef34fea4' has vl_msg_id 
`652'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_del_reply_e8d4e804' has 
vl_msg_id `653'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_add_replace_e34402a7' has 
vl_msg_id `650'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_add_replace_reply_ac407b0c' 
has vl_msg_id `651'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_add_d648fd0a' has vl_msg_id 
`648'
DBG:vapi.c:384:vapi_connect():Message `macip_acl_add_reply_ac407b0c' has 
vl_msg_id `649'
DBG:vapi.c:384:vapi_connect():Message `acl_interface_list_dump_f9e6675e' has 
vl_msg_id `646'
DBG:vapi.c:384:vapi_connect():Message `acl_interface_list_details_e695d256' has 
vl_msg_id `647'
DBG:vapi.c:384:vapi_connect():Message `acl_dump_ef34fea4' has vl_msg_id `644'
DBG:vapi.c:384:vapi_connect():Message `acl_details_7a97f21c' has vl_msg_id `645'
DBG:vapi.c:384:vapi_connect():Message `acl_interface_set_acl_list_473982bd' has 
vl_msg_id `642'
DBG:vapi.c:384:vapi_connect():Message 
`acl_interface_set_acl_list_reply_e8d4e804' has vl_msg_id `643'
DBG:vapi.c:384:vapi_connect():Message `acl_interface_add_del_4b54bebd' has 
vl_msg_id `640'
DBG:vapi.c:384:vapi_connect():Message `acl_interface_add_del_reply_e8d4e804' 
has vl_msg_id `641'
DBG:vapi.c:384:vapi_connect():Message `acl_del_ef34fea4' has vl_msg_id `638'
DBG:vapi.c:384:vapi_connect():Message `acl_del_reply_e8d4e804' has vl_msg_id 
`639'
DBG:vapi.c:384:vapi_connect():Message `acl_add_replace_1cabdeab' has vl_msg_id 
`636'
DBG:vapi.c:384:vapi_connect():Message `acl_add_replace_reply_ac407b0c' has 
vl_msg_id `637'
DBG:vapi.c:384:vapi_connect():Message 
`acl_plugin_get_conn_table_max_entries_51077d14' has vl_msg_id `634'
DBG:vapi.c:384:vapi_connect():Message 
`acl_plugin_get_conn_table_max_entries_reply_7a096d3d' has vl_msg_id `635'
DBG:vapi.c:384:vapi_connect():Message `acl_plugin_control_ping_51077d14' has 
vl_msg_id `632'
DBG:vapi.c:384:vapi_connect():Message `acl_plugin_control_ping_reply_f6b0b8ca' 
has vl_msg_id `633'
DBG:vapi.c:384:vapi_connect():Message `acl_plugin_get_version_51077d14' has 
vl_msg_id `630'
DBG:vapi.c:384:vapi_connect():Message `acl_plugin_get_version_reply_9b32cf86' 
has vl_msg_id `631'
DBG:vapi.c:395:vapi_connect():finished probing messages
Sending ACL get_version...
DBG:vapi.hpp:603:Msg():MYDEBUG get_msg_id() == 0
DBG:vapi.hpp:610:Msg():New Msg<control_ping_reply>@0x7ffc888d6778 
shm_data@0x1300d7258
DBG:vapi.hpp:603:Msg():MYDEBUG get_msg_id() == 0
DBG:vapi.hpp:610:Msg():New Msg<control_ping_reply>@0x7ffc888d6788 shm_data@(nil)
Execute...
DBG:acl.api.vapi.h:587:vapi_msg_acl_plugin_get_version_hton():Swapping 
`vapi_msg_acl_plugin_get_version'@0x1300d7258 to big endian
DBG:vapi.c:462:vapi_send():send msg@0x1300d7258:630[acl_plugin_get_version]
DBG:vapi.c:484:vapi_send():vapi_send() rv = 0
DBG:vapi.hpp:373:send():Push 0x7ffc888d6740
Wait...
DBG:vapi.c:553:vapi_recv():doing shm queue sub
DBG:vapi.c:176:vapi_add_to_be_freed():To be freed 0x130052fc0
DBG:vapi.c:579:vapi_recv():recv 
msg@0x130052fc0:631[acl_plugin_get_version_reply]
DBG:vapi.hpp:277:dispatch():MYDEBUG has context
DBG:vapi.hpp:284:dispatch():MYDEBUG context match id=80
terminate called after throwing an instance of 
'vapi::Unexpected_msg_id_exception'
  what():  unexpected message id
Aborted (core dumped)


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19584): https://lists.fd.io/g/vpp-dev/message/19584
Mute This Topic: https://lists.fd.io/mt/83588605/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to