Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vcl/session: apps with process workers
[vpp.git]
/
src
/
plugins
/
unittest
/
session_test.c
diff --git
a/src/plugins/unittest/session_test.c
b/src/plugins/unittest/session_test.c
index
182a8e8
..
e245166
100644
(file)
--- a/
src/plugins/unittest/session_test.c
+++ b/
src/plugins/unittest/session_test.c
@@
-216,6
+216,7
@@
session_test_basic (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
return 0;
};
vnet_application_detach (&detach_args);
return 0;
@@
-393,6
+394,7
@@
session_test_endpoint_cfg (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
detach_args.app_index = client_index;
};
vnet_application_detach (&detach_args);
detach_args.app_index = client_index;
@@
-463,6
+465,7
@@
session_test_namespace (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = 0,
vnet_app_detach_args_t detach_args = {
.app_index = 0,
+ .api_client_index = ~0,
};
ip4_address_t intf_addr = {
};
ip4_address_t intf_addr = {
@@
-1562,6
+1565,7
@@
session_test_rules (vlib_main_t * vm, unformat_input_t * input)
vec_free (args.table_args.tag);
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
vec_free (args.table_args.tag);
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
};
vnet_application_detach (&detach_args);
@@
-1677,6
+1681,7
@@
session_test_proxy (vlib_main_t * vm, unformat_input_t * input)
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
vnet_app_detach_args_t detach_args = {
.app_index = server_index,
+ .api_client_index = ~0,
};
vnet_application_detach (&detach_args);
};
vnet_application_detach (&detach_args);