Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ITS - Intelligent Transport Systems
ITS
Commits
1d50a2be
Commit
1d50a2be
authored
Mar 27, 2018
by
garciay
Browse files
STF525: Test AtsCAM, AtsDENM is secured mode
parent
b524ca1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
etc/AtsCAM/AtsCAM.cfg
View file @
1d50a2be
...
...
@@ -3,12 +3,15 @@
# 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 := 33,
mid := '
001C6B00FF51
'O
stationType := e_
unknown, #e_roadSideUnit
,
stationCountryCode :=
0, #
33,
mid := '
4C5E0C14D2EB
'O
}
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# 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_btpB
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
...
...
@@ -88,13 +91,13 @@ LogEventTypes:= Yes
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP(type=btpB,dst_port=2001,src_port=0,deviceMode=1)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,deviceMode=1,its_aid=
38
)/ETH(mac_src=0800275c495
9
,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c495
9
,nic=e
np0s8
,filter=and ether proto 0x8947)"
system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP(type=btpB,dst_port=2001,src_port=0,deviceMode=1)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,deviceMode=1,its_aid=
141,secured_mode=1,certificate=CERT_TS_A_AT,sec_db_path=/home/vagrant/tmp/test_01
)/ETH(mac_src=0800275c495
8
,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c495
8
,nic=e
th1
,filter=and ether proto 0x8947)"
# CAM UpperTester port based on UDP (ETSI Wlan)
system.utPort.params := "UT_CAM/UDP(dst_ip=192.168.0.102,dst_port=12345,src_ip=192.168.0.104,src_port=12345)/ETH(mac_src=0800275c4959,mac_dst=F8CAB8083918,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=e
np0s8
,filter=and udp port 12345)"
system.utPort.params := "UT_CAM
(loopback=1)" #
/UDP(dst_ip=192.168.0.102,dst_port=12345,src_ip=192.168.0.104,src_port=12345)/ETH(mac_src=0800275c4959,mac_dst=F8CAB8083918,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=e
th1
,filter=and udp port 12345)"
[EXECUTE]
#
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_01
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_01
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_02
[MAIN_CONTROLLER]
...
...
etc/AtsDENM/AtsDENM.cfg
View file @
1d50a2be
...
...
@@ -3,12 +3,15 @@
# 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 := '
001C6B00FF51
'O
stationType := e_
unknown, #e_roadSideUnit
,
stationCountryCode := 0,
#33,
mid := '
4C5E0C14D2EB
'O
}
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# 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_btpB
[LOGGING]
# In this section you can specify the name of the log file and the classes of events
...
...
@@ -88,10 +91,10 @@ LogEventTypes:= Yes
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
system.denmPort.params := "DENM(next_header=btpB,header_type=tsb)/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c495
9
,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,
its_aid=38
)/ETH(mac_src=0800275c495
9
,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c495
9
,nic=e
np0s8
,filter=and ether proto 0x8947)"
system.denmPort.params := "DENM(next_header=btpB,header_type=tsb)/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c495
8
,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,
deviceMode=1,its_aid=141,secured_mode=1,certificate=CERT_TS_A_AT,sec_db_path=/home/vagrant/tmp/test_01
)/ETH(mac_src=0800275c495
8
,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c495
8
,nic=e
th1
,filter=and ether proto 0x8947)"
# DENM UpperTester port based on UDP (ETSI Wlan)
system.utPort.params := "UT_DENM/UDP(dst_ip=192.168.0.102,dst_port=12345,src_ip=192.168.0.104,src_port=12345)/ETH(mac_src=0800275c4959,mac_dst=F8CAB8083918,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=e
np0s8
,filter=and udp port 12345)"
system.utPort.params := "UT_DENM
(loopback=1,station_id=10143)" #
/UDP(dst_ip=192.168.0.102,dst_port=12345,src_ip=192.168.0.104,src_port=12345)/ETH(mac_src=0800275c4959,mac_dst=F8CAB8083918,eth_type=0800)/PCAP(mac_src=0800275c4959,nic=e
th1
,filter=and udp port 12345)"
[EXECUTE]
ItsDenm_TestCases.TC_DEN_MSGF_BV_01
...
...
etc/AtsGenCert/AtsGenCert.cfg
View file @
1d50a2be
...
...
@@ -2,7 +2,7 @@
# This section shall contain the values of all parameters that are defined in your TTCN-3 modules.
# Root path to access certificate stored in files, identified by certficate ID
LibItsSecurity_Pixits.PX_CERTIFICATE_POOL_PATH := "/home/
ubu
nt
u
/tmp";
LibItsSecurity_Pixits.PX_CERTIFICATE_POOL_PATH := "/home/
vagra
nt/tmp";
# Configuration sub-directory to access certificate stored in files
LibItsSecurity_Pixits.PX_IUT_SEC_CONFIG_NAME := "test_01";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment