Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[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_initial,
stationType := e_passengerCar,
stationCountryCode := 0,
mid := '92569202017a'O
}
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
[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/%e.%h-%r.%s"
FileMask := LOG_ALL | USER | DEBUG | MATCHING
ConsoleMask := LOG_ALL | USER | DEBUG | MATCHING
#FileMask := ERROR | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
#ConsoleMask := ERROR | USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
#TimeStampFormat := DateTime
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# BTP Layer
# type : btpA|btpB
# destination port: dst_port
# source port : src_port
# GN Layer
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# Ethernet layer
# Source MAC address: mac_src
# Broadcast address : mac_bc
# Ethernet type : eth_type
# 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
# Pcap filter: filter
# Online mode:
# Local NIC: nic
# If set, online mode is used
# Offline mode (nic is present but not set):
# File to read : file
# Frame offset : frame_offset
# Time offset : time_offset
# 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=/home/ubuntu/tmp/TC_GEONW_PON_BEA_TI_02.pcap,filter=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)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=/home/ubuntu/tmp/test_beacon.pcap,filter=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)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=enp0s8,file=,filter=ether proto 0x8947,frame_offset=0,save_mode=0)"
# 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=/home/ubuntu/tmp/test_1_cam.pcap,filter=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=/home/ubuntu/tmp/test_1_cam.pcap,filter=ether proto 0x8947,frame_offset=0,save_mode=0)"
# BTP port
system.btpPort.params := "BTP(type=btpB,dst_port=2000,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=/home/ubuntu/tmp/test_1_cam.pcap,filter=ether proto 0x8947,frame_offset=0)"
# CAM port
system.camPort.params := "CAM/BTP(type=btpA,dst_port=2000,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=/home/ubuntu/tmp/test_1_cam.pcap,filter=ether proto 0x8947,frame_offset=0)"
# DENM port
system.denmPort.params := "DENM/BTP(type=btpA,dst_port=2001,src_port=0)/GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,expiry=1000,its_aid=141)/ETH(mac_src=F8CAB8083918,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=F8CAB8083918,nic=,file=/home/ubuntu/tmp/test_1_denm.pcap,filter=ether proto 0x8947,frame_offset=0)"
# UpperTester port based on UDP
system.utPort.params := "UT/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=udp port 12346)"
[EXECUTE]
# GeoNetworking Req
#TestCodec_GeoNetworking.tc_GeoNetReq_AnycastPacket
#TestCodec_GeoNetworking.tc_GeoNetReq_BroadcastPacket
#TestCodec_GeoNetworking.tc_GeoNetReq_UnicastPacket
#TestCodec_GeoNetworking.tc_GeoNetReq_BeaconPacket
#TestCodec_GeoNetworking.tc_GeoNetReq_LsRequestPacket
#TestCodec_GeoNetworking.tc_GeoNetReq_LsReplyPacket
# GeoNetworking Ind
#TestCodec_GeoNetworking.tc_GeoNetInd_AnycastPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_BroadcastPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_ShbPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_UnicastPacket
#TestCodec_GeoNetworking.tc_GeoNetInd_BeaconPacket
# GeoNetworking Port
#TestCodec_GeoNetworking.tc_GeoNet_Port
#TestCodec_GeoNetworking.tc_GeoNet_Port_utPort
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_lpv
#TestCodec_GeoNetworking.tc_GeoNet_acPort_getLongPositionVector_1
#TestCodec_GeoNetworking.tc_GeoNet_acPort_getLongPositionVector_2
#TestCodec_GeoNetworking.tc_GeoNet_Port_acPort_beaconing_1
#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 UpperTester
#TestCodec_GeoNetworking.tc_GeoNet_UtGnInitialize
#TestCodec_GeoNetworking.tc_GeoNet_UtGnChangePosition
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoUnicast_1
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoUnicast_2
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoBroadcast_1
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoBroadcast_2
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoAnycast_1
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_GeoAnycast_2
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_Shb_1
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_Shb_2
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_Tsb_1
#TestCodec_GeoNetworking.tc_GeoNet_UtGnTrigger_Tsb_2
# Btp PDU
#TestCodec_Btp.tc_Btp_A_Without_Payload
#TestCodec_Btp.tc_Btp_A
#TestCodec_Btp.tc_Btp_B
#TestCodec_Btp.tc_BtpReq_A
# Btp Port
#TestCodec_Btp.tc_Btp_Port
# CAM PDU
#TestCodec_CAM.tc_CamReq
#TestCodec_CAM.tc_CamInd
TestCodec_CAM.tc_Cam_Port
# CAM UpperTester
#TestCodec_CAM.tc_Cam_UtCamInitialize
#TestCodec_CAM.tc_Cam_UtCamChangePosition
#TestCodec_CAM.tc_Cam_UtCamChangeCurvature
#TestCodec_CAM.tc_Cam_UtCamChangeSpeed
#TestCodec_CAM.tc_Cam_UtCamSetAccelerationControlStatus
#TestCodec_CAM.tc_Cam_UtCamSetExteriorLightsStatus_lowBeamHeadlightsOn
#TestCodec_CAM.tc_Cam_UtCamSetExteriorLightsStatus_leftTurnSignalOn
#TestCodec_CAM.tc_Cam_UtCamSetExteriorLightsStatus_daytimeRunningLightsOn
#TestCodec_CAM.tc_Cam_UtCamSetExteriorLightsStatus_parkingLightsOn
#TestCodec_CAM.tc_Cam_UtCamChangeHeading
#TestCodec_CAM.tc_Cam_UtCamSetDriveDirection
#TestCodec_CAM.tc_Cam_UtCamChangeYawRate
#TestCodec_CAM.tc_Cam_UtCamChangeYawRate_negative
#TestCodec_CAM.tc_Cam_UtCamSetStationType
#TestCodec_CAM.tc_Cam_UtCamSetVehicleRole
#TestCodec_CAM.tc_Cam_UtCamSetDangerousGoods
#TestCodec_CAM.tc_Cam_UtCamSetLightBarSirene
#TestCodec_CAM.tc_Denm_UtCamTriggerResult
#TestCodec_CAM.tc_Cam_UtCamEventInd_1
#TestCodec_CAM.tc_Cam_UtCamEventInd_2
# DENM PDU
#TestCodec_DENM.tc_DenmReq
#TestCodec_DENM.tc_DenmInd
TestCodec_DENM.tc_Denm_Port
#TestCodec_DENM.tc_Denm_Port_utPort
# DENM UpperTester
#TestCodec_DENM.tc_Denm_UtDenmInitialize
#TestCodec_DENM.tc_Denm_UtDenmChangePosition
#TestCodec_DENM.tc_Denm_UtDenmChangePseudonym
#TestCodec_DENM.tc_Denm_UtDenmTrigger_1
#TestCodec_DENM.tc_Denm_UtDenmTrigger_2
#TestCodec_DENM.tc_Denm_UtDenmUpdate_1
#TestCodec_DENM.tc_Denm_UtDenmTriggerResult
#TestCodec_DENM.tc_Denm_UtDenmUpdateResult
#TestCodec_DENM.tc_Denm_UtDenmEventInd_1
#TestCodec_DENM.tc_Denm_UtDenmEventInd_2
[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
KillTimer := 10.0
TCPPort := 0
LocalAddress := 127.0.0.1
TCPPort := 12000
NumHCs := 1