Commit d1529ac3 authored by Yann Garcia's avatar Yann Garcia
Browse files

Remove useless files

parent dd9738e4
Loading
Loading
Loading
Loading
+0 −272
Original line number Original line Diff line number Diff line

[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
  typeOfAddress := e_manual,
  stationType := e_unknown,
  reserved := 0,
  mid := '4C5E0C14D2EA'O #'4C5E0C14D2EA'O #'00000000000B'O
}

# GeoNetwoking only, no facility layer, used for AtsGenNetworking and AtsSecurity with other profile
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# With facility layer
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB

# Indicate which RSU to simulate
ItsRSUsSimulator_Pixits.PX_RSU_ID := 1;
# Indicate which Use Case to simulate
#   UC1 (DENM only):         PX_ETSI_USE_CASE_ID := 1
#   UC2 (RHW)                PX_ETSI_USE_CASE_ID := 2
#                                                      1: CauseCodeType_humanPresenceOnTheRoad_
#                                                      2: CauseCodeType_adverseWeatherCondition_ExtremeWeatherCondition_
#                                                      3: CauseCodeType_trafficCondition_
#                                                      4: CauseCodeType_stationaryVehicle_
#   UC3 (TLM MAPEM/SPATEM):  PX_ETSI_USE_CASE_ID := 3
#   UC5 (IVIM only):         PX_ETSI_USE_CASE_ID := 5
#   UC6 (CAM only):          PX_ETSI_USE_CASE_ID := 6
#   UC7 (CAM only):          PX_ETSI_USE_CASE_ID := 7
#   UC8 (EVCSN only):        PX_ETSI_USE_CASE_ID := 8
#   UC9 (CAM only):          PX_ETSI_USE_CASE_ID := 9
ItsRSUsSimulator_Pixits.PX_ETSI_USE_CASE_ID := 6

# Indicate which zone to simulate
ItsRSUsSimulator_Pixits.PX_ETSI_ZONE_ID := 1

ItsRSUsSimulator_Pixits.PX_DENM_PARAM_UC2 := 1; # ==> RHW

ItsRSUsSimulator_Pixits.PX_ACTIVATE_CAM_BEACON_DETECTOR := false
ItsRSUsSimulator_Pixits.PX_MBR_ALTER_SPEED_CLASS1       := true
#ItsRSUsSimulator_Pixits.PX_MBR_ALTER_POSITION_CLASS1    := false
ItsRSUsSimulator_Pixits.PX_MBR_ALTER_POSITION_DX        := 3000.0;
ItsRSUsSimulator_Pixits.PX_MBR_ALTER_POSITION_DY        := 3000.0;

ItsRSUsSimulator_Pics.PICS_GENERATE_BEACON   := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_CAM      := true  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_DENM     := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_IVIM     := false  # Change also its_aid in geoNetworking port setting
                                                       # Use CERT_IUT_IVI_SSP_TC_AT
ItsRSUsSimulator_Pics.PICS_GENERATE_MAPEM    := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_SPATEM   := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_SREM     := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_SSEM     := false  # Change also its_aid in geoNetworking port setting
ItsRSUsSimulator_Pics.PICS_GENERATE_RTCMEM   := false  # Change also its_aid in geoNetworking port setting

# Set to true if the ATS is acting as a RSU, false for an OBU
ItsRSUsSimulator_Pics.PICS_ITS_S_ROLE        := true
# Set to false to test ITS-S enrollment
ItsRSUsSimulator_Pics.PICS_ITS_IS_ENROLLED   := true
# Support PKI functionalities, including ITS-S enrollment support
ItsRSUsSimulator_Pics.PICS_PKI_SUPPORT       := false

ItsRSUsSimulator_Pics.PICS_MBR_SUPPORT       := false

ItsRSUsSimulator_Pics.PICS_MBR_MA_SUPPORT    := false

ItsRSUsSimulator_Pics.PICS_BEACON_FREQUENCY    := 1.0
ItsRSUsSimulator_Pics.PICS_CAM_FREQUENCY       := 1.0
ItsRSUsSimulator_Pics.PICS_DENM_FREQUENCY      := 1.0

ItsRSUsSimulator_Pics.PICS_SEND_BEACON_INDICATION := false
ItsRSUsSimulator_Pics.PICS_SEND_CAM_INDICATION    := true
ItsRSUsSimulator_Pics.PICS_SEND_DENM_INDICATION   := true
ItsRSUsSimulator_Pics.PICS_SEND_IVIM_INDICATION   := true
ItsRSUsSimulator_Pics.PICS_SEND_MAPEM_INDICATION  := true
ItsRSUsSimulator_Pics.PICS_SEND_SPATEM_INDICATION := true
ItsRSUsSimulator_Pics.PICS_SEND_SREM_INDICATION   := true
ItsRSUsSimulator_Pics.PICS_SEND_SSEM_INDICATION   := true
ItsRSUsSimulator_Pics.PICS_SEND_RTCMEM_INDICATION := true

LibItsCommon_Pixits.PX_CERT_FOR_TS             := "CERT_IUT_A_B_AT" # AtsRSUsSimulator is acting as an OBU/RSU
# Enable Security support: force to false
LibItsGeoNetworking_Pics.PICS_GN_SECURITY      := true
# Root path to access certificate stored in files, identified by certficate ID
LibItsSecurity_Pixits.PX_CERTIFICATE_POOL_PATH := "/home/yann/dev/TS.ITS_r2/data/certificates" #"../data/certificates"
# Configuration sub-directory to access certificate stored in files
LibItsSecurity_Pixits.PX_IUT_SEC_CONFIG_NAME   := "iut"
# Enrolment procedure
LibItsSecurity_Pixits.PX_USE_BFK_MODE          := false

LibHttp_Pics.PICS_HEADER_CONTENT_TYPE                := "application/x-its-request"
LibHttp_Pics.PICS_HEADER_HOST                        := "192.168.1.21"

LibItsPki_Pics.PICS_HTTP_POST_URI                    := "/ea/enrolment"
LibItsPki_Pics.PICS_MULTIPLE_END_POINT               := false # One server port with multiple URI
LibItsPki_Pics.PICS_HTTP_POST_URI_EC                 := "/ea/enrolment"
LibItsPki_Pics.PICS_HTTP_POST_URI_AT                 := "/aa/authorization"
LibItsPki_Pics.PICS_HTTP_POST_URI_ATV                := "/ea/authval"
LibItsPki_Pics.PICS_HTTP_POST_URI_BFK_AUTH           := "/butterflyAuthorization"
LibItsPki_Pics.PICS_HTTP_POST_URI_BFK_AT_DOWNLOAD    := "/butterflyDownload"

LibItsPki_Pics.PICS_ITS_S_SIGN_NITSP256_PRIVATE_KEY  := 'FE95786F01D7E1666CCDFAB7BAEE9BF9B30BBEA15A838A58994E65E684A8BB34'O
LibItsPki_Pics.PICS_ITS_S_SIGN_NISTP256_PUBLIC_KEY   := '038038f5490cd5a58ff5465d3b577ee830047336ac5dac07036b798aaecae7273f'O
#LibItsPki_Pics.PICS_ITS_S_ENC_NITSP256_PRIVATE_KEY         := 'EDEBEADCAA9514CD4B30256126FB7DF958B911C6EB58CCF702983C3DCD3DECBD'O;
#LibItsPki_Pics.PICS_ITS_S_ENC_NISTP256_PUBLIC_KEY          := '023A4ADDCDD5EE66DAB2116B0C3AB47CCEDAE92CD9ACE98A84B10EB63A9DCA798C'O;
#LibItsPki_Pics.PICS_ITS_S_ENC_BRAINPOOLP256r1_PRIVATE_KEY  := '9F155D40B6C920BA45D8027093C8ADADAF3AA6F9F71F0CC0F8279FF0146A8A48'O;
#LibItsPki_Pics.PICS_ITS_S_ENC_BRAINPOOLP256r1_PUBLIC_KEY   := '038602F468BD334EA4D2BA416295E204D58BD1F42C85FB9BE57237C74544F6A69A'O;
#LibItsPki_Pics.PICS_ITS_S_SIGN_BRAINPOOLP256r1_PRIVATE_KEY := '6D585B716D06F75EC2B8A8ADEBFCE6ED35B0640C2AFBFF25FE48FC81A6732D4F'O;
#LibItsPki_Pics.PICS_ITS_S_SIGN_BRAINPOOLP256r1_PUBLIC_KEY  := '02A92BA3B770B040B8D958D5BD2CC9B537212D6963F50EA3E4784FEFA5D0454C12'O;
#LibItsPki_Pics.PICS_ITS_S_ENC_BRAINPOOLP384r1_PRIVATE_KEY  := '6B4B4392511B252C904801466F5DA0A7F28E038E6656800CBB0CDCB3D32F862CA4D59CBDC1A19E98E9191582AF1DB3D7'O;
#LibItsPki_Pics.PICS_ITS_S_SIGN_BRAINPOOLP384r1_PRIVATE_KEY := '3CD977195A579787C84D5900F4CB6341E0C3D2750B140C5380E6F03CE3FBA0022F7541DEABDCED4790D313ED8F56ACA8'O;
#LibItsPki_Pics.PICS_ITS_S_SIGN_BRAINPOOLP384r1_PUBLIC_KEY  := '0243FF5C96984C2C3F5FD5C5F6551C90F5FAEE1E5E8301763E4AF1E9D627F3474E554B82EE98EC4B49808DFF61B35F8313'O;
LibItsPki_Pics.PICS_ITS_S_CANONICAL_ID               := '455453492D5465737453797374656D2D3031'O
LibItsPki_Pics.PICS_TS_EA_CERTIFICATE_ID             := "CERT_TS_A_EA"
LibItsPki_Pics.PICS_TS_AA_CERTIFICATE_ID             := "CERT_TS_A_AA"

LibItsPki_Pics.PICS_IUT_EA_CERTIFICATE_ID            := "CERT_TS_A_EA"
LibItsPki_Pics.PICS_IUT_AA_CERTIFICATE_ID            := "CERT_TS_A_AA"

#LibItsPki_Pixits.PX_INCLUDE_ENCRYPTION_KEYS := false # No encryption key in Authorization request
#LibItsPki_Pixits.PICS_PKI_AUTH_POP          := true # Do not use Signed for PoP in Authorization requet

# Re-enrollment keys
LibItsPki_Pics.PICS_SECPKI_REENROLMENT := true # Check in logs the pattern '==> EC ' to find the required information for re-enrolment

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
# you want to log into the file or display on console (standard error).
LogFile := "../logs/AtsRSUsSimulator/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | WARNING | USER | PORTEVENT | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | TIMEROP
#ConsoleMask := ERROR | WARNING | USER | PORTEVENT | MATCHING | EXECUTOR_RUNTIME | VERDICTOP | TIMEROP
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime

[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
#   next_header     : btpA|btpB (overwrite BTP.type)
#   header_type     : tsb|gbc
#   header_sub_type : sh (single hop)
# DENM Layer
#   next_header     : btpA|btpB (overwrite BTP.type)
#   header_type     : tsb|gbc
# BTP Layer
#   type            : btpA|btpB
#   destination port: dst_port
#   source port     : src_port
# GN Layer
#   its_aid                : ITS AID as defined by ETSI TS 102 965 V1.2.1. Default: 141
#   ll_address             : GeoNetworking address of the Test System
#   latitude               : Latitude of the Test System
#   longitude              : Longitude of the Test System
#   beaconing              : Set to 1 if the Test System shall start beaconing
#   expiry                 : Beaconning timer expiry (ms)
#   device_mode            : Set to 1 if the layer shall encapsulate upper layer PDU
#   secured_mode           : Set to 1 if message exchanges shall be signed
#   encrypted_mode         : Set to 1 if message exchanges shall be encrypted
#                            NOTE: For signed & encrypted message exchanges, both secured_mode and encrypted_mode shall be set to 1
#   certificate            : Certificate identifier the Test Adapter shall use
#   sec_db_path            : Path to the certificates and keys storage location
#   hash                   : Hash algorithm to be used when secured mode is set
#                            Authorized values are SHA-256 or SHA-384
#                            Default: SHA-256
#   cypher                 : Cyphering algorithm to be used when secured mode is set
#                            Authorized values are NISTP-256 and BP-256
#                            Default: NISTP-256
# Ethernet layer
#   mac_src  :Source MAC address
#   mac_bc   :Broadcast address
#   eth_type : Ethernet type
# Commsignia layer
#   mac_src     : Device MAC address, used to discard packets
#                 To indicate no filering, use the value 000000000000
#   mac_bc      : Broadcast address
#   eth_type    : Ethernet type, used to discard packets
#   target_host : Device address
#   target_port : Device port
#   source_port : Test System port
#   interface_id: Interface id, used to discard packets
#   tx_power    : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
#   dst_ip  : Destination IPv4 address (aa.bb.cc.dd)
#   dst_port: Destination port
#   src_ip  : Source IPv4 address (aa.bb.cc.dd)
#   src_port: Source port
# Pcap layer
#   mac_src    : Source MAC address, used to exclude from capture the acket sent by the Test System
#   filter     : Pcap filter (compliant with tcpdump syntax)
#   Online mode:
#     nic: Local NIC
#          If set, online mode is used
#   Offline mode (nic is present but not set):
#     file        : File to read
#     frame_offset: Frame offset, used to skip packets with frame number < frame_offset
#     time_offset : Time offset, used to skip packets with time offset < time_offset
#     save_mode   : Set to 1 to save sent packet, 0 otherwise

# Single GeoNetworking component port
# https://standards.iso.org/iso/ts/17419/TS17419%20Assigned%20Numbers/TS17419_ITS-AID_AssignedNumbers.pdf
# its_aid=36:   CAM
# its_aid=37:   DENM
# its_aid=137:  SPAT
# its_aid=138:  MAP
# its_aid=139:  IVIM
# its_aid=140:  SREM/SSEM
# its_aid=141:  GeoMet
# its_aid=128:  RTCMEM

# Cygwin
#    Ethernet
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/certificates)/ETH(mac_src=f8cab8083918)/PCAP(mac_src=f8cab8083918,nic=38D7FE44-E194-41E0-97BA-526014F5D9CE,filter=and ether proto 0x8947)"
#    WiFi
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/certificates)/ETH(mac_src=f8cab8083918)/UDP(dst_ip=192.168.8.249,dst_port=12340,src_port=12341)"
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/certificates)/ETH(mac_src=f8cab8083918)/PCAP(mac_src=f8cab8083918,nic=CEBB111F-D749-4B40-8B4D-DBB060E90987,filter=and ether proto 0x8947)"
# Linux
#   Ethernet
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/certificates)/ETH(mac_src=f8cab8083918)/PCAP(mac_src=f8cab8083918,nic=enx00e07cc91967,filter=and ether proto 0x8947)"
#   Wifi
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_B_AT,sec_db_path=../data/certificates/iut)/ETH(mac_src=f8cab8083918)/PCAP(mac_src=f8cab8083918,nic=wlo1,filter=and ether proto 0x8947)"
# Linux over OpenVPN
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EA,latitude=367470520,longitude=-45559502,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,certificate=CERT_IUT_A_B_AT,sec_db_path=../data/certificates/certificates)/ETH(mac_src=0000e87eb1ff)/PCAP(mac_src=0000e87eb1ff,nic=tap0,filter=and ether proto 0x8947)"
#   USB <-> ETH
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/iut)/ETH(mac_src=8c554ac1eee1)/PCAP(mac_src=8c554ac1eee1,nic=enx00e07cc91967,filter=and ether proto 0x8947)"
# Linux over UDP
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/iut)/UDP(dst_ip=172.17.0.2,src_port=9091,dst_port=4041)"
# Commsignia
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=37,secured_mode=1,encrypted_mode=0,certificate=CERT_IUT_A_AT,peer_certificate=CERT_TS_A_AT,sec_db_path=../data/certificates/certificates)/COMMSIGNIA(xport_mode=LTE-V2X,mac_src=080027F44E7D,interface_id=2,target_host=192.168.0.54)/UDP(dst_ip=192.168.0.54,src_port=9091,dst_port=7946)"
# Qualcom/UDP
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,distanceA=25,distanceB=25,its_aid=37,secured_mode=1,encrypted_mode=0,certificate=CERT_MICROSEC_AT_01,peer_certificate=CERT_TS_A_AT,sec_db_path=../data/certificates/certificates)/QUALCOMM/UDP(dst_ip=10.200.1.113,src_port=9091,dst_port=4041)"
# PC5 + UU/Raw
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/iut)/LTE(mac_src=8c554ac1eee1,nic=wlo1,filter=and ether proto 0x8947,pc5_layer=QUALCOMM,uu_protocol=raw,uu_transport=udp,dst_ip=192.168.1.21,dst_port=4041,src_port=9091)"
# PC5 + Uu/MQTT
#   Raw UDP
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/iut)/LTE(mac_src=8c554ac1eee1,nic=wlo1,filter=and ether proto 0x8947,pc5_layer=QUALCOMM,uu_protocol=mqtt,mqtt_client_id=8c554ac1eee1,mqtt_topics=obu,uu_transport=udp,dst_ip=192.168.1.21,dst_port=1883,src_port=1883)"
#   MQTT over TCP
#system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=367470520,longitude=-45559502,its_aid=36,secured_mode=1,certificate=CERT_IUT_A_AT,sec_db_path=../data/certificates/iut)/LTE(mac_src=8c554ac1eee1,nic=wlo1,filter=and ether proto 0x8947,pc5_layer=QUALCOMM,uu_protocol=mqtt,mqtt_client_id=8c554ac1eee1,mqtt_topics=obu,uu_transport=tcp,debug=1,server=127.0.0.1,port=1883)"

system.httpPort.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server=192.168.1.21)"

system.httpPort_ma.params := "HTTP(codecs=http_its:http_etsi_ieee1609dot2_codec)/TCP(debug=1,server_mode=1,server=192.168.1.21,local_port=18000)"

# Config port based on UDP
#system.cfPort.params := "CF(ut=gn)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
system.cfPort.params := "CF(ut=cam)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=denm)/UDP(src_port=12345,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=ivim)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=mapemspatem)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=sremssem)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=rtcmem)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=pki)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"
#system.cfPort.params := "CF(ut=mbr)/UDP(src_port=12345,dst_port=12346,reuse_incoming_source_adddress=1)"

[EXECUTE]
# Simulate OBU/RSU, OBU Enrolment & Misbehaviour Reporting service
ItsRSUsSimulator_TestCases.TC_RSUSIMU_BV_01

# Generate inconsistent CAM message for Misbehaviour Reporting Service Interrop. Testing/Plugtest - See ETSI TS 103 918
#ItsRSUsSimulator_TestCases.TC_MBRSIMU_BV_01

# Simulate Misbehaviour Reporting Authority. RefS5 interface - See ETSI TS 103 759
#ItsRSUsSimulator_TestCases.TC_MBR_MA_SIMU_BV_01

[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
KillTimer := 10.0
LocalAddress := 127.0.0.1
TCPPort := 12001
NumHCs := 1