From 0a2cf8e90d2b1c017cb25aeb687f76c138aa10c8 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 8 Feb 2022 17:09:32 +0100
Subject: [PATCH] L2SDP-602: Update to use new SDPTR calling convention

---
 docker-compose/sdptr-sim/Dockerfile     |  4 +---
 docker-compose/sdptr-sim/simulator.conf | 19 -------------------
 2 files changed, 1 insertion(+), 22 deletions(-)
 delete mode 100644 docker-compose/sdptr-sim/simulator.conf

diff --git a/docker-compose/sdptr-sim/Dockerfile b/docker-compose/sdptr-sim/Dockerfile
index 4e64ca2a6..678b79ece 100644
--- a/docker-compose/sdptr-sim/Dockerfile
+++ b/docker-compose/sdptr-sim/Dockerfile
@@ -3,7 +3,5 @@ ARG LOCAL_DOCKER_REGISTRY_LOFAR
 
 FROM ${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_LOFAR}/sdptr:latest
 
-COPY simulator.conf /sdptr/src/simulator.conf
-
 WORKDIR /sdptr/src
-CMD ["sdptr", "--type=simulator", "--configfile=simulator.conf", "--nodaemon"]
+CMD ["sdptr", "--ip_prefix=127.0.", "--nodaemon"]
diff --git a/docker-compose/sdptr-sim/simulator.conf b/docker-compose/sdptr-sim/simulator.conf
deleted file mode 100644
index 5ad69a8ae..000000000
--- a/docker-compose/sdptr-sim/simulator.conf
+++ /dev/null
@@ -1,19 +0,0 @@
-# sdptr.conf
-# configuration file for the SDP Translator.
-#
-# this config file holds settings for all [type].
-#
-# # settings per type
-# [LB_CORE]						  # [ant_band_station_type]
-# n_fpgas = 16                    # 8 or 16
-# first_pfga_nr = 0               # 0 for LB or 16 for HB
-# ip_prefix = 10.99.              # first part of ip (last part is hardware dependent)
-# n_beamsets = 1                  # 1 for 'LB', 'HB Remote' and 'HB International' and 2 for 'HB Core'
-
-
-[simulator]
-n_fpgas = 16
-first_fpga_nr = 0
-ip_prefix = 127.0.
-n_beamsets = 1
-
-- 
GitLab