Commit graph

280 commits

Author SHA1 Message Date
635c60ffc7 pdp shell function, Sort by IP 2020-09-22 14:31:09 +02:00
3715a8d162 mail setup: remove the mail domain.
This way the From: contains the origin hostname
2020-09-11 13:27:55 +02:00
10897aa03a Standardise a mailer setup
At least on Debian 10, use msmtp and install a basic configuration.
Previously the network was using a mishmash of exim, sendmail or
whatever happened to be installed. For the moment, install the config
also on debian9, some of which are using ssmtp, which is no longer
maintained in debian :(
2020-09-11 13:08:56 +02:00
3019892848 Add hiera params for FS version and pinning 2020-09-11 12:58:46 +02:00
acf328e03e Add path to bts_defs JSON in config_values 2020-09-09 14:04:32 +02:00
700b1a4fec Add a json BTS/TRX definition file to rccn 2020-09-09 13:46:03 +02:00
a5e853a415 Use port 23000 on sgsn 2020-09-03 22:04:48 +02:00
30bc66ca71 Add sms_db param and sms() shell function 2020-09-02 13:34:21 +02:00
d5b67e7b63 Write config by puppet in all .cfg 2020-09-02 12:38:49 +02:00
8262126398 log category (not hex) in all 2020-09-02 12:37:33 +02:00
3a6808de7c Update config templates to match vty
Match more or less what the vty writes
2020-09-02 12:36:04 +02:00
d62c4c3e2c OSMO: Remove deprecated config entries 2020-09-02 11:29:46 +02:00
f243fab7ab Add osmo-stp config file 2020-09-02 11:28:23 +02:00
3e2ad631c2 Fix error with BTS template:
Add SDCCH chans!
2020-08-28 18:51:52 +02:00
f6395068c8 Split stack: Initial commit install/configure
This commit installs the osmo stack daemons and configuration
if the hiera parameter rhizo::osmo_stack is 'split'

Setting this param won't break anything for a nitb based install,
but it will disable running the nitb and run osmo-bsc instead.
2020-08-28 17:08:37 +02:00
1cedf0c0fc Improve NITB config template.
Introduces a multiple file template and iterates over the defined
BTS array from the hiera data.

This is really a backport of the as yet uncommitted work on creating osmo-*
config files for the split stack. Making this change here for the nitb will
allow for removal for some deprecated variables in hiera.

At this time, I don't think there is any site that is actually using
a puppet-generated nitb config file, but if there were, the results of this code
should be more less funcionally equivalent, providing the BTS definition is correct.
2020-08-24 15:16:33 +02:00
695c794089 Fix command for checking hung puppet process
Previous version would result in running /bin/kill
with no parameter if the job ran while a young puppet
process was active.
2020-06-28 11:32:19 +02:00
de974d4cd7 Check for hung puppet process 2020-06-25 14:17:39 +02:00
da3546d02f Bump DB revision to 13 2020-06-25 14:11:31 +02:00
e1581b5a88 Add gateway to Ext RTP profile 2020-05-22 05:46:41 +02:00
85b3ab856c WS and comments 2020-05-22 04:20:28 +02:00
8b2e6e6eb3 Create templates for BTS config 2020-05-22 04:19:13 +02:00
ea3e00ee8e Add some scripts to the bts
Also, allocate a tty when ssh to the BTS
2020-05-22 04:00:37 +02:00
b1f8621aff Allow passing command to bts ssh 2020-05-21 23:13:11 +02:00
2ae8182631 Rebuild the SGSN acl every night 2020-05-21 03:13:50 +02:00
ec6278278b Add dids to config and vars 2020-05-20 02:55:58 +02:00
Monocots
6c834a2c01 Add a splash of colour to topcalls() 2020-05-19 23:13:26 +00:00
Monocots
27241a8300 Command line function to see NS Layer 2020-05-19 23:11:06 +00:00
Monocots
149014be19 Use the correct user to ssh to the BTS 2020-05-19 23:00:40 +00:00
98648569aa Add opkg credentials for BTS 2020-05-09 05:53:05 +02:00
Monocots
3a248c6a19 Add a basic systemd service template 2020-05-07 20:15:50 +00:00
7643099f6f Add functions to see active pdp contexts 2020-05-03 03:06:13 +02:00
1149a58bfd rename lcX function to bX 2020-05-03 03:05:32 +02:00
5238b5a847 First version of BTS provision script 2020-04-29 05:04:58 +02:00
72568990a0 shortcut functions for ssh to bts 2020-04-29 04:02:03 +02:00
bd8f00a3d0 Use arrays in scripts for BTSs 2020-04-29 02:41:05 +02:00
0e360b2194 Build BTS defs in vars.sh from array
and, Number the BTS from 0 in environment
2020-04-29 00:30:41 +02:00
be9d9573b8 Update the meas-web installation
Use new repo and add BTS definitions file
2020-04-28 23:17:38 +02:00
336b40b3eb FS add OPUS to global codecs 2020-04-17 05:39:10 +02:00
9f25f8a5d3 FS: fields in cdr 2020-04-17 05:38:54 +02:00
Monocots
c759b54620 add outbound charge type parameter 2020-04-17 05:22:34 +02:00
Monocots
4996cd3c43 Add config params for jitter buffer 2020-04-16 07:32:23 +02:00
Monocots
e784a04d04 Add free numbers variables 2020-04-10 21:15:36 +00:00
Monocots
11f589dafc Add sgsn ip to hiera 2020-03-03 20:17:21 +00:00
Monocots
fd597be076 Local user ssh config Includes config.local 2019-09-07 09:57:59 +00:00
Monocots
2c90ef70aa Purge the roaming subs less often 2019-09-06 12:04:22 +00:00
Monocots
c82822b5a7 NITB: data, use lac for unique NSEI
Also use the lac to form the local port
and use the ggsn ip address variable for the sgsn

FIXME: etc etc
2019-09-06 12:03:39 +00:00
Monocots
e7ea6b15f0 Add user ssh config
Add an ssh config with shortcut names to the main LiteCel
2019-09-06 12:00:43 +00:00
Monocots
a794825a5c Add sip connector config and runit files 2019-08-17 10:50:19 +00:00
Monocots
5853dadea3 Remove quotes around numeric config value 2019-08-12 12:18:11 +00:00