Commit 1a10ddf2 authored by Yann Garcia's avatar Yann Garcia
Browse files

Update SSEM implementation of TCs

parent 52df98cd
Loading
Loading
Loading
Loading
+38 −44279

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#pragma once

#include <vector>
#include <string>
#include <map>

  /*!
+6 −6
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ LibItsCommon_Pixits.PX_IUT_STATION_ID := 2533729309
LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB

LibItsCam_Pics.PICS_DANGEROUSGOODS := true
LibItsCam_Pics.PICS_IS_IUT_SECURED := true
LibItsCam_Pics.PICS_IS_IUT_SECURED := false

[LOGGING]
# In this section you can specify the name of the log file and the classes of events
@@ -91,15 +91,15 @@ LogEventTypes:= Yes
#     time_offset : Time offset, used to skip packets with time offset < time_offset
#     save_mode   : Set to 1 to save sent packet, 0 otherwise

system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,sec_db_path=/home/vagrant/tmp/asn1c_cert)/ETH(mac_src=e2b7b30429eb)/PCAP(mac_src=e2b7b30429eb,nic=Wi-Fi,filter=and ether proto 0x8947)"
system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/yanng/tmp/asn1c_cert)/ETH(mac_src=e2b7b30429eb)/PCAP(mac_src=e2b7b30429eb,nic=CEBB111F-D749-4B40-8B4D-DBB060E90987,filter=and ether proto 0x8947)"

#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1)/ETH(mac_src=e2b7b30429eb)/PCAP(mac_src=e2b7b30429eb,nic=tap0,filter=and ether proto 0x8947)" # Nordsys non secured
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,sec_db_path=/home/vagrant/tmp/asn1c_cert)/ETH(mac_src=e2b7b30429eb)/PCAP(mac_src=e2b7b30429eb,nic=tap0,filter=and ether proto 0x8947)" # Nordsys secured
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/vagrant/tmp/asn1c_cert)/UDP(dst_ip=172.28.7.123,src_port=54915,dst_port=54915)" # Savary
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/vagrant/tmp/asn1c_cert)/COMMSIGNIA(mac_src=080027F44E7D,interface_id=2,target_host=192.168.42.2)/UDP(dst_ip=192.168.42.2,src_port=7943,dst_port=6666)"
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=1,sec_db_path=/home/yanng/tmp/asn1c_cert)/ETH(mac_src=e2b7b30429eb)/PCAP(mac_src=e2b7b30429eb,nic=tap0,filter=and ether proto 0x8947)" # Nordsys secured
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/yanng/tmp/asn1c_cert)/UDP(dst_ip=172.28.7.123,src_port=54915,dst_port=54915)" # Savary
#system.camPort.params := "CAM(next_header=btpB,header_type=tsb,header_sub_type=sh)/BTP/GN(ll_address=4C5E0C14D2EA,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,device_mode=1,secured_mode=0,sec_db_path=/home/yanng/tmp/asn1c_cert)/COMMSIGNIA(mac_src=080027F44E7D,interface_id=2,target_host=192.168.42.2)/UDP(dst_ip=192.168.42.2,src_port=7943,dst_port=6666)"

# CAM UpperTester port based on UDP
system.utPort.params := "UT_CAM/UDP(dst_ip=192.168.1.25,src_port=12345)"
system.utPort.params := "UT_CAM/UDP(dst_ip=122.28.1.250,src_port=12345)"

[EXECUTE]
ItsCam_TestCases.TC_CAM_MSD_FMT_BV_01
+1133 −736

File changed.

Preview size limit exceeded, changes collapsed.

+26 −3
Original line number Diff line number Diff line
/**
 *  @author     ETSI / STF517
 *  @author     ETSI STF517 / STF581 / TTF002
 *  @version    $Url: https://oldforge.etsi.org/svn/ITS/tags/20170222_STF527_Final/ttcn/AtsSremSsem/ItsSrem_TestControl.ttcn $
 *              $Id: ItsSrem_TestControl.ttcn 2639 2016-12-14 09:22:07Z garciay $
 *  @desc       Test Control file for TLC
@@ -70,10 +70,33 @@ module ItsSrem_TestControl {
            execute(TC_IS_TLC_MSGF_BV_03());
        }
        
        if (PICS_SSEM_GENERATION) {
        if (PICS_SREM_GENERATION and PICS_SSEM_GENERATION) {
            execute(TC_IS_TLCS_RCV_MSGF_BV_01());
            execute(TC_IS_TLCS_GEN_MSGF_BV_02());
            execute(TC_IS_TLCS_GEN_MSGF_BV_03());
            
            execute(TC_IS_TLC_MSGF_BV_04());
            execute(TC_IS_TLCS_GEN_COM_BV_01());
            if (PICS_SHORT_RANGE) {
              execute(TC_IS_TLCS_GEN_COM_BV_02());
            }
            
            execute(TC_IS_TLCS_GEN_EVUP_BV_01());
            execute(TC_IS_TLCS_GEN_EVUP_BV_02());
            
        }
        
        if (PICS_SSEM_GENERATION and PICS_IS_IUT_SECURED) {
            execute(TC_IS_TLCS_GEN_SEC_BV_01());
            
            execute(TC_IS_TLCS_GEN_SSP_BV_01());
        }
        
        if (PICS_SSEM_GENERATION and PICS_SSEM_TRATEMENT_DELAY) {
          execute(TC_IS_TLCS_GEN_RATE_TI_01());
        }
        
        if (PICS_SSEM_GENERATION and PICS_SSEM_TRANSMISSION_RATE) {
          execute(TC_IS_TLCS_GEN_RATE_TI_02());
        }
        
    }
Loading