Commit c7aefb41 authored by garciay's avatar garciay
Browse files

Validate AtsRSUSimulator for CAM & DENM

parent 186c9529
Loading
Loading
Loading
Loading
+22 −12
Original line number Diff line number Diff line

[MODULE_PARAMETERS]
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
# The GeoNetworking address of the IUT
# The GeoNetworking address of the IUT. See testdata set and plugtest1026-log-locD 002.pcap
LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
  typeOfAddress := e_initial,
  stationType := e_unknown,
  stationCountryCode := 0,
  mid := '4c5e0c14d2ea'O
  mid := '4C5E0C14D2EA'O
}
# IUT Station ID
# IUT Station ID. See testdata set and plugtest1026-log-locD 002.pcap
LibItsCommon_Pixits.PX_IUT_STATION_ID := 10143;

LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
@@ -62,8 +62,12 @@ LogEventTypes:= Yes
#     Save sent packet: save_mode=[0|1]

# Single GeoNetworking component port
system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_10_beacon.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=1)"
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141)/COMMSIGNIA(mac_src=70b3d5f2a1e3,bc=FFFFFFFFFFFF,target_host=10.200.1.101,target_port=7942,sourcePort=7943,its_aid=5,interface_id=2,tx_power=-32)/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192.168.156.4,src_port=12345)/ETH(mac_src=026f8338c1e5,mac_dst=0A0027000011,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and udp port 12346)"
# GN port using NIC
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_10_beacon.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=1)"
# GN port usinbg PCAP file
system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_61_cam.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
# Commsignia GN port
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141)/COMMSIGNIA(mac_src=70b3d5f2a1e3,bc=FFFFFFFFFFFF,target_host=10.200.1.101,target_port=7942,sourcePort=7943,its_aid=141,interface_id=2,tx_power=-32)/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192.168.156.4,src_port=12345)/ETH(mac_src=026f8338c1e5,mac_dst=0A0027000011,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and udp port 12346)"
# Multiple GeoNetworking component port
Comp1.geoNetworkingPort.params := "GN(ll_address=F8CAB8083919,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083919,nic=,file=../../../testdata/test_1_cam.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
Comp2.geoNetworkingPort.params := "GN(ll_address=F8CAB808391A,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB808391A,nic=,file=../../../testdata/test_1_cam.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
@@ -97,10 +101,6 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_GeoNetworking.tc_GeoNetInd_ShbPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_UnicastPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_BeaconPacket
# GeoNetworking port tests
# To run the GeoNetworking port tests, use the offline mode and the test data provided. Use PcapLayer.save_mode to save sent packet into a file
##TestCodec_GeoNetworking.tc_GeoNet_Port          # Use simulator t run this test
##TestCodec_GeoNetworking.tc_GeoNet_Port_utPort   # Use simulator t run this test
# GeoNetworking AC port
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_lpv
#TestCodec_GeoNetworking.tc_GeoNet_acPort_getLongPositionVector_1
@@ -109,7 +109,16 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_beaconing_2
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_pass_beaconing_1
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_pass_beaconing_2
#TestCodec_GeoNetworking.tc_GeoNet_MultiPort
# GeoNetworking port tests
# To run the GeoNetworking port tests, use the offline mode and the test data provided. Use PcapLayer.save_mode to save sent packet into a file
#TestCodec_GeoNetworking.tc_GeoNet_Port_1          # Use simulator of file to run this test
                                                   # Used to test device_mode=0,beaconing=1,beacon codec
                                                   # No startPassBeaconing
TestCodec_GeoNetworking.tc_GeoNet_Port_2          # Use simulator of file to run this test
                                                   # Used to test device_mode=0,beaconing=1,beacon codec
                                                   # With startPassBeaconing
#TestCodec_GeoNetworking.tc_GeoNet_MultiPort     # Use simulator or file to run this test
#TestCodec_GeoNetworking.tc_GeoNet_Port_utPort   # Use simulator or file to run this test
# GeoNetworking UpperTester
#TestCodec_GeoNetworking.tc_GeoNet_UtGnInitialize
#TestCodec_GeoNetworking.tc_GeoNet_UtGnChangePosition
@@ -138,7 +147,8 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_CAM.tc_CamInd_2
# CAM port tests
# To run the CAM port tests, use the offline mode and the test data provided. Use PcapLayer.save_mode to save sent packet into a file
#TestCodec_CAM.tc_Cam_Port
#TestCodec_CAM.tc_Cam_Port          # Use simulator of file to run this test
                                    # Used to test device_mode=1,beaconing=1,GeoNetworking & CAM codec
# CAM UpperTester
#TestCodec_CAM.tc_Cam_UtCamInitialize
#TestCodec_CAM.tc_Cam_UtCamChangePosition
@@ -228,7 +238,7 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_SecuredMessages.tc_secured_message_unsecured
#TestCodec_SecuredMessages.tc_secured_message_signed_1
# Chain of certificates
TestCodec_ChainOfCertificates.tc_full_check_certificate_1
#TestCodec_ChainOfCertificates.tc_full_check_certificate_1

[MAIN_CONTROLLER]
# The options herein control the behavior of MC.