9
0
Fork 0
Commit Graph

42 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 60bc8e7dab mtp: Allow to send SCCP/ISUP to a specific endpoint
For a linkset define where SCCP/ISUP should be send. This config
should probably move up to the application part when real work on
the routing is done. Right now the sccp_opc/sccp_dpc need to stay
inside the mtp_layer3.c to be able to send a TFA for the reachable
OPC and it is easier to keep both (dpc/opc) in the same file.
2012-01-16 11:51:18 +01:00
Holger Hans Peter Freyther fc98ce252e vty: Add a config to enable MGCP command rewriting 2011-09-13 20:08:57 +02:00
Harald Welte ff397edf38 Adopt to recent libosmocore namespace changes and libosmogsm 2011-05-08 10:29:23 +02:00
Holger Hans Peter Freyther af3faf8a81 vty: Allow to specify 14 bits for the CPC. 2011-02-23 16:59:45 +01:00
Holger Hans Peter Freyther 47c9faac3b mtp: Attempt to implement the MTP Restart properly
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-23 15:27:09 +01:00
Holger Hans Peter Freyther 7176030e02 vty: Add all mighty new vty interface for osmo-stp
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-23 15:25:35 +01:00
Holger Hans Peter Freyther 2917644d50 vty: Move the actual commands into a new file in preparation 2011-02-22 21:05:59 +01:00
Holger Hans Peter Freyther 318e830463 vty: Always work through the linkset number for the commands 2011-02-22 21:05:59 +01:00
Holger Hans Peter Freyther cfe9d718e2 vty: Remove more globals from the bsc data.
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-22 21:05:59 +01:00
Holger Hans Peter Freyther 5a34c7f6f8 mtp: Rename link_no to nr, add a name like for the other commands 2011-02-17 19:34:28 +01:00
Holger Hans Peter Freyther 6c0b2e570c mtp: Make the mtp_link point to a specific type of link
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-17 19:34:28 +01:00
Holger Hans Peter Freyther ea247c1d0a vty: Move link commands from the name to the linkset number 2011-02-17 19:34:28 +01:00
Holger Hans Peter Freyther a7bc3aafdc ss7: Create a SS7 application that is responsible for the routing 2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther 84ec8714b2 msc: Move the MSC Connection into a new header file
This is in preparation of splitting the MSC part and the
nat logic for the upcoming config rewriting.
2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther 599c9a4b9a mtp: Allocate the MTPLinkSet as a child of the BSC
In preparation of the VTY code change, make the mtp linkset
a child of the bsc.
2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther 2ff47b8606 bsc: Allocate the bsc with talloc instead
Allocate the bsc with talloc to have a nice root context for
everything in the system.
2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther b187049925 vty; Remove the lac/mnc/mcc option as this was never implemented 2011-02-17 19:34:27 +01:00
Holger Hans Peter Freyther 89fa11af02 bsc: Remove the global link_set pointer from the bsc
Start removing the static names for the linkset
2011-02-10 20:09:09 +01:00
Holger Hans Peter Freyther e86c02e107 bsc: Move the BSC<->MSC variables to a new struct.
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-10 20:09:09 +01:00
Holger Hans Peter Freyther ee63d7d15e stp: Allow/Disallow to inject messages on the UDP/M2UA interface 2011-02-10 20:09:08 +01:00
Holger Hans Peter Freyther 6b71fd6192 vty: Fix the help and the parameters for the trace command 2011-01-31 22:41:03 +01:00
Holger Hans Peter Freyther f603f28488 isup: Make it possible for the STP to handle/not handle ISUP messages
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-30 00:24:15 +01:00
Holger Hans Peter Freyther 4c8ddb356c vty: Fix the up/down of the MSC link 2011-01-25 13:18:59 +01:00
Holger Hans Peter Freyther 3c2b84c607 vty: Show the SLC mapping of a linkset 2011-01-24 21:20:34 +01:00
Holger Hans Peter Freyther 4e2e242d70 mtp: Show blocked links as blocked in the vty stat 2011-01-24 16:14:26 +01:00
Holger Hans Peter Freyther 315ec675ba mtp: Implement VTY routines to block,unblock,reset a link
This can help in link management and reconfiguration of a
link at runtime. It is also a good engineering mode for
multiple linksets.
2011-01-24 16:14:25 +01:00
Holger Hans Peter Freyther fca7b12e0d vty: Install the vty logging commands 2011-01-22 23:19:44 +01:00
Holger Hans Peter Freyther 1b47ce5b9b stat: Dump a name next to the OPC 2011-01-22 21:33:18 +01:00
Holger Hans Peter Freyther 5b2fe8d45b pcap: Allow to start tracing on a specific linkset after app start
Allow to start to trace on a specific linkset after the application
has been started. This allows to stop tracing on a linkset as well.
2011-01-22 21:33:18 +01:00
Holger Hans Peter Freyther c6bfa27b5e udp: Allow to create multiple links via UDP
This is the easiest way to support multiple links over UDP.
Specify the number you want and they will be initiated. All
these links will run via the same UDP port.
2011-01-22 17:24:06 +01:00
Holger Hans Peter Freyther 0b31622482 vty: Print the MSC status on the VTY for relay/cellmgr 2011-01-22 16:43:14 +01:00
Holger Hans Peter Freyther a310e53243 vty: Classify the application that we run and provide different options
The VTY interface is used for three different application and not
every option will make sense for every app. In the long run we will
split the vty interface but for now we just qualify the application.
2011-01-22 16:34:16 +01:00
Holger Hans Peter Freyther 60af5dd57a stats: Print some statistics about the state of the current set 2011-01-22 16:22:18 +01:00
Holger Hans Peter Freyther 51b9e7a396 stats: Implement VTY command to dump the linksets 2011-01-22 16:22:18 +01:00
Holger Hans Peter Freyther 644aafbc94 mtp: Make the link_data be a child of the link_set
Change the order of the link and linkset. The link will be
below the linkset. This change should make it more easy to
introduce multiple linksets.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther de56c22702 license: Switch to the GNU AGPLv3 for this network service 2011-01-16 20:35:13 +01:00
Holger Hans Peter Freyther 7a72556577 mtp: Allow to have a different POC for SCCP 2011-01-01 13:34:58 +01:00
Holger Hans Peter Freyther 3bbb58bfdb mtp: Group all MTP settings together. 2010-11-26 21:25:38 +01:00
Holger Hans Peter Freyther b38b33b884 mtp: Make the spare/ni configurable 2010-11-26 21:21:04 +01:00
Holger Hans Peter Freyther 0e4e35fdd6 bsc: Be able to configure the LAC/MNC/MCC... 2010-09-30 03:04:28 +08:00
Holger Hans Peter Freyther 2656e8f4aa vty: Implement writing the config file 2010-09-30 00:41:37 +08:00
Holger Hans Peter Freyther 7942abc95d vty: Move the vty code to a new file, move config params. 2010-09-30 00:34:46 +08:00