Commit 735f214b authored by garciay's avatar garciay
Browse files

Enhance AtsRSUSimulator to validate Test System & ATSs

parent 07f311d5
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ LibItsCommon_Pixits.PX_IUT_STATION_ID := 10143;
# GeoNetwoking only, no facility layer
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# With facility layer
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpA
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB

#LibCommon_Time.PX_TAC := 5.0

@@ -46,7 +46,6 @@ LogEventTypes:= Yes
#   destination port: dst_port
#   source port     : src_port
#   device_mode     : Set to 1 if the layer shall encapsulate upper layer PDU
#   device_mode     : Set to 1 if the layer shall encapsulate upper layer PDU
# 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
@@ -100,7 +99,7 @@ LogEventTypes:= Yes
# GN port using PCAP file
#system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,its_aid=141,secured_mode=1,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=BABEBABE0002,nic=,file=../../../testdata/test_61_beacon_sec.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
# GN port using NIC
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,device_mode=0,its_aid=141,secured_mode=0,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=4C5E0C14D2EB,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=4C5E0C14D2EB,nic=eth1,file=,filter=and not ether src DC536045AF7E and ether proto 0x8947,frame_offset=0,save_mode=0)"
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EB,latitude=43551050,longitude=10298730,beaconing=1,expiry=1000,device_mode=0,its_aid=141,secured_mode=0,certificate=CERT_TS_A,sec_db_path=/home/ubuntu/tmp/Yann)/ETH(mac_src=4C5E0C14D2EB,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=4C5E0C14D2EB,nic=eth1,file=,filter=and not ether src DC536045AF7E 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,secured_mode=0,certificate=ta_cert_nistp256_sha256)/COMMSIGNIA(mac_src=4C5E0C14D2EA,bc=FFFFFFFFFFFF,eth_type=8947,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,file=../../../testdata/commsignia_61_beacon.pcap,filter=and (udp port 30000 or udp port 7943))"
# Multiple GeoNetworking component port
@@ -114,7 +113,7 @@ system.btpPort.params := "BTP(type=btpB,dst_port=2000,src_port=0)/GN(ll_address=
# CAM port using file
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP(type=btpB,dst_port=2001,src_port=0,device_mode=1)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141,secured_mode=1,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=../../../testdata/test_1_cam_sec.pcap,save_mode=1,filter=and ether proto 0x8947,frame_offset=0)"
# CAM port using NIC
system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP(type=btpB,dst_port=2001,src_port=0,device_mode=1)/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141,device_mode=1,secured_mode=0,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=4C5E0C14D2EA,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=4C5E0C14D2EA,nic=eth1,file=,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP(type=btpB,dst_port=2001,src_port=0,device_mode=1)/GN(ll_address=4C5E0C14D2EB,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141,device_mode=1,secured_mode=1,certificate=CERT_TS_A,sec_db_path=/home/vagrant/tmp/Yann)/ETH(mac_src=4C5E0C14D2EB,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=4C5E0C14D2EB,nic=eth1,file=,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"

# DENM port
# DENM port using file
@@ -156,7 +155,7 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#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
#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_Port_3          # Use to test beaconing with secured mode set in config file
@@ -195,8 +194,8 @@ TestCodec_GeoNetworking.tc_GeoNet_Port_2 # Use simulator of file to run
#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          # Use simulator of file to run this test
                                    # Used to test device_mode=1,beaconing=1
TestCodec_CAM.tc_Cam_Port          # Use simulator of file to run this test
                                    # Used to test device_mode=1,beaconing=1,BTP-B
#TestCodec_CAM.tc_Cam_Port_1        # Use simulator of file to run this test
                                    # Used to generate CAM message
# CAM UpperTester