Commit 1de092ea authored by garciay's avatar garciay

Start validation of TD_AUTO_IOT_DENM_RWW_BV_01

parent 8f370a3f
This diff is collapsed.
module ItsAutoInterop_Pixits {
// Libcommon
import from LibCommon_BasicTypesAndValues all;
// ItsInterop
import from ItsAutoInterop_TypesAndValues all;
/**
* @desc
* Possible values: on-link or off-link
*/
modulepar charstring PX_CAPTURE_MODE := "on-link";
/**
* @desc The PCAP file name containing the ITS G5 captures
*/
modulepar charstring PX_PCAP_FILE_NAME := "g5capture.pcap";
/**
* @desc The PCAP filtering to apply
*/
modulepar charstring PX_PCAP_MIDs_FILTER := "00:00:00:00:00:01;00:00:00:00:00:02";
/**
* @desc The PCAP frame offsets to skip when starting to play the PCAP file
*/
modulepar UInt32 PX_PCAP_START_OFFSET := 0;
/**
* EUTs descriptions
*/
modulepar EutDescriptions PX_EUT_DESC := {
{
'04e548000001'O,
10171,
'04e548000001'O
}, // EUT_1
{
'70b3d5791b48'O,
10031,
'70b3d5791b48'O
}, // EUT_2
{
'000000000003'O,
333,
'000000000003'O
}, // EUT_3
{
'000000000004'O,
444,
'000000000004'O
} // EUT_4
}
/**
* @desc EUT1 identifier to refer to its @see EutDescriptions
*/
modulepar integer PX_EUT1_ID := 0;
/**
* @desc EUT2 identifier to refer to its @see EutDescriptions
*/
modulepar integer PX_EUT2_ID := 1;
/**
* @desc EUT3 identifier to refer to its @see EutDescriptions
*/
modulepar integer PX_EUT3_ID := 2;
/**
* @desc EUT4 identifier to refer to its @see EutDescriptions
*/
modulepar integer PX_EUT4_ID := 3;
/**
* @desc Pre-defined security distance
*/
modulepar float PX_PRE_DEFINED_SECURITY_DISTANCE := 0.0;
/**
* @desc Pre-defined security distance for forward collision risk condition
*/
modulepar float PX_FORWARD_COLLISION_SECURITY_DISTANCE := 0.0;
/**
* @desc Pre-defined security distance for forward collision risk condition
*/
modulepar float PX_LATERAL_COLLISION_SECURITY_DISTANCE := 0.0;
/**
* @desc DENM cause variant
* @see Draft ETSI TS yyy xxx-2 V0.0.87 (2017-03) Table 4: Possible DENM cause values (ETSI EN 302 637-3 [5] Table 10: Cause description and cause code assignment for ETSI use case)
*/
modulepar integer PX_DENM_CAUSE_VA := 1;
/**
* @desc DENM subcause variant
* @see Draft ETSI TS yyy xxx-2 V0.0.87 (2017-03) Table 5: Possible DENM sub-cause values (ETSI EN 302 637-3 [5] Table 10: Cause description and cause code assignment for ETSI use case)
*/
modulepar integer PX_DENM_SUBCAUSE_VA := 1;
} // End of module ItsAutoInterop_Pixits
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -26,41 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast, used for CAM/DENM sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address of the TestSystem : mac_src
# Broadcast address : mac_bc
# Ethernet type for ITS : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
# dst_ip : destination IPv4 address (aa.bb.cc.dd), the IUT
# dst_ip : destination IPv4 address (aa.bb.cc.dd)
# dst_port: destination port
# src_ip : source IPv4 address (aa.bb.cc.dd), the TestSystem
# src_ip : source IPv4 address (aa.bb.cc.dd)
# src_port: source port
# Pcap layer
# Pcap filter : filter
# mac_src : used to exclude TestSystem sent message from the capture
# Online mode :
# Local NIC : nic
# If set, online mode is used
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# 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/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)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -26,39 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast, used for CAM/DENM sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address of the TestSystem : mac_src
# Broadcast address : mac_bc
# Ethernet type for ITS : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
# dst_ip : destination IPv4 address (aa.bb.cc.dd), the IUT
# dst_ip : destination IPv4 address (aa.bb.cc.dd)
# dst_port: destination port
# src_ip : source IPv4 address (aa.bb.cc.dd), the TestSystem
# src_ip : source IPv4 address (aa.bb.cc.dd)
# src_port: source port
# Pcap layer
# Pcap filter : filter
# mac_src : used to exclude TestSystem sent message from the capture
# Online mode :
# Local NIC : nic
# If set, online mode is used
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# 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/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -26,38 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast, used for CAM/DENM sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address: mac_src
# Broadcast address : mac_bc
# Ethernet type : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# 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
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# Local NIC: nic
# If set, online mode is used
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
# 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=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -26,39 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast sending (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address of the TestSystem : mac_src
# Broadcast address : mac_bc
# Ethernet type for ITS : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
# dst_ip : destination IPv4 address (aa.bb.cc.dd), the IUT
# dst_ip : destination IPv4 address (aa.bb.cc.dd)
# dst_port: destination port
# src_ip : source IPv4 address (aa.bb.cc.dd), the TestSystem
# src_ip : source IPv4 address (aa.bb.cc.dd)
# src_port: source port
# Pcap layer
# Pcap filter : filter
# mac_src : used to exclude TestSystem sent message from the capture
# Online mode :
# Local NIC : nic
# If set, online mode is used
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
system.ivimPort.params := "IVIM/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -26,39 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address of the TestSystem : mac_src
# Broadcast address : mac_bc
# Ethernet type for ITS : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
# dst_ip : destination IPv4 address (aa.bb.cc.dd), the IUT
# dst_ip : destination IPv4 address (aa.bb.cc.dd)
# dst_port: destination port
# src_ip : source IPv4 address (aa.bb.cc.dd), the TestSystem
# src_ip : source IPv4 address (aa.bb.cc.dd)
# src_port: source port
# Pcap layer
# Pcap filter : filter
# mac_src : used to exclude TestSystem sent message from the capture
# Online mode :
# Local NIC : nic
# If set, online mode is used
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
system.mapemSpatemPort.params := "MapemSpatem/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -48,40 +48,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast, used for CAM/DENM sending (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast, used for CAM/DENM sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address: mac_src
# Broadcast address : mac_bc
# Ethernet type : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# 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
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# Local NIC: nic
# If set, online mode is used
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
# 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=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -26,39 +26,56 @@ LogEventTypes:= Yes
[TESTPORT_PARAMETERS]
# In this section you can specify parameters that are passed to Test Ports.
# CAM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# header_sub_type : sh (single hop)
# DENM Layer
# next_header : btpA|btpB (overwrite BTP.type)
# header_type : tsb|gbc
# BTP Layer
# type : btpA|btpB
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# distanceA : Distance for the GeoAreaBroadcast (default: 1000m)
# distanceB : Distance for the GeoAreaBroadcast (default: 1000m)
# angle : Anglee for the GeoAreaBroadcast sending (default: 0m)
# beaconing : Set to 1 if GnLayer shall start beaconing (default: 0)
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address of the TestSystem : mac_src
# Broadcast address : mac_bc
# Ethernet type for ITS : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# UDP layer (IP/UDP based on Pcap)
# dst_ip : destination IPv4 address (aa.bb.cc.dd), the IUT
# dst_ip : destination IPv4 address (aa.bb.cc.dd)
# dst_port: destination port
# src_ip : source IPv4 address (aa.bb.cc.dd), the TestSystem
# src_ip : source IPv4 address (aa.bb.cc.dd)
# src_port: source port
# Pcap layer
# Pcap filter : filter
# mac_src : used to exclude TestSystem sent message from the capture
# Online mode :
# Local NIC : nic
# If set, online mode is used
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
system.sremSsemPort.params := "SremSsem/BTP(type=btpB,dst_port=2001,src_port=0)/GN(ll_address=0800275c4959,latitude=43551050,longitude=10298730,distanceA=1500,distanceB=1500,angle=0,expiry=1000,beaconing=0,its_aid=141)/ETH(mac_src=0800275c4959,mac_bc=FFFFFFFFFFFF,eth_type=8947)/PCAP(mac_src=0800275c4959,nic=enp0s8,filter=and ether proto 0x8947)"
......
......@@ -11,8 +11,10 @@ LibItsGeoNetworking_Pics.PICS_GN_LOCAL_GN_ADDR := {
# 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_any
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_btpB
# GeoNetwoking only, no facility layer
#LibItsGeoNetworking_Pixits.PX_GN_UPPER_LAYER := e_any
# With facility layer
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
......@@ -44,31 +46,42 @@ LogEventTypes:= Yes
# 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
# ll_address : GeoNetworking address of the TestSystem
# latitude : latitude of the TestSystem
# longitude : longitude of the TestSystem
# ll_address : GeoNetworking address of the Test System
# latitude : latitude of the Test System
# longitude : longitude of the Test System
# beaconing : Set to 1 if GnLayer shall start beaconing
# Beaconning timer expiry: expiry (ms)
# device_mode : Set to 1 if the layer shall encapsulate upper layer PDU
# Ethernet layer
# Source MAC address: mac_src
# Broadcast address : mac_bc
# Ethernet type : eth_type
# mac_src :Source MAC address
# mac_bc :Broadcast address
# eth_type : Ethernet type
# Commsignia layer
# mac_src : Device MAC address, used to discard packets
# To indicate no filering, use the value 000000000000
# mac_bc : Broadcast address
# eth_type : Ethernet type, used to discard packets
# target_host : Device address
# target_port : Device port
# source_port : Test System port
# interface_id: Interface id, used to discard packets
# tx_power : TX power (dB)
# 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
# mac_src : Source MAC address, used to exclude from capture the acket sent by the Test System
# filter : Pcap filter (compliant with tcpdump syntax)
# Online mode:
# Local NIC: nic
# If set, online mode is used
# nic: Local 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]
# file : File to read
# frame_offset: Frame offset, used to skip packets with frame number < frame_offset
# time_offset : Time offset, used to skip packets with time offset < time_offset
# save_mode : 1 to save sent packet, 0 otherwise
# Single GeoNetworking component port
# GN port using NIC
......@@ -76,7 +89,7 @@ LogEventTypes:= Yes
# GN port using PCAP file
#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=../../../testdata/test_61_cam.pcap,filter=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)/COMMSIGNIA(mac_src=70b3d5f2a1e3,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_1_denm.pcap,filter=and (udp port 30000 or udp port 7943))"
system.geoNetworkingPort.params := "GN(ll_address=F8CAB8083918,latitude=43551050,longitude=10298730,beaconing=0,expiry=1000,its_aid=141)/COMMSIGNIA(mac_src=70b3d5f2a1e3,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_cam.pcap,filter=and (udp port 30000 or udp port 7943))"
# 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=../../../testdata/test_1_cam.pcap,filter=and 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=../../../testdata/test_1_cam.pcap,filter=and ether proto 0x8947,frame_offset=0,save_mode=0)"
......@@ -129,7 +142,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_MultiPort # Use simulator or file to run this test
......@@ -256,7 +269,8 @@ system.utPort.params := "UT_GN/UDP(dst_ip=192.168.56.1,dst_port=12346,src_ip=192
#TestCodec_SecuredMessages.tc_secured_message_signed_1
#TestCodec_SecuredMessages.tc_secured_message_signed_2
# Chain of certificates
TestCodec_ChainOfCertificates.tc_full_check_certificate_1
#TestCodec_ChainOfCertificates.tc_full_check_certificate_1
#TestCodec_ChainOfCertificates.tc_full_check_certificate_2
[MAIN_CONTROLLER]
# The options herein control the behavior of MC.
......