[testsuite]
program=C5G_Tests
config=C5G_Tests.cfg
copy=testsuite_prepare.sh
prepare=./testsuite_prepare.sh
clean=testenv.sh

[db]
prepare=mkdir db
program=mongod --config mongod.conf
setup=create_test_subscribers.sh
copy=mongod.conf
make=no
package=no

[nrf]
program=open5gs-nrfd -c open5gs-nrf.yaml
make=open5gs
package=open5gs-nrf
copy=open5gs/open5gs-nrf.yaml

[scp]
program=open5gs-scpd -c open5gs-scp.yaml
make=open5gs
package=open5gs-scp
copy=open5gs/open5gs-scp.yaml

[sepp1]
prepare=./open5gs_prepare.sh
program=open5gs-seppd -c open5gs-sepp1.yaml
make=open5gs
package=open5gs-sepp
copy=open5gs/open5gs-sepp1.yaml open5gs/open5gs_prepare.sh

[sepp2]
prepare=./open5gs_prepare.sh
program=open5gs-seppd -c open5gs-sepp2.yaml
make=open5gs
package=open5gs-sepp
copy=open5gs/open5gs-sepp2.yaml open5gs/open5gs_prepare.sh

[bsf]
program=open5gs-bsfd -c open5gs-bsf.yaml
make=open5gs
package=open5gs-bsf
copy=open5gs/open5gs-bsf.yaml

[smf]
program=open5gs-smfd -c open5gs-smf.yaml
make=open5gs
package=open5gs-smf
copy=open5gs/open5gs-smf.yaml open5gs/open5gs-smf-freediameter.conf

[upf]
program=open5gs-upfd -c open5gs-upf.yaml
make=open5gs
package=open5gs-upf
copy=open5gs/open5gs-upf.yaml

[ausf]
program=open5gs-ausfd -c open5gs-ausf.yaml
make=open5gs
package=open5gs-ausf
copy=open5gs/open5gs-ausf.yaml

[udm]
prepare=./open5gs_prepare.sh
program=open5gs-udmd -c open5gs-udm.yaml
make=open5gs
package=open5gs-udm
copy=open5gs/open5gs-udm.yaml open5gs/open5gs_prepare.sh

[udr]
program=open5gs-udrd -c open5gs-udr.yaml
make=open5gs
package=open5gs-udr
copy=open5gs/open5gs-udr.yaml

[pcf]
program=open5gs-pcfd -c open5gs-pcf.yaml
make=open5gs
package=open5gs-pcf
copy=open5gs/open5gs-pcf.yaml

[amf]
program=open5gs-amfd -c open5gs-amf.yaml
make=open5gs
package=open5gs-amf
copy=open5gs/open5gs-amf.yaml

[uecups-daemon]
# Programs started by osmo-uecups-daemo log to this dir
prepare=mkdir run_prog
# Must run as root for writing to /var/run/netns/
program=sudo $(which osmo-uecups-daemon)
make=osmo-uecups
package=osmo-uecups
copy=osmo-uecups-daemon.cfg
