summaryrefslogtreecommitdiff
path: root/validation/test/P2P_throughput/config.py
diff options
context:
space:
mode:
authorJean-Philippe NOEL2013-02-06 18:33:34 +0100
committerJean-Philippe NOEL2013-02-13 12:01:52 +0100
commita8b0e35c23a25134afdc73f832a80357381c7e63 (patch)
treeb33e5ac66e2f41c15d5bdff22fc9ac1b360f0edd /validation/test/P2P_throughput/config.py
parent9dbe6954af5a8676ffc2ec7270fb21f5227ff3fe (diff)
validation/test/P2P_throughput: refactor the config template, refs #3760
Diffstat (limited to 'validation/test/P2P_throughput/config.py')
-rw-r--r--validation/test/P2P_throughput/config.py142
1 files changed, 75 insertions, 67 deletions
diff --git a/validation/test/P2P_throughput/config.py b/validation/test/P2P_throughput/config.py
index 28ce6410bf..780a6c0b14 100644
--- a/validation/test/P2P_throughput/config.py
+++ b/validation/test/P2P_throughput/config.py
@@ -1,46 +1,46 @@
{
- #True|False
- #If True, the plugs are restarted before each serie of measurements
- #If False, the plugs are not restarted before a serie of measurements
+ # True|False
+ # If True, the plugs are restarted before each serie of measurements
+ # If False, the plugs are not restarted before a serie of measurements
"restart_plugs":False,
- #If True and if the 2 plugs are MSTAR, the 'vs_get_ce_stats' MME is sent
- #before and after each serie of measurements
- #If False or if one of the 2 plugs is not MSTAR, no MME is sent
+ # If True and if the 2 plugs are MSTAR, the 'vs_get_ce_stats' MME is sent
+ # before and after each serie of measurements
+ # If False or if one of the 2 plugs is not MSTAR, no MME is sent
"get_CE_stats":True,
- #CE stats which difference, before and after each serie of measurements,
- #is displayed in the report
+ # CE stats which difference, before and after each serie of measurements,
+ # is displayed in the report
"displayed_CE_stats": ["BLE",
"Restart BER",
"Restart PB error rate",
"Restart peer request",
"Restart tone map update",
"Restart ber margin update"],
- #True|False
- #If True, the measurements are reset, made and then the report is generated
- #If False, the report is generated from the previous measurements
+ # True|False
+ # If True, the measurements are reset, made and then the report is generated
+ # If False, the report is generated from the previous measurements
"make_measurements":True,
"attenuation":{
"values":numpy.arange(30, 100, 5).tolist(),
"duration_s":20,
- #["a_b_uni"|"b_a_uni"|"bi"]
- #see iperf.measurement_specs() for the meaning of the values
+ # ["a_b_uni"|"b_a_uni"|"bi"]
+ # see iperf.measurement_specs() for the meaning of the values
"curves":["a_b_uni", "b_a_uni", "bi"]},
"SNR": {
"values":numpy.arange(35, -10, -5).tolist(),
"duration_s":20,
- #["a_b_uni"|"b_a_uni"|"bi"]
- #see iperf.measurement_specs() for the meaning of the values
+ # ["a_b_uni"|"b_a_uni"|"bi"]
+ # see iperf.measurement_specs() for the meaning of the values
"curves":["a_b_uni", "b_a_uni"]},
"SJR":{
"values":numpy.arange(0, -55, -5).tolist(),
"duration_s":20,
- #["a_b_uni"]
- #see iperf.measurement_specs() for the meaning of the values
+ # ["a_b_uni"]
+ # see iperf.measurement_specs() for the meaning of the values
"curves":["a_b_uni"]},
"frame_size":{
- #[(frame_size, max_throughput_M)]
- #The frame size and the max throughput includes the Ethernet,
- #IP and TCP/UDP headers
+ # [(frame_size, max_throughput_M)]
+ # The frame size and the max throughput includes the Ethernet,
+ # IP and TCP/UDP headers
"values":[
(68, 18),
(128, 34),
@@ -57,18 +57,18 @@
(2000, 142)
],
"duration_s":20,
- #["a_b_uni"|"b_a_uni"|"bi"]
- #see iperf.measurement_specs() for the meaning of the values
+ # ["a_b_uni"|"b_a_uni"|"bi"]
+ # see iperf.measurement_specs() for the meaning of the values
"curves":["a_b_uni", "b_a_uni", "bi"]
},
"dynamic_jammer":{
- #Must be ["time"]
+ # Must be ["time"]
"values":["time"],
"duration_s":15,
- #["a_b_uni"|"b_a_uni"|"bi"]
- #see iperf.measurement_specs() for the meaning of the values
+ # ["a_b_uni"|"b_a_uni"|"bi"]
+ # see iperf.measurement_specs() for the meaning of the values
"curves":["a_b_uni"]},
- #[("UDP"|"TCP",
+ # [("UDP"|"TCP",
# "attenuation"|"SNR"|"frame_size"|"SJR"|"dynamic_jammer",
# (jammer frequency(MHz), AM form ("SINusoid"|"SQUare"),
# AM frequency (kHz), AM depth(%)) for "SJR",
@@ -94,54 +94,62 @@
("UDP", "dynamic_jammer", (-20, 2, 30, 60)),
("UDP", "dynamic_jammer", (-30, 2, 30, 60))
],
- #Duration after the channel modification during which we generate traffic
- #to let the CE converge
+ # Duration after the channel modification during which we generate traffic
+ # to let the CE converge
"ce_sync_time_s":2,
- #Directory where the report is generated
- "reports_directory":"reports",
- #Bandwidth of the useful signal
- #Typical values are (2, 28) in AV, (2, 35) in EoC-300 and (4, 70) in EoC-500
+ # Directory where the images and the report are generated
+ # It is recommended to indicate in this parameter all the
+ # elements identifying the test, including the software version and the name
+ # of the chipset
+ "reports_directory":"eoc-drv-2.0.13/SPC300",
+ # Bandwidth of the useful signal
+ # Typical values are:
+ # - (2, 28) in AV
+ # - (2, 35) in EoC-300
+ # - (4, 70) in EoC-500
"signal_band_mhz":(1, 38),
- #Power Spectral Density
- #Typical values are -50 in AV and -63 in EoC, but it depends on the board
- "ppsd_dbm_per_hz":-63,
- #We want to reach a very low SJR, but the output power of the
- #waveform generator is limited. Therefore, we set the signal to
- #a low value, actually the lowest for which the throughput
- #would not be impacted without noise. This value should be deduced from
- #the results obtained in the 'attenuation' test. If the curve starts going
- #down at 55 dB and if the minimal attenuation of the bench is 38,
- #sjr_attenuator_attenuation_db must be set to a value lower than
- #(55 - 38) dB = 17 dB and greater than 0 dB, as long as these values are
- #compatible with the range of attenuation of the variable attenuator.
+ # Peak Power Spectral Density
+ # This value depends on the boards and must be carefully measured.
+ # Typical values are given in the test report (see
+ # the section 'PPSD measurement')
+ "ppsd_dbm_per_hz":-48,
+ # We want to reach a very low SJR, but the output power of the
+ # waveform generator is limited. Therefore, we set the signal to
+ # a low value, actually the lowest for which the throughput
+ # would not be impacted without noise. This value should be deduced from
+ # the results obtained in the 'attenuation' test. If the curve starts going
+ # down at 55 dB and if the minimal attenuation of the bench is 38,
+ # sjr_attenuator_attenuation_db must be set to a value lower than
+ # (55 - 38) dB = 17 dB and greater than 0 dB, as long as these values are
+ # compatible with the range of attenuation of the variable attenuator.
"sjr_attenuator_attenuation_db": 29,
- #Attenuation of each AMN
- #In AV, it must normally be set to 6
- #In EoC, no AMN should be used and it should normally be set to 0
+ # Attenuation of each AMN
+ # In AV, it must normally be set to 6
+ # In EoC, no AMN should be used and it should normally be set to 0
"amn_attenuation_db": 0,
- #Signal attenuation on each side of the bench, to avoid any dazzling
- #between the plugs. A typical value is 10.
+ # Signal attenuation on each side of the bench, to avoid any dazzling
+ # between the plugs. A typical value is 10.
"signal_attenuation_db": 10,
- #Attenuation of the T
- #If there is a T, it must normally be set to 6.
- #If there is no T, it must be set to 0.
+ # Attenuation of the T
+ # If there is a T, it must normally be set to 6.
+ # If there is no T, it must be set to 0.
"t_attenuation_db": 6,
- #Waveform attenuation at the output of the generator
+ # Waveform attenuation at the output of the generator
"waveform_attenuation_db": 3,
- #(unidir, bidir) throughput targets for UDP tests
- #Typical values are the following:
- # - (100, 85) in AV with an SPR310 and
- # - (142, 85) for EoC-300 with an SPK300g
- # - (300, 160) for EoC-500 with an SPK300g
+ # (unidir, bidir) throughput targets for UDP tests
+ # Typical values are:
+ # - (100, 85) in AV with an SPR310 and
+ # - (142, 85) for EoC-300 with an SPK300g
+ # - (300, 160) for EoC-500 with an SPK300g
"udp_throughputs_mbits_per_sec": (142, 85),
- #Configuration passed to the 'attenuator' module
+ # Configuration passed to the 'attenuator' module
"attenuator" : {
"name":"att",
"buttons":{1:1, 2:2, 3:4, 4:4, 5:10, 6:20, 7:40, 8:0},
"user":"spidcom",
"host":"tursan"
},
- #Configuration passed to the 'waveform_generator' module
+ # Configuration passed to the 'waveform_generator' module
"waveform_generator" : {
"name":"gbf",
"user":"spidcom",
@@ -149,25 +157,25 @@
"noise_band_mhz":(0, 50),
"power_range_dbm":(-40, 24)
},
- #Configuration passed to the 'power_strip' module
+ # Configuration passed to the 'power_strip' module
"power_strip":{1: ("192.168.0.10", "admin", "anel")},
- #Configuration passed to the 'spc300' module
+ # Configuration passed to the 'spc300' module
"spc300":{
"eth_netmask": "192.168.5.",
- "plc_netmask": "unused",
+ "plc_netmask": None,
"plugs":
{
- (1, 1): ("100", "unused", "unused", "spk300g_eoc_master"),
- (1, 5): ("101", "unused", "unused", "spk300g_eoc_slave")
+ (1, 1): ("100", None, None, "spk300g_eoc_master"),
+ (1, 5): ("101", None, None, "spk300g_eoc_slave")
}
},
- #Configuration passed to the 'non_spc300' module
+ # Configuration passed to the 'non_spc300' module
"non_spc300":{
"plugs":
{
}
},
- #Configuration passed to the 'iperf' module
+ # Configuration passed to the 'iperf' module
"iperf" : {
"host_a":{"non_plc_ip_address":"tursan",
"user":"spidcom",