From f785edee20a2f526f1c33423d9eb1b06834fb205 Mon Sep 17 00:00:00 2001 From: Ana Clara Oliveira Date: Wed, 3 Jan 2024 09:32:12 -0300 Subject: [PATCH 1/2] MNT: change default value of env variables to use 10.0.38 subnet --- siriuspy/siriuspy/envars.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/siriuspy/siriuspy/envars.py b/siriuspy/siriuspy/envars.py index 914837f64..a899d69a2 100644 --- a/siriuspy/siriuspy/envars.py +++ b/siriuspy/siriuspy/envars.py @@ -43,19 +43,19 @@ 'SIRIUS_URL_CABLES', default='http://cables:8086') SRVURL_CSCONSTS = _os.environ.get( 'SIRIUS_URL_CONSTS', - default='http://10.128.255.4/control-system-constants') + default='http://10.0.38.59/control-system-constants') SRVURL_CSCONSTS_2 = _os.environ.get( 'SIRIUS_URL_CONSTS_2', - default='http://10.128.255.3/control-system-constants') + default='http://10.0.38.46/control-system-constants') SRVURL_LOGBOOK = _os.environ.get( 'SIRIUS_URL_LOGBOOK', default='http://10.0.38.42/Olog') SRVURL_CONFIGDB = _os.environ.get( 'SIRIUS_URL_CONFIGDB', - default='http://10.128.255.4/config-db') + default='http://10.0.38.59/config-db') SRVURL_CONFIGDB_2 = _os.environ.get( 'SIRIUS_URL_CONFIGDB_2', - default='http://10.128.255.3/config-db') + default='http://10.0.38.46/config-db') SRVURL_ARCHIVER = _os.environ.get( 'SIRIUS_URL_ARCHIVER', default='https://10.0.38.42') From 496d2415668a2dca1b4a3880bcd56f6f8089a650 Mon Sep 17 00:00:00 2001 From: Ana Clara Oliveira Date: Mon, 5 Feb 2024 16:09:07 -0300 Subject: [PATCH 2/2] envars.MNT: return LA IP once this one was removed from 10.0.38 subnet --- siriuspy/siriuspy/envars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/siriuspy/siriuspy/envars.py b/siriuspy/siriuspy/envars.py index a899d69a2..863622dd2 100644 --- a/siriuspy/siriuspy/envars.py +++ b/siriuspy/siriuspy/envars.py @@ -46,7 +46,7 @@ default='http://10.0.38.59/control-system-constants') SRVURL_CSCONSTS_2 = _os.environ.get( 'SIRIUS_URL_CONSTS_2', - default='http://10.0.38.46/control-system-constants') + default='http://10.128.255.3/control-system-constants') SRVURL_LOGBOOK = _os.environ.get( 'SIRIUS_URL_LOGBOOK', default='http://10.0.38.42/Olog') @@ -55,7 +55,7 @@ default='http://10.0.38.59/config-db') SRVURL_CONFIGDB_2 = _os.environ.get( 'SIRIUS_URL_CONFIGDB_2', - default='http://10.0.38.46/config-db') + default='http://10.128.255.3/config-db') SRVURL_ARCHIVER = _os.environ.get( 'SIRIUS_URL_ARCHIVER', default='https://10.0.38.42')