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
d5749a72
Commit
d5749a72
authored
Apr 06, 2018
by
garciay
Browse files
STF538: Start ATS validation
parent
a598a0f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
etc/AtsCAM/AtsCAM.cfg
View file @
d5749a72
[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.
LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
typeOfAddress := e_initial,
stationType := e_unknown, #e_roadSideUnit,
stationCountryCode := 0, #33,
mid := '4C5E0C14D2E
B
'O
mid := '4C5E0C14D2E
A
'O
}
# IUT Station ID. See testdata set and plugtest1026-log-locD 002.pcap
...
...
@@ -20,8 +22,8 @@ LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB
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
#FileMask := ERROR |
WARNING |
USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
#ConsoleMask := ERROR |
WARNING |
USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
...
...
@@ -93,14 +95,14 @@ 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=141,secured_mode=1,
certificate=CERT_TS_A
_AT,sec_db_path=/home/vagrant/tmp/test_01)/ETH(mac_src=0800275c4958,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4958,nic=eth1,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,
encrypted_mode=0,certificate=CERT_IUT_F_AT,peer_certificate=CERT_TS_F
_AT,sec_db_path=/home/vagrant/tmp/test_01)/ETH(mac_src=0800275c4958,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4958,nic=eth1,filter=and ether proto 0x8947)"
# CAM UpperTester port based on UDP (ETSI Wlan)
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=080027
5c4959
,mac_dst=
F8CAB8083918
,eth_type=0800)/PCAP(mac_src=080027
5c4959
,nic=eth1,filter=and udp port 12345)"
system.utPort.params := "UT_
GN
(loopback=
0)
/UDP(dst_ip=192.168.
1.250
,dst_port=12345,src_ip=192.168.
1.253
,src_port=12345)/ETH(mac_src=080027
d2b658
,mac_dst=
90fd61e61902
,eth_type=0800)/PCAP(mac_src=080027
d2b658
,nic=eth1,filter=and udp port 12345)"
[EXECUTE]
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_01
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_02
#
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_02
[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
...
...
etc/AtsSecurity/AtsSecurity.cfg
View file @
d5749a72
...
...
@@ -27,8 +27,8 @@ LibItsSecurity_Pixits.PX_IUT_SEC_CONFIG_NAME := "test_01";
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
#FileMask := ERROR |
WARNING |
USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
#ConsoleMask := ERROR |
WARNING |
USER | MATCHING | EXECUTOR_RUNTIME | VERDICTOP
LogSourceInfo := Stack
LogEntityName:= Yes
LogEventTypes:= Yes
...
...
@@ -101,10 +101,10 @@ LogEventTypes:= Yes
# save_mode : 1 to save sent packet, 0 otherwise
# Single GeoNetworking component port
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730)/ETH(mac_src=080027
5c49
58,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=080027
5c49
58,nic=eth1,filter=and ether proto 0x8947)"
system.geoNetworkingPort.params := "GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730)/ETH(mac_src=080027
d2b6
58,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=080027
d2b6
58,nic=eth1,filter=and ether proto 0x8947)"
# UpperTester port based on UDP
system.utPort.params := "UT_GN(loopback=
1)" #
/UDP(dst_ip=1
7
2.
2
8.1.250,dst_port=1234
6
,src_ip=1
7
2.
2
8.1.253,src_port=12345)/ETH(mac_src=080027d2b658,mac_dst=
0800275E8E00
,eth_type=0800)/PCAP(mac_src=080027d2b658,nic=eth1,filter=and udp port 1234
6
)"
system.utPort.params := "UT_GN(loopback=
0)
/UDP(dst_ip=1
9
2.
16
8.1.250,dst_port=1234
5
,src_ip=1
9
2.
16
8.1.253,src_port=12345)/ETH(mac_src=080027d2b658,mac_dst=
90fd61e61902
,eth_type=0800)/PCAP(mac_src=080027d2b658,nic=eth1,filter=and udp port 1234
5
)"
[EXECUTE]
ItsSecurity_TestCases.TC_SEC_ITSS_SND_CAM_01_BV
...
...
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