Commit
ca40fb4e1bbd57019ffe1f4ce0a33a511bea6503
by Pau Espin Pedrol
vty: Allow configuring xua server in ASP mode
The xua server has nothing to do with a node being an ASP or an SG, it used to allow transport server features (SCTP/TCP server). One may want to configure an ASP role with a SCTCP server.
Commit
ea0763629d1ff9c74316b2244d71bfa2ab98cf5f
by Pau Espin Pedrol
Refactor xua_layer_manager object
Several changes to improve separation of the LM object and its lifecycle: * Store in ss7_asp a pointer to a xua_layer_manager, which contains all implementation dependent information inside its priv pointer. * Add a new free_func field to the xua_layer_manager struct in order to be able to free it without knowing how it was allocated. * Get rid og the loglevel param, LOGL_DEBUG was always passed and that was actually an implementation specific detail of the default xua layer manager. * Pass pointer to function to be called by LM to submit primitives to M3UA.
Commit
401fb302bdfec62187dda36753ecc604b42ab491
by Pau Espin Pedrol
lm: Initialize layer manager also on role=SG
Right now the LM will stay in IDLE for role=SG, but it already provides with an easier logic where all xUA ASPs (no matter their role) have an associated FSM object, which can be extnded later on. This way we already valdiate the FSM instance lifecycle wroks as expected. It also allows in the future more easily integrating the LM in role IPSP, where it will need to be extended.