Commit graph

429 commits

Author SHA1 Message Date
Monocots
5f5eaf1fb5 SGSN: For sites using osmo-latest, ensure rhizo version
This installs a rhizo build of the sgsn with the Radio Priority Patch
Also force install deps.
2020-10-13 08:53:20 +00:00
893ba49e68 GPRS Services: Temporarily open to all
Open GPRS services and do not restart the osmo-sgsn every 24 hours.
Let's see how long it runs and how everything behaves with the maximum load
we can give it.
2020-10-13 01:59:14 +02:00
c564e17097 Always install and run osmo-sgsn
The old (soon to be removed) openbsc class installed
the osmo-sgsn dependent on a config parameter. Leave the config
param as a possibility to be set to 'disabled', but otherwise
install and run the sgsn.

Prevent errors output from cron jobs trying access the sgsn vty
2020-10-05 17:57:08 +02:00
d8fdd6ae94 Set rhizo_base:sms_db based on value of osmo_stack 2020-09-27 09:09:34 +02:00
63888df023 runit: conditionally require class based on osmo_stack hiera 2020-09-11 22:37:40 +02:00
2ac7e16908 We don't need the File resource for /var/rhizomatica at all 2020-09-11 22:25:02 +02:00
b7528bbc26 bts_defs.json; require vcsrepo, not file
The creation of this file should depend on the Vcsrepo, not on the File
directive, otherwise on an initial install if the file is created first,
then Vcsrepo will refuse to clone the repo:

  Error: Path /var/rhizomatica exists and is not the desired repository.
2020-09-11 19:02:37 +02:00
00de9779f1 Don't overwrite the FS lib when using split stack
The split stack no longer needs the payload type number hack, so don't use it
2020-09-11 14:17:23 +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
7943f105dd Fixup last commit 2020-09-11 13:02:10 +02:00
3019892848 Add hiera params for FS version and pinning 2020-09-11 12:58:46 +02:00
54c09b8aee buster: nodejs version 2020-09-09 14:03:12 +02:00
88b840a2e6 Cosmetic, reorder stanzas 2020-09-09 14:01:21 +02:00
a783cb49e3 Schedule repos that change less to once per day 2020-09-09 13:53:21 +02:00
3ee2735019 Add hiera param to disable rccn vcsrepo
In a development, you may not want puppet to change the remote and branch
in the rccn repo, so now you can disable that by setting the hiera param
'notouchrepo' - which cause the repo to rnu with a schedule of 'never'
2020-09-09 13:51:36 +02:00
700b1a4fec Add a json BTS/TRX definition file to rccn 2020-09-09 13:46:03 +02:00
6606f68db3 Add pinning config for stretch 2020-09-09 13:43:13 +02:00
901c9a66c0 Start MGW for MSC 2020-09-02 13:41:36 +02:00
30bc66ca71 Add sms_db param and sms() shell function 2020-09-02 13:34:21 +02:00
f243fab7ab Add osmo-stp config file 2020-09-02 11:28:23 +02:00
2b960b5fa3 Install sip connector latest on nightly 2020-09-02 11:27:41 +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
e6e7ff6afe Remove the sip connector .deb package from /tmp 2020-08-26 17:32:27 +02:00
cef7d9fe5d Add a rhizomatica deb package repo for buster 2020-08-26 17:26:48 +02:00
fb81bbdd55 Add a GPG Key to the rhizo-jessie repo 2020-08-26 17:26:03 +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
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
d29e4b4b85 Add more bts=>user mapping 2020-05-21 07:33:11 +02:00
Monocots
a04e2ea045 Add users for BTS types 2020-05-21 01:49:52 +00:00
0fb82f75b5 Correct some permissions in bin 2020-05-21 03:02:36 +02:00
ec6278278b Add dids to config and vars 2020-05-20 02:55:58 +02:00
Monocots
f3f9844b3c Set sip connector to 'installed'
avoids error on unable to find version
2020-05-19 23:12:56 +00:00
Monocots
149014be19 Use the correct user to ssh to the BTS 2020-05-19 23:00:40 +00:00
Monocots
f002e5fe56 Install iperf3 2020-05-19 22:56:44 +00:00
Monocots
4075d9ec29 Get hiera param for outbound rate type 2020-05-19 22:56:06 +00:00
Monocots
0d1a7d4b82 Add a param for a manual crontab 2020-05-19 22:33:12 +00:00
998e93fd6f Update FS to 1.10.3 2020-05-12 07:43:29 +02:00
Monocots
e56752e9a7 buster: update nodejs version 2020-05-13 17:01:44 +00:00
98648569aa Add opkg credentials for BTS 2020-05-09 05:53:05 +02:00
Monocots
72bde29cc3 Refresh expired repo signing keys 2020-05-08 02:00:50 +00:00
250461aae1 Install vty script in /usr/local/bin 2020-05-03 03:03:23 +02:00
3b68e47730 Ensure exec permissions on script in ~/bin
Adds module 'recursive_file_permissions' to do this
2020-05-01 01:32:51 +02:00
9685f7598c Add script to update from nightly 2020-04-29 06:24:13 +02:00
5238b5a847 First version of BTS provision script 2020-04-29 05:04:58 +02:00
3becae1f23 Adding skeleton test file to BTS scripts 2020-04-29 03:48:57 +02:00
e2e8c76b70 MEAS: make sure the pipe is a pipe 2020-04-28 23:52: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
46eb3e89a6 Update FS repo key ID 2020-04-28 23:15:00 +02:00