aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-02-23WIP: Fooozecke/vty-reworkHolger Hans Peter Freyther1-2/+2
2011-02-23mtp: Attempt to implement the MTP Restart properlyHolger Hans Peter Freyther3-20/+101
For the SSP functionatilty we will need to have the timers T18 and T20. In the period of T18 we will collect TFP/TFR/TFA for the reachable nodes of the system. Each of this node will send us a TRA when it is finished. Right now we assume to only have one node and stop the T18 after the TRA of this node. Then we would need to send the TFP/TFR we have collected. On the expiry of the T20 timer we will need to send our TRA and notify local users. For more complex routing we will need to have a shared routing cache and remember which SSNs and OPCs are reachable and have inter linkset notifications.
2011-02-23WIP... this broke in the vty changeHolger Hans Peter Freyther1-0/+2
2011-02-23mtp: Do not start linktest on a blocked linkHolger Hans Peter Freyther1-0/+6
2011-02-22vty: Add all mighty new vty interface for osmo-stpHolger Hans Peter Freyther18-317/+1299
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app.
2011-02-22vty: Move the actual commands into a new file in preparationHolger Hans Peter Freyther3-232/+273
2011-02-22vty: Always work through the linkset number for the commandsHolger Hans Peter Freyther1-21/+9
2011-02-22misc: Use llist_add_tail to add new links to the endHolger Hans Peter Freyther5-5/+5
2011-02-22m2ua: Make sure all replies contain the link identifierHolger Hans Peter Freyther1-1/+11
2011-02-22vty: Remove more globals from the bsc data.Holger Hans Peter Freyther8-89/+117
This is a interim solution until we have the new and all mighty new config file format. This should work for now, makes the init abit harder to understand though.
2011-02-17m2ua: Start link only after we had the emergency alignmentHolger Hans Peter Freyther2-3/+8
This should avoid us getting an error as we are sending the SLTM too fast. In one way this makes sense, on the other hand we already have too many states and should remove some variables
2011-02-17log: Improve some logging messages across several files.Holger Hans Peter Freyther2-16/+21
2011-02-17m2ua: Do nothing on a reset request for now.Holger Hans Peter Freyther1-4/+10
Only restart the link test on this link in case the link is present and we need to do things. The link up/down should be controlled in a different way.
2011-02-17m2ua: Keep the M2UA ASP state in the mtp_m2ua_linkHolger Hans Peter Freyther2-36/+97
This change allows to run multiple links over the same SCTP connection or multiple SCTP connections. It does not yet support fail over handling or load balancing but that seems possible now.
2011-02-17m2ua: Include the interface identifier in the notify messageHolger Hans Peter Freyther1-2/+5
2011-02-17mtp: Rename link_no to nr, add a name like for the other commandsHolger Hans Peter Freyther6-53/+63
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther10-70/+132
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link.
2011-02-17vty: Move link commands from the name to the linkset numberHolger Hans Peter Freyther1-10/+10
2011-02-17mtp: Stop hardcoding the supported SSN inside the mtp_layer3.cHolger Hans Peter Freyther4-2/+15
Stop hardcoding the supported ssn's inside the mtp_layer3.c and make it possible to allow to configure this in the future.
2011-02-17mtp: Remove the bsc pointer from the MTP LinkSetHolger Hans Peter Freyther5-8/+7
2011-02-17mtp: Rename no to nr to align with the rest of the structsHolger Hans Peter Freyther3-8/+8
2011-02-17bsc: Print the talloc allocation report on SIGUSR1Holger Hans Peter Freyther1-0/+9
2011-02-17bsc: Move the signal handling code over to the bsc.cHolger Hans Peter Freyther3-67/+46
2011-02-17bsc: Move the option parsing into the common code in bsc.cHolger Hans Peter Freyther3-146/+90
2011-02-17bsc: Cleanup some fields and namesHolger Hans Peter Freyther5-15/+5
2011-02-17ss7: Move all mtp linksets callbacks into the app layerHolger Hans Peter Freyther4-60/+77
2011-02-17ss7: Move the linkset up/down into the ss7_app, move some code aroundHolger Hans Peter Freyther6-56/+65
2011-02-17ss7: Provide a way to start the applicationHolger Hans Peter Freyther5-38/+35
2011-02-17ss7: Create a SS7 application that is responsible for the routingHolger Hans Peter Freyther15-115/+499
2011-02-17msc: Move more state into the sccp_state.cHolger Hans Peter Freyther3-25/+11
2011-02-17msc: Move the nat handling into the sccp_state for nowHolger Hans Peter Freyther3-42/+50
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther15-172/+314
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-17m2ua: Start to separate the SCTP code and M2UA to allow multiple linksHolger Hans Peter Freyther4-61/+141
We want to be able to support multiple links over different SCTP connection and in the future also over the same connection. This is the first step to separate the SCTP connection handling from the link handling inside these messages.
2011-02-17mtp: Allow to find a linkset by numberHolger Hans Peter Freyther2-26/+38
2011-02-17mtp: Allocate the MTPLinkSet as a child of the BSCHolger Hans Peter Freyther8-35/+28
In preparation of the VTY code change, make the mtp linkset a child of the bsc.
2011-02-17bsc: Allocate the bsc with talloc insteadHolger Hans Peter Freyther8-118/+151
Allocate the bsc with talloc to have a nice root context for everything in the system.
2011-02-17m2ua: Close a huge memory leak in the m2ua code.Holger Hans Peter Freyther1-3/+6
2011-02-17vty; Remove the lac/mnc/mcc option as this was never implementedHolger Hans Peter Freyther1-38/+0
2011-02-10msc: The udt_relay could be implemented with the normal cellmgr nowHolger Hans Peter Freyther3-318/+7
Simplify the code and remove the standalone udt_relay application, the job can be done with cellmgr_ng. This will happen after we have settled for a new config file format.
2011-02-10msc: In forward_only mode never ask any of the connection tracking codeHolger Hans Peter Freyther1-3/+5
For the forward only code we never want to go through the other cases, make sure to always return.
2011-02-10bsc: Remove the m2ua_set pointer from the struct as wellHolger Hans Peter Freyther2-16/+16
2011-02-10bsc: Remove the global link_set pointer from the bscHolger Hans Peter Freyther7-98/+128
Start removing the static names for the linkset
2011-02-10bsc: Move the connection tracking code out of main fileHolger Hans Peter Freyther3-471/+517
2011-02-10bsc: Stop using the bsc.link_set directlyHolger Hans Peter Freyther1-5/+7
2011-02-10bsc: Move the BSC<->MSC variables to a new struct.Holger Hans Peter Freyther11-301/+333
Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config)
2011-02-10stp: Allow/Disallow to inject messages on the UDP/M2UA interfaceHolger Hans Peter Freyther3-1/+14
2011-02-10stp: Add code that allows to inject messages on any linksetHolger Hans Peter Freyther4-2/+145
This can be useful to test out certain messages without having any of the linksets be fully connected. It is not possible to get the result. In the future this code should reply with an M2UA error message if something went wrong.
2011-01-31vty: Fix the help and the parameters for the trace commandHolger Hans Peter Freyther1-3/+3
2011-01-30isup: Make it possible for the STP to handle/not handle ISUP messagesHolger Hans Peter Freyther3-2/+25
Add an option to decide if we should handle GROUP BLOCK and RESET messages inside the STP or if we should forward those as well.
2011-01-28mtp: Turn error messages into full sentences.Holger Hans Peter Freyther4-21/+31
Turn the error messages into full sentences that end with a full stop. Try to put the link set name and the link number into these messages.