blob: b212fc26c2481a8452954e4c4ca251d34c75f855 [file] [log] [blame]
BjornMagnussonXA08294062019-03-26 12:48:27 +00001#/bin/bash
2
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00003# Script for manually starting all simulators with test setting below
4# Matching json config is needed in CBS/Consul as well. Use consul_config.sh to add config to consul
BjornMagnussonXA08294062019-03-26 12:48:27 +00005
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00006export MR_TC="--tc710" # Test behaviour for MR sim
7export MR_GROUPS="OpenDcae-c12:PM_MEAS_FILES" # Comma-separated list of <consumer-group>:<change-identifier>
8export MR_FILE_PREFIX_MAPPING="PM_MEAS_FILES:A" # Comma-separated list of <change-identifer>:<file-name-prefix>
BjornMagnussonXA08294062019-03-26 12:48:27 +00009
BjornMagnussonXAa79a0432019-07-17 08:26:50 +000010export DR_TC="--tc normal" # Test behaviour for DR sim
11export DR_FEEDS="1:A,2:B,3:C,4:D" # Comma-separated of <feed-id>:<file-name-prefixes> for DR sim
12
13export DR_REDIR_TC="--tc normal" # Test behaviour for DR redir sim
14export DR_REDIR_FEEDS="1:A,2:B,3:C,4:D" # Comma-separated of <feed-id>:<file-name-prefixes> for DR redir sim
15
16export NUM_FTPFILES="105" # Number of FTP files to generate per PNF
17export NUM_PNFS="700" # Number of unuqie PNFs to generate FTP file for
18export FILE_SIZE="1MB" # File size for FTP file (1KB, 1MB, 5MB, 50MB or ALL)
19export FTP_TYPE="SFTP" # Type of FTP files to generate (SFTP, FTPS or ALL)
20export FTP_FILE_PREFIXES="A,B,C,D" # Comma separated list of file name prefixes for ftp files
21export NUM_FTP_SERVERS=1 # Number of FTP server to distribute the PNFs (Max 5)
22
23export SFTP_SIMS="localhost:21,localhost:22,localhost:23,localhost:24,localhost:25" # Comma separated list for SFTP servers host:port
24export FTPS_SIMS="localhost:1022,localhost:1023,localhost:1024,localhost:1026,localhost:1026" # Comma separated list for FTPS servers host:port
25
26export DR_REDIR_SIM="localhost" # Hostname of DR redirect server
27
28source ./simulators-start.sh