session: move ctrl messages from bapi to mq 45/21445/26
authorFlorin Coras <fcoras@cisco.com>
Wed, 21 Aug 2019 23:20:44 +0000 (16:20 -0700)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 27 Aug 2019 18:21:39 +0000 (18:21 +0000)
commit458089bbad9cf5bef6cf8119f23fc44e66b36ad3
tree4ee7da1148172ca6f8a878746c8bd48c1e2dc95e
parent7adaa226eaa2401d6bb0dfd38a0d943c9645d7dc
session: move ctrl messages from bapi to mq

Type:refactor

Moves connect, disconnect, bind, unbind and app detach to message
queue from binary api. Simplifies app/vcl interaction with the session
layer since all session control messages are now handled over the mq.

Add/del segment messages require internal C api changes which affect all
builtin applications. They'll be moved in a different patch and might
not be back portable to 19.08.

Change-Id: I93f6d18e551b024effa75d47f5ff25f23ba8aff5
Signed-off-by: Florin Coras <fcoras@cisco.com>
14 files changed:
src/vcl/vcl_bapi.c
src/vcl/vcl_locked.c
src/vcl/vcl_private.c
src/vcl/vcl_private.h
src/vcl/vppcom.c
src/vnet/session/application.c
src/vnet/session/application.h
src/vnet/session/application_interface.h
src/vnet/session/session.api
src/vnet/session/session.c
src/vnet/session/session.h
src/vnet/session/session_api.c
src/vnet/session/session_node.c
src/vnet/session/session_types.h