Commit graph

580 commits

Author SHA1 Message Date
635c60ffc7 pdp shell function, Sort by IP 2020-09-22 14:31:09 +02:00
Monocots
11b477e7fb meas: restart meas_json on web page load 2020-09-17 09:50:32 +00: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
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
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
5fafee41db Also pin LIBfreeswitch 2020-09-11 12:20:02 +02:00
4736d25c05 SysmoBTS: provision, skip bts on first ssh access error 2020-09-09 14:43:24 +02:00
be742ba98c SysmoBTS, check for 2050 in check.sh 2020-09-09 14:31:48 +02:00
93958cc875 Adding buster pinning preference 2020-09-09 14:13:03 +02:00
acf328e03e Add path to bts_defs JSON in config_values 2020-09-09 14:04:32 +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
f900041f67 BTS commissioning: Add script for network/interfaces
Read this script before running it!
2020-09-09 00:52:37 +02:00
a5e853a415 Use port 23000 on sgsn 2020-09-03 22:04:48 +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
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
2b960b5fa3 Install sip connector latest on nightly 2020-09-02 11:27:41 +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
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
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
ea47d2d229 Add utility scripts to (un)lock RF 2020-05-22 04:01:15 +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
d29e4b4b85 Add more bts=>user mapping 2020-05-21 07:33:11 +02:00
33f2f29244 FS: Add External RTP profile 2020-05-21 06:53:37 +02:00
Monocots
a04e2ea045 Add users for BTS types 2020-05-21 01:49:52 +00:00
2ae8182631 Rebuild the SGSN acl every night 2020-05-21 03:13:50 +02:00